Bekijk de volledige versie : i can't even install ipkg....so bad..

21-06-2007, 03:43
i got a wl500gp yesterday.of course,i reflashed it to oleg's firmware i wanted to add some softs.then the problem came.

i used the guide http://www.wl500g.info/showthread.php?t=5909 (thanks to marcnesium).then i followed the tourists.i used a 2GB flash stick and formatted it to ext3 and linux swap successfully.

At last,i input "ipkg.sh update" and cannot access wl500g.dyndns.org.then i looked for other web to instead for it.http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/ but its list doesn't contain ipkg.so i use http://downloads.openwrt.org/whiterussian/packages/ .first the error is "cannot find //opt/tmp/ipkg..." then i edit the ipkg.conf.i modied it to "dest root /opt" and i can install ipkg.but there's a error "./bin/ipkg read only filesystem"

Downloading http://downloads.openwrt.org/whiterussian/packages/zlib_1.2.2-2_mips
el.ipk ...
Connecting to downloads.openwrt.org[]:80
zlib_1.2.2-2_mipsel. 100% |*****************************| 33996 00:00 ETA
Unpacking zlib...Done.
Configuring zlib...tar: ./usr/lib/libz.so.1.2.2: Read-only file system

Downloading http://downloads.openwrt.org/whiterussian/packages/ipkg_0.99.149-2_m
ipsel.ipk ...
Connecting to downloads.openwrt.org[]:80
ipkg_0.99.149-2_mips 100% |*****************************| 62784 00:00 ETA
Unpacking ipkg...Done.
Configuring ipkg...tar: ./bin/ipkg: Read-only file system
[admin@(none) root]$ ipkg
ipkg ipkg.sh
[admin@(none) root]$ ipkg update
ipkg: can't load library 'libipkg.so.0'
[admin@(none) root]$

then what should i do?

21-06-2007, 04:53
post your ipkg.conf ,please?

21-06-2007, 05:02
Connecting to ipkg.nslu2-linux.org[]:80
ipkg_0.99.154-r4_arm 100% |*****************************| 4168 00:00 ETA
tar: Invalid gzip magic
tar: Short read
ipkg_install_file: ERROR unpacking control.tar.gz from //opt/tmp/ipkg/ipkg_0.99.
ipkg_get_install: ERROR: Failed to install //opt/tmp/ipkg/ipkg_0.99.154-r4_armeb
ipkg_get_install: I'll leave it there for you to try a manual installation
ipkg_get_install: ERROR: Cannot find package -d in /opt/lib/ipkg/lists
ipkg_get_install: Check the spelling and maybe run `ipkg update'.
ipkg_depends: ERROR: Package name /opt contains illegal characters (should be [a
/usr/bin/ipkg.sh: /usr/bin/ipkg.sh: 1182: cannot create /tmp/ipkg/pkg_/opt.insta
lled: Directory nonexistent

21-06-2007, 05:15
I think you shouldn't try to install openwrt packages on the Oleg's fw. They are incompatible fws. The correct content of ipkg.conf for Oleg's is:

src/gz optware http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable
dest /opt/ /

Then install ipkg-opt and uclibc-opt . The rest should be OK.