Mardi 10 mai 2016 (Modifié le Mercredi 2 octobre 2019)

NAS Synology : installer IPKG pour ajouter des applications supplémentaires

How to install IPKG on Synology NAS

Hi, I just wanted to share how I installed IPKG on my DS1019+, since I had trouble finding a complete guide. The process should work the same for other DiskStations.

This topic is relatively new to me, so I probably won't be able to answer any questions. However, here is how to do it:

     Go to the Synology Package Center, click on "Settings" on the top right corner and then click on "package sources".
     Add the source "" (you can choose the name freely, i.e. "CPHub")
     Now close the settings. In the package center on the left go to the "Community" tab.
     Find and install "Easy Bootstrap Installer" from QTip. There is also a GUI Version if you prefer, called "iPKGui", also from QTip.
     IPKG is now installed. The executables are located in "/opt/bin/". You can SSH to your NAS and use it. However, the directory has not yet been added to the  PATH variable, so to use it you would always need to use the full path "/opt/bin/ipkg". 
    You can add the directory to the PATH variable using the following command:

export PATH="$PATH:/opt/bin"

However, this would only add the directory to PATH for the current session. To make the change persistent, you need to edit the "/etc/profile". To do that I used the "nano" editor that I had to install first. Run the following commands:

sudo /opt/bin/ipkg update
sudo /opt/bin/ipkg install nano
sudo nano /etc/profile

Now find the PATH variable. It should look something like this:


At the end of this string, just append ":/opt/bin" (don't forget the colon). Then save and close the file (CTRL + "O", then Enter, then CTRL + "X").

Note that this will not automatically update your PATH for the current session. To do this, you can run:

source /etc/profile

To check wheter it worked, enter the command:

echo $PATH | tr ":" "\n" | nl

You should see the entry for "/opt/bin" there.

Now your all set.

I hope this will help someone.

by Matt mercredi 13 janvier 2016 Web/Tech 2 comments

Installer IPKG

Ouvrir une session SSH sur le NAS

en tant qu’utilisateur admin et basculer en root (mot de passe identique).

ssh -p 57022
sudo -s

On arrive sur le prompt suivant


Installer un gestionnaire de paquet sur le NAS

Identifier le modèle du processeur :

cat /proc/cpuinfo

ce qui nous retourne:

Processor	: Feroceon 88FR131 rev 1 (v5l)
BogoMIPS	: 1192.75
Features	: swp half thumb fastmult edsp 
CPU implementer	: 0x56
CPU architecture: 5TE
CPU variant	: 0x2
CPU part	: 0x131
CPU revision	: 1

Hardware	: Feroceon-KW
Revision	: 0000
Serial		: 0000000000000000

Ensuite, il nous reste à télécharger le bon fichier fichier correspondant à notre processeur. Le wiki Synology allemand existe toujours et nous donne:

On récupère le fichier bootstrap qui va installer ipkg (ici processeur arm Feroceon ):

cd /volume1/@tmp

Les droits et exécution:

chmod +x syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh
sh ./syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh
Optware Bootstrap for syno-mvkw.
Extracting archive... please wait
1227+1 records in
1227+1 records out
251661 bytes (252 kB) copied, 0.101417 s, 2.5 MB/s
Creating temporary ipkg repository...
Installing optware-bootstrap package...
Unpacking optware-bootstrap.ipk...Done.
Configuring optware-bootstrap.ipk...Modifying /etc/rc.local
Installing ipkg...
Unpacking ipkg-opt.ipk...Done.
Configuring ipkg-opt.ipk...Done.
Removing temporary ipkg repository...

On actualise les paquets:

ipkg update 
Updated list of available packages in /opt/lib/ipkg/lists/cross
Successfully terminated.

On vérifie si mise à jour

ipkg upgrade
Nothing to be done
Successfully terminated.

Installer l’éditeur nano :

ipkg install nano

Liste des paquets disponibles :

ipkg list

Installer un paquet:

ipkg install <paquet>

Supprimer un paquet:

ipkg remove <paquet>