Aller au contenu

Featured Replies

Posté(e)

Bonjour,

Je tente désespérément d'installer pyload, ce qui passe par bootstrap.

J'ai installé via le centre de paquet le bootstrap installer de http://packages.quadrat4.de

Mais au reboot, en ssh, le ipkg est introuvable.

Il n'y a aucun dossier bootsrap...

Bref, je n'y comprend rien.

Auriez-vous des idées ?

Posté(e)

Le $PATH est surement pas à jour.

Tu trouveras pas mal de post détaillant comment le mettre à jour :)

Posté(e)

Le dossier d'installation de IPKG est /opt

Tu peux essayer avec

/opt/bin/ipkg
Posté(e)
  • Auteur

Merci.

J'avais déjà regardé. Il n'y apas d'ipkg dans /opt/bin/ipkg.

Le paquet Bootstrap Installer apparait comme installé dans le centre de paquet. J'ai rebooté et désintallé puis réinstallé et rebboter mais toujours pas d'IPKG.

POur le DS 413 en DSM 4.2, peut on installer directement en ssh bootstrap sans passer par http://packages.quadrat4.de et le centre de paquets ? j'ai l'impression que le problème vient de là.

Merci de vos lumières !

Posté(e)
  • Auteur

Voici où j'en suis :

DiskStation> /opt/bin/ipkg
-ash: /opt/bin/ipkg: not found
DiskStation> cd /opt/bin/ipkg
-ash: cd: can't cd to /opt/bin/ipkg
DiskStation> cd /opt
DiskStation> cd /bin
DiskStation> dir
drwxr-xr-x 2 root root 4096 Mar 1 07:59 .
drwxr-xr-x 22 root root 4096 Mar 1 09:16 ..
lrwxrwxrwx 1 root root 7 Mar 1 07:59 ash -> busybox
-rwxr-xr-x 1 root root 1647204 Jan 10 05:04 busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 cat -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 catv -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 chgrp -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 chmod -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 chown -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 cp -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 date -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 dd -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 df -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 dmesg -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 dnsdomainname -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 echo -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 egrep -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 false -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 fgrep -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 get_key_value -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 getopt -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 grep -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 gunzip -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 gzip -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 hostname -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 ip -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 ipcalc -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 kill -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 killps -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 ln -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 login -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 ls -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 mkdir -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 mknod -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 more -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 mount -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 mv -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 netstat -> busybox
-rwxr-xr-x 1 root root 117320 Jan 10 05:04 ntfs-3g
-rwxr-xr-x 1 root root 5948 Jan 10 05:04 ntfs-3g.probe
lrwxrwxrwx 1 root root 7 Mar 1 07:59 pidof -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 ping -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 ping6 -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 ps -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 pwd -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 rm -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 rmdir -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 run-parts -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 sed -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 sh -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 sleep -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 stat -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 stty -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 su -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 sync -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 synodd -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 tar -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 touch -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 true -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 umount -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 uname -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 usleep -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 vi -> busybox
lrwxrwxrwx 1 root root 7 Mar 1 07:59 zcat -> busybox
DiskStation> edit /etc/profile
-ash: edit: not found
DiskStation> vi /etc/profile
#/etc/profile: system-wide .profile file for ash.
umask 022
PATH=/opt/bin:/opt/sbin/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bi
export PATH
#This fixes the backspace when telnetting in.
#if [ "$TERM" != "linux" ]; then
# stty erase
#fi
PGDATA=/var/service/pgsql
export PGDATA
TERM=${TERM:-cons25}
export TERM
PAGER=more
export PAGER
PS1="`hostname`> "
alias dir="ls -al"
DiskStation> ipkg update
-ash: ipkg: not found
DiskStation>
Posté(e)
  • Auteur

merci.

Quand je fais

