Sometimes you want to install “community” or third party packages on your Synology NAS and they require IPKG (Itsy Package Management System) to be present. Instruction about how to go about this seem to vary and are often specific for the CPU inside your NAS. The easiest method that I’ve found for getting IPKG installed is as follows…
First job is to open an SSH session to the NAS and confirm what type of processor it has. This can be done using the following command:
cat /proc/cpuinfo | grep model
For my DS1513+ it returns:
model: 54 model name: Intel(R) Atom(TM) CPU D2701 @ 2.13GHz model: 54 model name: Intel(R) Atom(TM) CPU D2701 @ 2.13GHz model: 54 model name: Intel(R) Atom(TM) CPU D2701 @ 2.13GHz model: 54 model name: Intel(R) Atom(TM) CPU D2701 @ 2.13GHz
Next you need to dig around the site http://ipkg.nslu2-linux.org/feeds/optware/ to find the correct bootstrap for your architecture. In my case it’s at http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh.
To install it, there are a couple of steps…
1. Within your SSH session, change to a temporary location (note that you will probably need to be logged in as root to do all this)
2. Download the bootstrap script
3. Make the file executable
chmod +x syno-i686-bootstrap_1.2-7_i686.xsh
4. Run the script
5. If it all went well, remove the script
6. Update the package list
Well done, you’re now ready to install custom packages via ipkg.
Michael is a Senior Consultant for Xtravirt. If it's got buttons or flashy lights on it then it'll probably be on his radar. When not "mending computers" (it's sometimes easier than explaining "cloud" to relatives), Michael provides essential education, entertainment and trampoline services to his two children.