How to install IPKG on a Synology NAS

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)

cd /tmp

2. Download the bootstrap script

wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh

3. Make the file executable

 chmod +x syno-i686-bootstrap_1.2-7_i686.xsh

4. Run the script

sh syno-i686-bootstrap_1.2-7_i686.xsh

5. If it all went well, remove the script

rm syno-i686-bootstrap_1.2-7_i686.xsh

6. Update the package list

ipkg update

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.

Comments

  1. Pete says

    Thanks for that – I had exactly the same model it seems – copy and paste and in 1 minute I have the ‘rename’ command 😉

    Cheers,
    Pete

  2. Rob says

    This is great, but how did you identify that that specific .xhs was the one you needed? Identifying my CPU is easy but how do I figure out which bootstrap is needed?

  3. cwp says

    This procedure worked like magic. After installing ipkg, I installed nano on my 713+ immediately.

  4. says

    I want to install a CRM application onto Synology NAS.

    Can you please let me know the process, besides installing IPKG.

    I have this CRM designed on a Bootstrap admin theme..

    Thanks
    Girish

  5. harry says

    Thanks for the link to the table.. like Rob I was kind of confused.
    For those who have an intel CPU in their synology all the models use the same link as the guide.

Leave a Reply

Your email address will not be published. Required fields are marked *