vi /etc/rc.local le dossier s'ouvre mais est vide. C'est normal ? (sous la racine ou volume 1 d'ailleurs)

Voilà ce que j'ai :

DiskStation> dir
drwxr-xr-x 18 root root 4096 Mar 2 16:10 .
drwxr-xr-x 22 root root 4096 Mar 1 23:07 ..
-rw-r--r-- 1 root root 27 Mar 1 07:59 TZ
-rwxr-xr-x 1 root root 94 Jan 10 05:04 VERSION
-rw-r--r-- 1 root root 95 Mar 1 08:05 crontab
-rwxr-xr-x 1 root root 284 Mar 1 08:18 ddns.conf
-rwxr-xr-x 1 root root 3150 Jan 10 05:04 ddns_provider.conf
-rw-rw-rw- 1 root root 2 Mar 1 08:20 deepsleep_poweron.conf
drwxr-xr-x 2 root root 4096 Mar 1 07:59 defaults
drwxr-xr-x 2 root root 4096 Mar 1 23:07 dhcpc
-rw------- 1 root root 616 Mar 2 00:39 exports
-rw------- 1 root root 826 Mar 2 00:39 exports_map
drwxr-xr-x 2 root root 4096 Mar 1 14:36 firewall
-rw-r--r-- 1 root root 157 Mar 1 23:07 fstab
-rw-r--r-- 1 root root 27 Jan 9 13:46 ftpusers
drwxr-xr-x 3 root root 4096 Mar 1 07:59 fw_security
-rw-r--r-- 1 root root 194 Mar 2 01:08 group
-rw-r--r-- 1 root root 171 Jan 9 13:46 group.cps
-rw-r--r-- 1 root root 70 Mar 2 01:08 group_desc
-rw-r--r-- 1 root root 17 Jan 9 13:46 host.conf
drwxr-xr-x 3 root root 4096 Mar 1 07:59 hostapd
-rw-r--r-- 1 root root 171 Mar 1 23:07 hosts
-rw-r--r-- 1 root root 161 Jan 9 13:46 hosts.allow
-rw-r--r-- 1 root root 347 Jan 9 13:46 hosts.deny
-rwxr-xr-x 1 root root 3580 Jan 10 05:04 idmapd.conf
-rw-r--r-- 1 root root 209 Mar 1 23:08 inetd.conf
-rwxr-xr-x 1 root root 5235 Jan 9 13:46 installer.sh
drwxr-xr-x 2 root root 4096 Mar 1 07:59 iscsi
-rw-r--r-- 1 root root 2917 Mar 1 07:59 localtime
drwxr-xr-x 5 root root 4096 Mar 1 07:59 lvm
-rwxr-xr-x 1 root root 839 Jan 10 05:04 mke2fs.conf
-rw-r--r-- 1 root root 322 Mar 1 23:08 mtab
-rw-r--r-- 1 root root 70 Mar 1 08:33 myds.conf
-rwxr-xr-x 1 root root 767 Jan 10 05:04 netconfig
-rwxr-xr-x 1 root root 2485 Jan 9 13:46 newdisk.sh
-rw-r--r-- 1 root root 283 Jan 9 13:46 nsswitch.conf
-rw-r--r-- 1 root root 299 Jan 10 05:06 nsswitch.conf.domain
-rw-r--r-- 1 root root 283 Jan 10 05:06 nsswitch.conf.workgroup
-rwxr-xr-x 1 root root 431 Jan 10 05:04 ntp.conf
-rwxr-xr-x 1 root root 78 Jan 10 05:04 ntp.conf.pool
drwxr-xr-x 2 root root 4096 Mar 1 07:59 pam.d
-rw-r--r-- 1 root root 622 Mar 2 01:08 passwd
drwxr-xr-x 3 root root 4096 Mar 1 07:59 portforward
drwxr-xr-x 2 root root 4096 Mar 1 07:59 ppp
-rw-r--r-- 1 root root 469 Mar 1 13:41 profile
-rw-r--r-- 1 root root 398 Jan 9 13:46 protocols
-rwxr-xr-x 1 root root 19551 Jan 9 13:46 rc
-rwxr-xr-x 1 root root 33465 Jan 9 13:46 rc.network
-rwxr-xr-x 1 root root 332 Jan 9 13:46 rc.network_routing
-rwxr-xr-x 1 root root 4114 Jan 9 13:46 rc.scanusbdev
-rwxr-xr-x 1 root root 16001 Jan 10 05:04 rc.subr
-rwxr-xr-x 1 root root 5145 Jan 9 13:46 rc.volume
-rw-r--r-- 1 root root 40 Mar 1 07:59 resolv.conf
-rw-r--r-- 1 root root 332 Mar 1 08:07 rsyncd.conf
-rw-r----- 1 root smmsp 29 Mar 1 08:07 rsyncd.secrets
-rw-r--r-- 1 root root 149 Jan 9 13:46 securetty
drwxr-xr-x 2 root root 4096 Mar 1 07:59 security
-rw-r--r-- 1 root root 20216 Jan 9 13:46 services
-rw------- 1 root root 402 Mar 2 01:08 shadow
-rw-r--r-- 1 root root 98 Jan 9 13:46 shells
drwx------ 2 root root 4096 Mar 1 23:07 space
drwxr-xr-x 2 root root 4096 Mar 1 08:00 ssh
-rw-r--r-- 1 root root 917 Jan 10 05:04 support_ssd.db
-rw-r--r-- 1 root root 0 Mar 2 01:08 synoappprivilege.conf
-rw------- 1 root root 5120 Mar 2 01:04 synoautoblock.db
-rwxr-xr-x 1 root root 8592 Jan 10 05:04 synogrinst.sh
-rw-r--r-- 1 root root 5187 Mar 2 00:39 synoinfo.conf
-rw-r--r-- 1 root root 17 Mar 1 07:59 synolocalbkp.conf
-rw------- 1 root root 474 Mar 1 07:59 synolog.conf
-rw-r--r-- 1 root root 0 Jan 10 05:04 synonetbkp.conf
-rwxr-xr-x 1 root root 310 Jan 10 05:04 synopackageslimit.conf
-rwxr-xr-x 1 root root 294 Jan 10 05:04 synosyslog.conf
-rw-r--r-- 1 root root 105 Mar 2 01:08 synouser.conf
drwxr-xr-x 5 root root 4096 Mar 1 23:07 sysconfig
-rw-r--r-- 1 root root 15 Jan 10 05:04 sysctl.conf
-rw-r--r-- 1 root root 213 Jan 9 13:46 syslog.deny
drwxr-xr-x 2 root root 4096 Mar 1 07:59 tc
-rw-r--r-- 1 root root 2773 Jan 9 13:46 termcap
-rw-r--r-- 1 root root 288 Jan 10 05:04 tunnel_broker_list.conf
-rwxr-xr-x 1 root root 9918 Jan 9 13:46 upgrade.sh
drwxr-xr-x 2 root root 4096 Mar 1 07:59 wide-dhcpv6
-rw-r--r-- 1 root root 29 Mar 1 23:07 yp.conf
-rw-r--r-- 1 root root 29 Mar 1 07:59 yp.conf.sv
DiskStation> vi etc/rc.local
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
- etc/rc.local 1/1 100%
Posté(e)

Un affichage des résultats encadrés des balises code et /code (entourées de crochets) serait plus lisible

Modifié par DjMomo

Posté(e)
  • Auteur

C'est vrai que c'est pas trop lisible. Désolé mais je sais pas comment faire.

C'était pour montrer que je n'avais rien à éditer dans le dossier etc/rc.local

Modifié par cecholda

Posté(e)

C'est vrai que c'est pas trop lisible. Désolé mais je sais pas comment faire.

C'était pour montrer que je n'avais rien à éditer dans le dossier etc/rc.local

Pour cela, le résultat d'un simple "ls -l /etc/rc.local" aurait été quand plus succint... <_<

Posté(e)

C'est très gentil de m'aider sur la forme.

Personne pour le fond ?

Ben en donnant le résultat de "ls -l /etc/rc.local" on pourrait déja savoir si le fichier existe ou si il a été effacé.

Posté(e)
  • Auteur

Ah ok. Voilà...

DiskStation> ls -l /etc/rc.local
ls: /etc/rc.local: No such file or directory

Modifié par cecholda

Posté(e)

Voila, donc tu as probablement effacé /etc/rc.local sans le vouloir.

Contente-toi d'y mettre les deux lignes suivantes:

mkdir -p /opt
mount -o bind /volume1/@optware /opt 

ensuite rend-le script éxécutable:

chmod +x /etc/rc.local

et enfin exécute-le (pour ne pas avoir a rebooter):

/etc/rc.local
(A moins que ce bootstrap IPKG de chez quadrat.de utilise des chemins différents et un autre script de démarrage, mais commme son auteur ne juge pas utile de mettre en ligne la moindre documentation sur son site on en est réduit à essayer un peu en tatonnant.)
Posté(e)
  • Auteur

J'ai un problème ...

Comment créer /etc/rc.local ?

DiskStation> cd /volume1
DiskStation> mkdir -p /opt
DiskStation> mount -o bind /volume1/@optware /opt
DiskStation> chmod +x /etc/rc.local
chmod: /etc/rc.local: No such file or directory
Posté(e)

J'ai un problème ...

Comment créer /etc/rc.local ?

Ben .. avec "vi" comme tu avais commencé à faire !

Posté(e)
  • Auteur

Ok c'est fait, mais...

DiskStation> chmod +x /etc/rc.local
DiskStation> /etc/rc.local
DiskStation> ipkg install wget tesseract-ocr tesseract-ocr-lang-eng ossp-js unra
r
/opt/bin/ipkg: line 1: syntax error: unexpected "("
DiskStation> ipkg update
/opt/bin/ipkg: line 1: syntax error: unexpected "("
Posté(e)

hum...

c'est créé à l'installation du bootstrap normalement...

ou bien il est ailleur le rc.local,

ou bien l'install a foiré.

Posté(e)

DiskStation> ipkg install wget

C'est toi qui a tapé çà?

Posté(e)
  • Auteur

Ouiap pourtant j'ai désinstallé et réinstallé le paquet plusieurs fois...

Y'a pas moyen d'installer le bon bootstrap directement sans passer par le centre de paquets ?

Je trouve pas le prog correspondant au DS 413

http://www.synology-wiki.de/index.php/Welchen_Prozessortyp_besitzt_mein_System%3F



C'est toi qui a tapé çà?

Oui.

Selon,

http://www.synology-wiki.de/index.php/PyLoad

Posté(e)

DiskStation> ipkg install wget tesseract-ocr tesseract-ocr-lang-eng ossp-js unra

r

/opt/bin/ipkg: line 1: syntax error: unexpected "("

DiskStation> ipkg update

/opt/bin/ipkg: line 1: syntax error: unexpected "("

Cela semblerait indiquer que l'optware installé n'est pas celui pour ton architecture.

C'est ennuyeux car la seule source connue jusqu'ici de bootstrap ipkg pour cette architecture quoriq utilisée par le DS413 est ce mystérieux http://packages.quadrat4.de/ (pas de forum, pas de "qui sommes nous", juste un email ...)

Posté(e)
  • Auteur

Exactement.

Et y'a pas beaucoup d'éléments sur la toile pour me faire penser qu'en 4.2 sur DS413 on arrive à installer bootstrap...

Posté(e)

Exactement.

Et y'a pas beaucoup d'éléments sur la toile pour me faire penser qu'en 4.2 sur DS413 on arrive à installer bootstrap...

Tu peux toujours tenter de contacter le mainteneur de quadrat4.de, il donne un mail sur la page http://packages.quadrat4.de/
Posté(e)

Sans aucune garantie, il est possible que le bootstrap pour les modèles PowerPC plus ancien soit compatible avec le DS413

Mais il va falloir plutot choisir l'installation à l'ancienne (en ligne de commande)

le bootstrap est ici:

http://ipkg.nslu2-linux.org/feeds/optware/syno-e500/cross/unstable/syno-e500-bootstrap_1.2-7_powerpc.xsh

et suivre ensuite un tuto pas trop vieux

Mais commence par desinstaller le package de chez quadrat avant.

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.