The reference for the first part is at http://swwiki.e-dschungel.de/synology but is in German.
First up we need a package installer, ipkg
Check the Synology device for which cpu it has,
#cat /proc/cpuinfo | grep cpu
Then select the appropriate script
|PowerPC (ppc_85xx, e500v?)||http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/syno-e500-bootstrap_1.2-7_powerpc.xsh|
|Marvell Kirkwood 88F6281, 88F6282, 88FR131 (ARMv5TE Feroceon)||http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/syno-mvkw-bootstrap_1.2-7_arm.xsh|
and get it with
then run it with
This install ipkg, but it is not in the path for the Synology system. To add it to the path:
1. check the path
and this should be there
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin export PATH
extend the path to include our /opt directories with two command lines
# PATH=/opt/bin:/opt/sbin:$PATH # export PATH
Then we can test that ipkg is installed and will run from anywhere with
# ipkgv -v
Should respond with something like
# ipkg version 0.99.163
If you now try to install a package, you will get an error
#ipkg install mc Nothing to be done An error ocurred, return value: 4.
Which is ok, this is expected because the new install does not yet know where to look for ‘mc’
Note: ‘mc’ is just a favourite package of mine, (midnight commander, with the excellent mcedit editor) but you could try any packge you want like ‘nano’, etc.
The final step for installing ipkg is to update the repositories
# ipkg update
Then try again and as ipkg now has a repository to call on, it should find the install package and install it.