Bekijk de volledige versie : ASUS WL-500gP mit IPKG-Problemen
gschnedl
12-01-2009, 21:12
Ich möchte gerne eine USB-Steckerleiste mit meinem ASUS-Router betreiben, der wegen dem bequemeren E220-Anschluss mit der aktuellsten Koppel-Firmware versehen ist.
Mir ist das auf einem derartigen Gerät mit Freifunk-Firmware schon gelungen, nur bei diesem zweiten Gerät funktioniert das ipkg install nicht recht, das Gerät beginnt immer mit dem wget ..... aber dann kommen Fehlermeldungen und die Frage, ob ich nicht vielleicht ipkg update machen sollte. Einige ipkg-installs sind zwar schon gelungen - ich weis jetzt nicht mehr wie - aber nun steht die Sache. Außerdem müßte ich libusb installieren und das wird gar nicht gefunden.
Meine Frage: woran könnte das liegen - habe nach Wengi alles nach bestem Wissen gemacht. Auch der USB-Stick ist richtig formatiert und swapt auch.
Könnte man die IPKG-Packete auch von anderer Quelle beziehen (openwrt) - sind sie dann kompatibel?
Bitte um Hilfe Gschnedl
beginnt immer mit dem wget ..... aber dann kommen Fehlermeldungen und die Frage, ob ich nicht vielleicht ipkg update machen sollte.
Hallo,
poste doch mal die Fehlermeldungen. Oder am besten den ganzen Vorgang.
wengi
gschnedl
13-01-2009, 10:39
Hallo Wengi,
danke für die rasche Antwort. Ich wollte jetzt eben alles zusammenstellen für Dich (lsmod, lsusb, dmesg, free, df -h, ps, usw.), dann ist bei ipkg install ..... aber der Vorführeffekt aufgetreten (Gott sei Dank) und die Installation von vier Paketen hat einwandfrei geklappt.
Erklären kann ich mir das Ganze nicht, weil ich nichts anderes getan habe als gestern. Wie die Fehlermeldung genau gelautet hat, weiß ich jetzt nicht mehr, aber "Garbage" ist darin vorgekommen.
Die Sache mit libusb hat sich bei der Installation von sispmctl auch von selbst gelöst. Jetzt muß ich noch schauen, wie ich palantir anstatt der standardmäßigen Kamera-SW verwenden kann, dann fehlen mir nur noch einige USB-Anschlüsse.
Beste Grüße Gschnedl
gschnedl
13-01-2009, 11:04
Hallo wengi,
nach einem reboot klappt es nun wieder nicht. Ich sende daher doch die letzten Zeilen aus putty:
[admin@WL-500gP root]$
[admin@WL-500gP root]$ ipkg list_installed
coreutils - 6.12-2 - Bunch of heavyweight *nix core utilities
cron - 4.1-7 - Standard vixie cron, with cron.d addition
findutils - 4.2.32-1 - File finding utilities
ipkg-opt - 0.99.163-10 - The Itsy Package Manager
less - 418-1 - Less file browser
ncurses - 5.7-1 - NCurses libraries
ncursesw - 5.7-1 - NCurses libraries with wide char support.
uclibc-opt - 0.9.28-13 - micro C library for embedded Linux systems
Successfully terminated.
[admin@WL-500gP root]$
[admin@WL-500gP root]$ ipkg install sispmctl
Installing sispmctl (2.7-1) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/sispmctl_2.7-1_mipsel.ipk
Installing libusb (0.1.12-1) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/libusb_0.1.12-1_mipsel.ipk
Configuring libusb
Configuring sispmctl
Successfully terminated.
[admin@WL-500gP root]$ ipkg install digitemp
Installing digitemp (3.6.0-1) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/digitemp_3.6.0-1_mipsel.ipk
Configuring digitemp
Successfully terminated.
[admin@WL-500gP root]$ ipkg install palantir
Installing palantir (2.6-1) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/palantir_2.6-1_mipsel.ipk
Installing libjpeg (6b-2) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/libjpeg_6b-2_mipsel.ipk
Configuring libjpeg
Configuring palantir
Successfully terminated.
[admin@WL-500gP root]$ ipkg install esound
Installing esound (0.2.38-1) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/esound_0.2.38-1_mipsel.ipk
Installing audiofile (0.2.6-6) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/audiofile_0.2.6-6_mipsel.ipk
Configuring audiofile
Configuring esound
Successfully terminated.
[admin@WL-500gP root]$ ipkg list_installed
audiofile - 0.2.6-6 - Misc Audio Libraries.
coreutils - 6.12-2 - Bunch of heavyweight *nix core utilities
cron - 4.1-7 - Standard vixie cron, with cron.d addition
digitemp - 3.6.0-1 - Reads 1-Wire Temperature sensor (http://www.digitemp.com)
esound - 0.2.38-1 - The Enlighted Sound Daemon.
findutils - 4.2.32-1 - File finding utilities
ipkg-opt - 0.99.163-10 - The Itsy Package Manager
less - 418-1 - Less file browser
libjpeg - 6b-2 - collection of jpeg tools
libusb - 0.1.12-1 - Library for interfacing to the USB subsystem.
ncurses - 5.7-1 - NCurses libraries
ncursesw - 5.7-1 - NCurses libraries with wide char support.
palantir - 2.6-1 - Multichannel interactive streaming solution
sispmctl - 2.7-1 - Control software for the SiS-PM intiligent power supply
uclibc-opt - 0.9.28-13 - micro C library for embedded Linux systems
Successfully terminated.
[admin@WL-500gP root]$ free
total used free shared buffers
Mem: 30324 21384 8940 0 2620
Swap: 506008 0 506008
Total: 536332 21384 514948
[admin@WL-500gP root]$ reboot
[admin@WL-500gP root]$ free
total used free shared buffers
Mem: 30324 17392 12932 0 2120
Swap: 506008 0 506008
Total: 536332 17392 518940
[admin@WL-500gP root]$ sispmctl
No GEMBIRD SiS-PM found. Check USB connections, please!
[admin@WL-500gP root]$ find . sispmctl
.
sispmctl: No such file or directory
[admin@WL-500gP root]$ find . "sispmctl"
.
sispmctl: No such file or directory
[admin@WL-500gP root]$ ipkg install logrotate
Installing logrotate (3.7.5-2) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/logrotate_3.7.5-2_mipsel.ipk
wget: content-length 458 is garbage
Nothing to be done
An error ocurred, return value: 22.
Collected errors:
ipkg_download: ERROR: Command failed with return value 1: `wget -q -P /opt/ipkg-FGONFK
http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/logrotate_3.7.5-2_mipsel.ipk'
Failed to download logrotate. Perhaps you need to run 'ipkg update'?
[admin@WL-500gP root]$
ping zu google funktioniert aber! Rätselhaft, was kann das sein?
Beste Grüße Gschnedl
http://wl500g.info/showthread.php?t=16306
Probier mal
ipkg update
ipkg remove wget
ipkg install wget
Eigentlich deutet es auf einen Fehler beim Download hin.
Aber das kann _mal_ vorkommen, nicht regelmäßig.
wengi
gschnedl
13-01-2009, 18:12
Hallo wengi,
danke, das dürfte es gewesen sein. Beim remove wurde nichts gefunden, wget aber dann richtig installiert. Könnte daher rühren, daß ich ipkg "russisch" installiert habe, weil noch keine Internetverbindung da war:
[admin@WL-500gP root]$ cd /
[admin@WL-500gP /]$ ipkg update
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/optware
Successfully terminated.
[admin@WL-500gP /]$ ipkg remove wget
No packages removed.
Nothing to be done
Successfully terminated.
[admin@WL-500gP /]$ ipkg install wget
Installing wget (1.11.4-1) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/wget_1.11.4-1_mipsel.ipk
Configuring wget
Successfully terminated.
[admin@WL-500gP /]$ ipkg install logrotate
Installing logrotate (3.7.5-2) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/logrotate_3.7.5-2_mipsel.ipk
Installing popt (1.14-1) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/popt_1.14-1_mipsel.ipk
Configuring logrotate
Configuring popt
Successfully terminated.
[admin@WL-500gP /]$
Nochmals herzlichen Dank!
Gschnedl
Hi,
Wenn wget noch nicht installiert war wird wget von derf busybox verwendet.
Die beiden wgets verhalten sich ab und zu unterschiedlich.
Daher vielleicht die sporadischen Fehler des busybox wgets.
Bei mir ist auch das extra wget installiert.
wengi