Aller au contenu

Probl


Messages recommandés

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 !

Lien vers le commentaire
Partager sur d’autres sites

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>
Lien vers le commentaire
Partager sur d’autres sites

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%
Lien vers le commentaire
Partager sur d’autres sites

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.)
Lien vers le commentaire
Partager sur d’autres sites

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 "("
Lien vers le commentaire
Partager sur d’autres sites

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

Lien vers le commentaire
Partager sur d’autres sites

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 ...)

Lien vers le commentaire
Partager sur d’autres sites

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.

Lien vers le commentaire
Partager sur d’autres sites

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…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

×
×
  • Créer...

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.