This is just a quick article to recap the process about installing bootstrap (ipkg) on a Synology NAS. This has already been documented plenty of times so I won’t go into the detailed process here. In fact, I am mainly doing this to provide a mirror of the bootstrap file that is necessary for the DS111 (or more generally for any Marvel Kirkwood mv6282 ARM based model).
The following assumes that SSH is enabled and that it is possible to connect to the NAS as root.
ssh root@synology-ipto connect to the Synology as root
cd /volume1/@tmpto go to a tmp folder
wget http://wizjos.endofinternet.net/synology/archief/syno-mvkw-bootstrap_1.2-7_arm-ds111.xshto get the bootstrap. Possible mirrors include
chmod +x syno-mvkw-bootstrap_1.2-7_arm-ds111.xshto make the file executable
sh syno-mvkw-bootstrap_1.2-7_arm-ds111.xshto execute it
rm syno-mvkw-bootstrap_1.2-7_arm-ds111.xshto remove the file (it might be necessary to go back one level with a
ipkg updateto update the list of available packages
ipkg upgradeto upgrade packages with newer version
Note that when bootstraping after a firmware update (i.e. bootstrap was previously installed and then you updated Synology firmware), you might receive some cryptic message like the following:
1 2 3 4 5 6 Backup your configuration settings, then type: rm -rf /volume1/@optware rm -rf /usr/lib/ipkg This will remove all existing optware packages. You must *reboot* and then restart the bootstrap script.
Doing so will remove all packages that you might have installed previously. Considering that this is the same bootstrap file than previously, it should not be necessary to go through a complete re-installation of all packages just because the firmware was updated. So the step 1 to 8 above should be sufficient in most cases. However, if you notice any unusual behavior, make sure that you clean that up.