Ipkg ds109

Status
Für weitere Antworten geschlossen.

fenris79

Benutzer
Mitglied seit
05. Mai 2008
Beiträge
78
Punkte für Reaktionen
0
Punkte
6
Servus

Hab eine DS109 und versuche über PuTTY und SSH verbindung IPKG zu installieren, leider kommt eine Fehlermeldung bei der installation.

Info:
bin als Admin angemeldet
Hab blöderweise am Anfang das falsche IPKG verwendet syno-x07-bootstrap_1.2-7_arm.xsh jetzt hab ich das richtige syno-mvkw-bootstrap_1.2-7_arm.xsh


Rich (BBCode):
DiskStation> sh syno-mvkw-bootstrap_1.2-7_arm.xsh
Optware Bootstrap for syno-mvkw.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
bootstrap/ipkg.sh
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
1232+1 records in
1232+1 records out
Creating temporary ipkg repository...
Installing optware-bootstrap package...
Unpacking optware-bootstrap.ipk...Done.
Configuring optware-bootstrap.ipk...mkdir: Cannot create directory `/opt': Permission denied
chmod: /opt: No such file or directory
mount: Mounting /volume1/@optware on /opt failed: No such file or directory
mkdir: Cannot create directory `/opt/': Permission denied
chmod: /opt/etc: No such file or directory
mkdir: Cannot create directory `/opt/': Permission denied
chmod: /opt/var: No such file or directory
mkdir: Cannot create directory `/opt/': Permission denied
chmod: /opt/tmp: No such file or directory
mkdir: Cannot create directory `/opt/': Permission denied
chmod: /opt/lib: No such file or directory
//tmp/ipkg/info/optware-bootstrap.ipk.preinst failed. Aborting installation of optware-bootstrap.ipk
Installing ipkg...
Unpacking ipkg-opt.ipk...Done.
Configuring ipkg-opt.ipk...tar: Cannot create directory `./opt': Permission denied
tar: Cannot create directory `./opt/': Permission denied
tar: ./opt/bin/ipkg: No such file or directory
Done.
Removing temporary ipkg repository...
Installing wget...
bootstrap.sh: bootstrap.sh: 55: /opt/bin/ipkg: not found


BusyBox v1.1.0 (2009.11.12-17:45+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

DiskStation> ipkg update
/bin/sh: ipkg: not found


Rich (BBCode):
DiskStation> sh syno-mvkw-bootstrap_1.2-7_arm.xsh
Optware Bootstrap for syno-mvkw.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
bootstrap/ipkg.sh
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
1232+1 records in
1232+1 records out
Backup your configuration settings, then type:
  rm -rf /volume1/@optware hilft leider auch nicht
  rm -rf /usr/lib/ipkg hilft leider auch nicht
This will remove all existing optware packages.

You must *reboot* and then restart the bootstrap script.


BusyBox v1.1.0 (2009.11.12-17:45+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.


*reboot* was ist damit gemeint?
 

Matthieu

Benutzer
Mitglied seit
03. Nov 2008
Beiträge
13.222
Punkte für Reaktionen
88
Punkte
344
Du musst dich als root anmelden. Steht aber glaube ich auch so in der Anleitung ...

MfG Matthieu
 

thedude

Benutzer
Mitglied seit
30. Nov 2009
Beiträge
2.244
Punkte für Reaktionen
2
Punkte
84
Yap tut es. Gleich unter Punkt 1:

1. Mit Telnet als root (identisches Passwort wie admin) auf der Synology Station einloggen

Also einfach rebooten (= per DSM die DS neu starten), als root einloggen und dann nochmal der Anleitung folgen.

gruss
dude
 

Newman

Benutzer
Mitglied seit
12. Sep 2008
Beiträge
90
Punkte für Reaktionen
0
Punkte
0
hi ich mach wohl auch was falsch


ich kriege die meldung


Diskstation> sh syno-mvkw-bootstrap_1.2-7_arm.xsh
Optware Bootstrap for syno-mvkw.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
bootstrap/ipkg.sh
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
1232+1 records in
1232+1 records out
Backup your configuration settings, then type:
rm -rf /volume1/@optware
rm -rf /usr/lib/ipkg
This will remove all existing optware packages.

You must *reboot* and then restart the bootstrap script.


BusyBox v1.1.0 (2010.01.25-15:59+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

Diskstation> ipkp update
/bin/sh: ipkp: not found
Diskstation>
 

Matthieu

Benutzer
Mitglied seit
03. Nov 2008
Beiträge
13.222
Punkte für Reaktionen
88
Punkte
344
Was für eine DS hast du denn (Tip: Schreibs entweder in dein Profil, oder noch besser in deine Signatur)?
Bist du als root angemeldet?

MfG Matthieu
 

Newman

Benutzer
Mitglied seit
12. Sep 2008
Beiträge
90
Punkte für Reaktionen
0
Punkte
0
ich hab die ds110j und hab die befehler schon probiert und ein reboot gemacht

rm -rf /volume1/@optware
rm -rf /usr/lib/ipkg

aber es kommt immer noch
 

goetz

Super-Moderator
Teammitglied
Sehr erfahren
Mitglied seit
18. Mrz 2009
Beiträge
14.016
Punkte für Reaktionen
272
Punkte
393
Hallo,
das Vorhandensein von /volume1/@optware ist das Merkmal ob das Script abbricht oder wenn es nicht vorhanden ist weiter macht
Rich (BBCode):
REAL_OPT_DIR=/volume1/@optware

if [ -e "$REAL_OPT_DIR" ] ; then
    echo "Backup your configuration settings, then type:"
    echo "  rm -rf $REAL_OPT_DIR"
    echo "  rm -rf /usr/lib/ipkg"
    echo "This will remove all existing optware packages."
    echo
    echo "You must *reboot* and then restart the bootstrap script."
    exit 1
also stelle sicher, daß /volume1/@optware wirklich gelöscht ist.

Rich (BBCode):
umount /opt
rm -rf /volume1/@optware
rm -rf /usr/lib/ipkg
rm /etc/rc.optware
neu starten und nochmal probieren.

Gruß Götz
 

Newman

Benutzer
Mitglied seit
12. Sep 2008
Beiträge
90
Punkte für Reaktionen
0
Punkte
0
ok ich hab es hin bekommen. vielen dank. es klappt nur nicht aber das wird wohl am pc liegen...
 

Blueyed1

Benutzer
Mitglied seit
11. Feb 2011
Beiträge
10
Punkte für Reaktionen
0
Punkte
0
Hallo,
das Vorhandensein von /volume1/@optware ist das Merkmal ob das Script abbricht oder wenn es nicht vorhanden ist weiter macht
Rich (BBCode):
REAL_OPT_DIR=/volume1/@optware

if [ -e "$REAL_OPT_DIR" ] ; then
    echo "Backup your configuration settings, then type:"
    echo "  rm -rf $REAL_OPT_DIR"
    echo "  rm -rf /usr/lib/ipkg"
    echo "This will remove all existing optware packages."
    echo
    echo "You must *reboot* and then restart the bootstrap script."
    exit 1
also stelle sicher, daß /volume1/@optware wirklich gelöscht ist.

Rich (BBCode):
umount /opt
rm -rf /volume1/@optware
rm -rf /usr/lib/ipkg
rm /etc/rc.optware
neu starten und nochmal probieren.

Gruß Götz


Hallo Götz

Vielleicht bist du derjenige, der mir weiter helfen kann?
Ich glaube, ich habe alles versucht, so ipkg arbeiten, aber kein Glück

In /root/.profile
Rich (BBCode):
DiskStation> vi /root/.profile

umask 022

#PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin
#export PATH

#This fixes the backspace when telnetting in.
#if [ "$TERM" != "linux" ]; then
#        stty erase
#fi

HOME=/root
export HOME

TERM=${TERM:-cons25}
export TERM

PAGER=more
export PAGER

PS1="`hostname`> "

alias dir="ls -al"
- /root/.profile 1/24 4%

umask 022

#PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
#export PATH

#This fixes the backspace when telnetting in.
#if [ "$TERM" != "linux" ]; then
#        stty erase
#fi

HOME=/root
export HOME

TERM=${TERM:-cons25}
export TERM

PAGER=more
export PAGER

PS1="`hostname`> "

alias dir="ls -al"
alias ll="ls -la"

In /etc/profile
Rich (BBCode):
DiskStation> vi /etc/profile
#/etc/profile: system-wide .profile file for ash.

umask 022

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
export PATH
PATH=/opt/bin:/opt/sbin:$PATH
export PATH

#This fixes the backspace when telnetting in.
#if [ "$TERM" != "linux" ]; then
#        stty erase
#fi
PGDATA=/var/services/pgsql
export PGDATA

TERMINFO=/usr/share/terminfo
export TERMINFO

TERM=${TERM:-cons25}
export TERM

PAGER=more
export PAGER

export LC_ALL=en_US.utf8
export LANG=en_US.utf8

PS1="`hostname`> "

alias dir="ls -al"
alias ll="ls -la"

ulimit -c unlimited
~


Und nochmal probier
Rich (BBCode):
umount /opt
rm -rf /volume1/@optware
rm -rf /usr/lib/ipkg
rm /etc/rc.optware

Und dann
Rich (BBCode):
cd /volume1/@tmp
Rich (BBCode):
wget http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/syno-x07-bootstrap_1.2-7_arm.xsh
wget http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/syno-x07-bootstrap_1.2-7_arm.xsh
--2014-05-11 20:23:51-- http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/syno-x07-bootstrap_1.2-7_arm.xsh
Resolving ipkg.nslu2-linux.org... 140.211.169.161
Connecting to ipkg.nslu2-linux.org|140.211.169.161|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 250349 (244K) [text/plain]
Saving to: 'syno-x07-bootstrap_1.2-7_arm.xsh'

100%[======================================================================================================>] 250,349 220KB/s in 1.1s

2014-05-11 20:23:53 (220 KB/s) - 'syno-x07-bootstrap_1.2-7_arm.xsh' saved [250349/250349]

Rich (BBCode):
sh syno-x07-bootstrap_1.2-7_arm.xsh
Optware Bootstrap for syno-x07.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
bootstrap/ipkg.sh
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
1226+1 records in
1226+1 records out
Creating temporary ipkg repository...
Installing optware-bootstrap package...
Unpacking optware-bootstrap.ipk...Done.
Configuring optware-bootstrap.ipk...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...
bootstrap.sh: line 45: /opt/bin/ipkg: not found

Rich (BBCode):
ln -s /volume1/@optware /opt
ipkg update
/bin/sh: ipkg: not found


Ich weiß nicht, wo der Fehler ist, kann aber nicht zu bekommen ipkg zu laufen.
Kannst du mir helfen, danke im Voraus

/Blueyed1
 

goetz

Super-Moderator
Teammitglied
Sehr erfahren
Mitglied seit
18. Mrz 2009
Beiträge
14.016
Punkte für Reaktionen
272
Punkte
393

Blueyed1

Benutzer
Mitglied seit
11. Feb 2011
Beiträge
10
Punkte für Reaktionen
0
Punkte
0
Hallo,
aus Deinen anderen Beiträgen erfährt man, daß Du eine DS211+ hast. Du hast versucht ipkg für eine DS107+ zu installieren, das ist nicht kompatibel.
http://ipkg.nslu2-linux.org/feeds/o...ss/unstable/syno-mvkw-bootstrap_1.2-7_arm.xsh
ist das richtige Paket.
Also noch einmal wie oben ipkg löschen und neu installieren.

Gruß Götz

Vielen Dank für die Hilfe Götz

Du hattest Recht, es ist eine DS211 +.

Ich konnte nicht http://ipkg.nslu2-linux.org/feeds/op..._1.2-7_arm.xsh verwenden, da kam ein CPU-Fehler.
Aber du hast mich in die richtige richtung gerichtet, und ich habe diese Bootstrap statt die ander verwenden
http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc
For Marvel Kirkwood mv6282 ARM models (which are compatible with the mv6281 for as far as we can tell) a modified syno-mvkw-bootstrap_1.2-7_arm.xsh with a bit more relaxed CPU checking: http://web.archive.org/web/20121005...chief/syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh which uses http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/ as its feed.

Jetzt funktioniert wieder ipkg

/Blueyed1
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat