Apr 22

Author: Ingmar Verheij

Synology DS212+

If you want to install additional packages on your Synology NAS you first need to install ipkg. In this post I’ll explain the steps you need to take to install this package on your Synology NAS.

If you don’t have terminal access, please enable that first (link).

First thing you need to do is determine what kind of CPU your Synology NAS has. The easiest way is looking it up in on the Synology Wiki page (What kind of CPU does my NAS have). In case of my DS212+ it’s a Marvell Kirkwood mv6282.

Now you know what CPU your Synology NAS has you can find the appropriate bootstrap.

CPU Bootstrap Package feed
Intel XScale FW IXP420 BB ARM ds101-bootstrap_1.0-4_armeb.xsh link
Intel Atom CPU’s: D410, D425, D510, D525 and D2700 syno-i686-bootstrap_1.2-7_i686.xsh link
8241 PPC ds101-bootstrap_1.0-4_powerpc.xsh link
8533 PPC  / 8543 PPC syno-e500-bootstrap_1.2-7_powerpc.xsh link
mv5281 ARM syno-x07-bootstrap_1.2-7_arm.xsh link
Marvel Kirkwood mv6281 ARM syno-mvkw-bootstrap_1.2-7_arm.xsh link
Marvel Kirkwood mv6282 ARM syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh link

 

Now you can install ipkg in 8 (or 9 steps):

  1. Login to your NAS with username root (same password as admin)
  2. Change the directory to /root : cd /root
  3. Download the bootstrap you found in the above : wget <bootstrap url>
  4. Mark the .xsh script executable : chmod + <name of the bootstap>
  5. Run the .xsh script (this is where you will install the ipkg package): sh <name of the bootstrap>
  6. Remove the .xsh script : rm <name of the bootstrap>
  7. ONLY FOR DSM 4.0 Comment the lines following lines in the file /root/.profile
    • PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
    • export PATH
  8. Reboot the NAS : reboot
  9. Update the ipkg list of available packages : ipkg update

 

Step 3) Download the bootstrapStep 4) Mark the .xsh script executable

Step 5) Run the .xsh scriptStep 6) Remove the .xsh script

Step 7) Comment lines in the .profile fileStep 9) Update the list of available packages


More information about install ipkg can be found here.

 

How to use ipkg

You can install a package using the command : ipkg install <packagename>

Upgrading already installed packages can be done with the command : ipkg upgrade

 

You can list all available packages with : ipkg list. This might produce a long list (and take a long while). If you want to narrow down the list you can search in the results: ipkg list | grep <your filter>

Ingmar Verheij

Ingmar Verheij works for PepperByte as a Senior Consultant. His work consist of designing, migrating and troubleshooting Microsoft and Citrix infrastructures. He is working with technologies like Microsoft RDS, user environment management and (performance) monitoring. Ingmar is in the steering group of the Dutch Citrix User Group (DuCUG). RES Software named Ingmar RES Software Valued Professional in 2014.

More Posts - Website

Follow Me:
TwitterLinkedInGoogle Plus

Comments are closed.