Here is how to install ipkg on the Synology NAS DS210+.
Check OpenSSL version:
$ openssl version
OpenSSL 1.0.0h 12 Mar 2012
Download the corresponding OpenSSL package:
$ wget http://www.openssl.org/source/openssl-1.0.0h.tar.gz
$ tar zxvf openssl-1.0.0h.tar.gz
$ mkdir -p /usr/syno/ssl
$ cp openssl-1.0.0h/apps/openssl.cnf /usr/syno/ssl
Download and execute the PowerPC bootstrap:
$ wget http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/syno-e500-bootstrap_1.2-7_powerpc.xsh
$ chmod +x syno-e500-bootstrap_1.2-7_powerpc.xsh
$ ./syno-e500-bootstrap_1.2-7_powerpc.xsh
Note: You might have to clean previous installations by removing the /volume1/@optware folder.
You can check what CPU run your NAS by typing:
$ cat /proc/cpuinfo | grep platform
platform : MPC8544 DS # Might be another for you
Optionnaly, change the cross compiled source to the one for your platform (MPC8544 DS for DS210+):
$ sed -i 's/syno-e500/syno1142ppc854x/' /opt/etc/ipkg/cross-feed.conf
Add the ipkg path to /root/.profile and /etc/profile files and reload it:
$ vi /root/.profile
PATH=/opt/bin:/opt/sbin:$PATH
$ source /root/.profile
Update IPKG:
$ ipkg update
Optionnally, you can setup ssh utilities to work (some steps might be missing and might be not the best way of doing it…):
$ ipkg install zlib
$ ipkg install openssl
Installing openssl (0.9.8v-2) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/openssl_0.9.8v-2_powerpc.ipk
$ mkdir ssh_utilities
$ cd ssh_utilities
$ ipkg download openssh
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/openssh_5.9p1-1_powerpc.ipk
Downloaded openssh as ./openssh_5.9p1-1_powerpc.ipk
Successfully terminated.
$ tar zxvf ./openssh_5.9p1-1_powerpc.ipk
$ tar zxvf ./data.tar.gz
$ cp opt/bin/openssh-scp /opt/bin/
$ cp opt/bin/ssh-add /opt/bin
$ cp opt/bin/ssh-agent /opt/bin
$ cp opt/bin/ssh-keyscan /opt/bin
$ cd /opt/bin
$ ln -s openssh-scp scp
$ cd /usr/sbin
$ ln -s /opt/bin/scp
As pointed to by this, web page, it might be interesting to fully install the openssh package…
Thank you for the tutorial. I am stuck at one point though. When I do the $ ./syno-e500-bootstrap_1.2-7_powerpc.xsh I get “Permission denied” ?!
Okay, I got the permission thing fixed I used chmod 777 and then the filename.
Buuuut if I do a ipkg update it simply says “ipkg not found” ?!
Did the bootstrap show any error ?
Do you have the /opt folder and stuff in it ?
The ipkg binary should be in /opt/bin/…