Trankilou : « Comme promis voilà comment je m’en suis sorti pour installer Pyload via ipkg sur mon nas 2101+ »
Étape 1 : Commencer par installer ipkg via le centre de paquet du Synology :
Ajouter une source de paquets (Sam : on suivra ce tutoriel )
Nom: Quadrat.4 (signalé dans cette page récapitulative de paquets pour Nas Synology)
Emplacement: http://packages.quadrat4.de
Puis installer le paquet « Bootstrap Installer »
Redémarrer le Nas après l’installation.
Étape 2 : les préliminaires à l’installation de pyLoad :
- Se connecter en SSH sur le Nas au moyen de putty par exemple (on pourra alors relire le tutoriel d’installation de ipkg sur DS1511+ sur ce site )
- Puis mettre à jour la liste des paquets ipkg :
(Sam : au prompt de la ligne de commande du Nas saisir : )
Syno>ipkg update
il devrait alors afficher des lignes telles que celles-ci :
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/cross
Successfully terminated.
- Puis mettre à jour la liste des paquets installés (je pense que cette étape est optionnelle) (Sam : je le pense aussi et elle est peut être même à éviter… )
Syno>ipkg upgrade Nothing to be done Successfully terminated.
- Puis installer Python
Syno> ipkg install python
l’affichage doit alors s’animer en affichant :
Installing python (2.5-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/python_2.5-1_powerpc.ipk
Installing python25 (2.5.6-2) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/python25_2.5.6-2_powerpc.ipk
Installing readline (6.1-2) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/readline_6.1-2_powerpc.ipk
Installing ncurses (5.7-3) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/ncurses_5.7-3_powerpc.ipk
Installing bzip2 (1.0.6-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/bzip2_1.0.6-1_powerpc.ipk
Installing openssl (0.9.8v-2) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/openssl_0.9.8v-2_powerpc.ipk
Installing libdb (4.2.52-3) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/libdb_4.2.52-3_powerpc.ipk
Installing zlib (1.2.5-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/zlib_1.2.5-1_powerpc.ipk
Installing sqlite (3.7.14.1-1) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/sqlite_3.7.14.1-1_powerpc.ipk
Installing libstdc++ (6.0.3-6) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/libstdc++_6.0.3-6_powerpc.ipk
Installing ncursesw (5.7-2) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/ncursesw_5.7-2_powerpc.ipk
Configuring bzip2
update-alternatives: Linking //opt/bin/bzip2 to /opt/bin/bzip2-bzip2
Configuring libdb
Configuring libstdc++
Configuring ncurses
update-alternatives: Linking //opt/bin/clear to /opt/bin/ncurses-clear
Configuring ncursesw
Configuring openssl
Configuring python
Configuring python25
Configuring readline
Configuring sqlite
Configuring zlib
Successfully terminated.
Attaquons maintenant la partie « purement » pyLoad dans la page suivante.
Salut Sam,
merci d’avoir très fidèlement retranscrit mon tuto dans cet article que tu as su adapter pour les moins avertis.
Bonne continuation, je ne n’hésiterai pas à te faire part de mes prochaines trouvailles.
TrankiLou
coucou merci à vous deux, j’ai une question, est il compatible avec un NAS syno DS213+ ?
Ce n’est pas impossible … mais je n’ai pas de Qoriq pour tester…donc cela peut etre une bonne idée de tester et de nous faire un retour d’expérience ici-même cela complèterait ce tutoriel
… et il y a peu de risque.
salut j’ai cette erreur:
Starting PyLoad
/opt/bin/python: can’t open file ‘/usr/local/pyload/pyLoadCore.py’: [Errno 2] No such file or directory
à l’étape:
- Eventuellement tester le bon fonctionnement du script :
Syno> /usr/local/etc/rc.d/./pyLoadCore.sh start
Que dois je faire ?
merci pour ce super tuto.
A quand le même avec jdownloader ?
Le temps … le temps … le temps…
Bonjour,
Je possede un 213j, en fouillant sur le net j’ai trouvé une combine pour ipkg sur le 213j :
https://github.com/trepmag/ds213j-optware-bootstrap
ipkg a l’air de fonctionner.
j’ai ensuite installé le pyload ipkg, mais cela ne fonctionne pas.
le message d’erreur est different selon que je lance pyLoadCore avec le python syno(2.7) ou celui installé avec ipkg(2.5)
avec python2.5 :
syno>python2.5 /opt/share/pyload/pyLoadCore.py
Segmentation fault (core dumped)
avec le 2.7 syno
Traceback (most recent call last):
File « /opt/share/pyload/pyLoadCore.py », line 48, in
from module.network.RequestFactory import RequestFactory
File « /opt/share/pyload/module/network/RequestFactory.py », line 22, in
from Browser import Browser
File « /opt/share/pyload/module/network/Browser.py », line 6, in
from HTTPRequest import HTTPRequest
File « /opt/share/pyload/module/network/HTTPRequest.py », line 20, in
import pycurl
ImportError: No module named pycurl
les dépendances on l’air d’être toutes installées. sauf pycurl que je ne trouve pas.
une idée?
bonjour,
je possedé un ds213j j’ai installer ipkg a l’aide de ce tuto.
https://github.com/trepmag/ds213j-optware-bootstrap
puis j’ai installer pyload, mais lorsque je le lance (pyLoadCore -s)
j’obtiens ce message :
nas> pyLoadCore -s
Segmentation fault (core dumped)
une idee?