Installer ipkg sur un NAS Synology DS1010+

Il suffit d’utiliser un script qui fera le travail à notre place. Ce fichier nommé bootstrap va permettre d’installer ipkg sur le NAS.

  • Télécharger le fichier suivant et le mettre sur le NAS dans un dossier partagé. Vous pouvez effectuer le téléchargement depuis le NAS avec Download Station. http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh
  • Se connecter à l’interface web DSM puis ouvrir Panneau de configuration > Terminal, cocher Activer le service SSH pour accéder au NAS en ligne de commandes. J’utiliserais Putty sur mon ordinateur pour accéder en toute sécurité (grâce au SSH) au Terminal du NAS. Après avoir exécuter Putty, renseigner l’adresse IP du NAS puis sélectionner SSH avant de cliquer sur le bouton Open. Utiliser le compte root pour ouvrir une session sur le NAS (le mot de passe de root est le même que le compte admin).
  • Redémarrer le NAS puis se connecter en tant que root
  • Exécuter les commandes suivantes pour que le bootstrap installe ipkg
> cd /volume1/@tmp
> sh /volume1/download/syno-i686-bootstrap_1.2-7_i686.xsh
Optware Bootstrap for syno-i686.
Extracting archive... please wait
bootstrap/bootstrap/bootstrap.shbootstrap/ipkg-opt.ipk
bootstrap/ipkg.shbootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk1215+1 records in1215+1 records out
Creating temporary ipkg repository...
Installing optware-bootstrap package...
Unpacking optware-bootstrap.ipk...
Done.
Configuring optware-bootstrap.ipk...
Modifying /etc/rc.local
Done.
Installing ipkg...
Unpacking ipkg-opt.ipk...
Done.
Configuring ipkg-opt.ipk...
WARNING: can't open config file: /usr/syno/ssl/openssl.cnf
Done.
Removing temporary ipkg repository...
Installing wget...
Installing wget (1.12-2) to root...
Configuring wget
Successfully terminated.
Creating /opt/etc/ipkg/cross-feed.conf...
Setup complete.
> reboot
  • Redémarrer le NAS puis se connecter en tant que root
> ipkg update
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/cross
Successfully terminated.
  • La commande suivante permet de mettre à la dernière version les packages installés
> ipkg upgrade
Nothing to be done
Successfully terminated.
  • La commande suivante permet d’installer le package nommé xxxx
> ipkg install xxxx
  • La commande suivante permet de lister les packages disponibles, xxxx est un package que vous recherchez
> ipkg list
> ipkg list | grep xxxx | more

Source: http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc

Une réflexion sur “Installer ipkg sur un NAS Synology DS1010+

  1. Pingback: Synology Ipkg Optware Installation | Blog de Charles-Henri Hallard

Laisser un commentaire