Tigrou Posted May 19, 2014 Share #1 Posted May 19, 2014 Bonjour Pour réaliser ce tuto je me suis inspiré de ces liens http://synergeek.fr/vmware-tools-sur-xpenology-esxi#comment-10036 http://www.nas-forum.com/forum/topic/25634-r-activer-les-paquet-ipkg-suite-la-mise-jour-dsm-40-beta/ Pour ce faire il vous faudra Putty et etre connecté en SSH compte root en non en Admin Installer le bootstrap d’Optware Accéder en SSH sur le système via Putty Rentrer dans le dossier @tmp cd /volume1/@tmp Télécharger le script wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh Rendre le script exécutable : chmod +x syno-i686-bootstrap_1.2-7_i686.xsh Lancer le script : sh syno-i686-bootstrap_1.2-7_i686.xsh Supprimer le script : rm syno-i686-bootstrap_1.2-7_i686.xsh Mettre à jour les paquets : ipkg update ipkg upgrade Voilà c'est bootstrappé, le problème c'est que depuis la version 4 il faut modifier encore deux fichiers pour qu'a chaque redémarrage ça fonctionne. Toujours en SSH sous Putty en root vi /etc/rc.local Se placer après la ligne #!/bin/sh , taper sur la touche 'i' pour passer en mode édition Ajouter la ligne mount -o bind /volume1/@optware /opt Vous devez obtenir ce fichier #!/bin/sh mount -o bind /volume1/@optware /opt # Optware setup[/left] [ -x /etc/rc.optware ] && /etc/rc.optware start exit 0 Valider et enregistrer en appuyant d'abors sur la touche "Echap" ou "Esc" pour sortir du mode édition, puis taper directement ":wq" sans les guillemets Tapez vi /root/.profile On passe encore en mode "Edition" en appuyant sur le touche"i" Ajouter "/opt/bin:/opt/sbin" sans les guillemets justre après "PATH=" et avant le infos déjà inscrites Vous devais optenir un fichier qui ressenble à ça : PATH=/opt/bin:/opt/sbin/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin Hop comme plus haut, on sort de du mode édition via la touche échape, puis un petit :wq pour quitter et enregistrer la modification Voilà un petit redemarrage du NAS et les services installer avec IPKG avec la MAJ seront de retour Link to comment Share on other sites More sharing options...
Tigrou Posted May 19, 2014 Author Share #2 Posted May 19, 2014 Si vous avez déjà essayer d'installer un bootstrap avant le mieux c'est de repartir sur une base saine en enlevant les fichiers déjà existant. rm -rf /volume1/@optware rm -rf /usr/lib/ipkg Lien http://xpenology.com/forum/viewtopic.php?f=2&t=2564 Link to comment Share on other sites More sharing options...
demdream Posted May 20, 2014 Share #3 Posted May 20, 2014 Merci pour le tuto. Ca fonctionne parfaitement de mon coté aussi sur mon Proliant G7 & DSM5 Me manquait juste screen & lftp pour que tous soit parfait Link to comment Share on other sites More sharing options...
guiz67 Posted May 22, 2014 Share #4 Posted May 22, 2014 Bonjour, je me permets de vous poser une question, le BOOTSTRAP ça sert à quoi ? D'avance merci Link to comment Share on other sites More sharing options...
F5BJR Posted May 22, 2014 Share #5 Posted May 22, 2014 (edited) cela sert à installer des applicatioons sur le "syno" faire ipkg list ->>> donnera ce qu'il est possible de trouvver par exemple: ipkg install gcc ---> compillateur ipkg install make ipkg install patch --- pour le patcheur ipkg install nano --> un petit éditeur ipkg remove wget --> le supprime ipkg install wget-ssl --> installe celui qui permet de télécharger en https Edited May 22, 2014 by Guest Link to comment Share on other sites More sharing options...
guiz67 Posted May 22, 2014 Share #6 Posted May 22, 2014 Merci pour cette réponse. Y a t il une liste des application disponible ? Link to comment Share on other sites More sharing options...
F5BJR Posted May 22, 2014 Share #7 Posted May 22, 2014 ipkg list Link to comment Share on other sites More sharing options...
F5BJR Posted May 22, 2014 Share #8 Posted May 22, 2014 j ai essayé de recompiler un noyau à partir des infos " sancome " et cela ne fonctionne pas https://github.com/sancome/DSM-5.0-4458_dsgpl-4418 erreurs dans le script ( erreur nom du fichier tar zxf synogpl-4418-bromolow_linux-3.x.tar.gz -C ./workspace/ ) aussi linux-3.x-xpenology-4418.patch ne trouve pas quoi patcher !! finalement en "bricolant " j arrive quelque part !!! mais cela ne make rien !! DiskStation-64> make HOSTCC scripts/basic/fixdep Segmentation fault (core dumped) make[2]: *** [scripts/basic/fixdep] Error 139 make[1]: *** [scripts_basic] Error 2 HOSTCC arch/x86/tools/relocs Segmentation fault (core dumped) make[1]: *** [arch/x86/tools/relocs] Error 139 make: *** [archscripts] Error 2 PC Link to comment Share on other sites More sharing options...
ordimans Posted December 21, 2016 Share #9 Posted December 21, 2016 Marche pour DSM 6.0 ? je suis passé par le centre de paquet pour installer gcc & co. Link to comment Share on other sites More sharing options...
Recommended Posts