OpenWrt Forum Archive

Topic: nslu2 repository problem

The content of this topic has been archived on 15 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all,

I use the latest kamikaze, brcm-2.4, on my asus wl500gp and as many essential programs are not in this repo, i source http://ipkg.nslu2-linux.org/feeds/optwa … oss/stable for optware. (I also use a usb harddrive mounted on /opt).

So for instance, I installed screen from the nslu2 repo, which installs

root@Zapp:~# ipkg files screen
Package screen (4.0.3-2) is installed on root and has the following files:
/opt/share/screen/utf8encodings/bf
/opt/share/screen/utf8encodings/cd
/opt/share/screen/utf8encodings/cc
/opt/share
/opt/share/screen/utf8encodings/d6
/opt/share/screen/utf8encodings/c8
/opt/share/screen/utf8encodings/c6
/opt/share/screen/utf8encodings/c7
/opt/share/screen/utf8encodings/c4
/opt/share/screen/utf8encodings/c2
/opt/share/screen/utf8encodings/c3
/opt/share/screen/utf8encodings/a1
/opt/bin
/opt/man/man1
/opt/man
/opt/man/man1/screen.1
/opt/info/screen.info-2
/opt/info/screen.info-3
/opt/info/screen.info-1
/opt/info/screen.info-4
/opt/info/screen.info-5
/opt/share/screen/utf8encodings/18
/opt/share/screen/utf8encodings/19
/opt/share/screen/utf8encodings/04
/opt/share/screen/utf8encodings/02
/opt/share/screen/utf8encodings/03
/opt/share/screen/utf8encodings/01
/opt/share/screen
/opt/bin/screen
/opt
/opt/bin/screen-4.0.3
/opt/info/screen.info
/opt/info
/opt/share/screen/utf8encodings

Done.

But, when I try to call it, I get "command not found", even when I ecplicitely specify the correct path, also "which" gives me the right path! What is wrong?

root@Zapp:~# screen
-ash: screen: not found
root@Zapp:~# which screen
/opt/bin/screen
root@Zapp:~# /opt/bin/screen
-ash: /opt/bin/screen: not found
root@Zapp:~# ls -larth /opt/bin/screen*
-rws--x--x    1 root     root       422.9k Feb 25 07:17 /opt/bin/screen-4.0.3
lrwxrwxrwx    1 root     root           12 May 19 16:53 /opt/bin/screen -> screen-4.0.3
root@Zapp:~# /opt/bin/screen-4.0.3
-ash: /opt/bin/screen-4.0.3: not found

TIA!
max

(Last edited by max2k5 on 20 May 2007, 10:40)

Is the problem, that packages from nslu2 don't run on kamikaze but just on white russian?

You probably need all the dependancies also installed into /opt

but you should use openwrt packages

make package/symlinks in the buildroot

is there a openwrt/kamikaze brcm2.4 package for e.g. "screen"?

Probably in the x-wrt repository.

the pre built snapshots are only for the essential packages.

Hmm... another problem, but it still doesn't work...

root@Zapp:~# ipkg install screen
Installing screen (4.0.2-1) to root...
Downloading http://downloads.x-wrt.org/xwrt/kamikaze/brcm-2.4/packages/./screen_4.0.2-1_mipsel.ipk
Configuring screen
Done.
root@Zapp:~# screen 
Cannot find termcap entry for 'xterm'.
root@Zapp:~# 

root@Zapp:~# cat /etc/ipkg.conf
src x-wrt  http://downloads.x-wrt.org/xwrt/kamikaze/brcm-2.4/packages
src snapshots http://openwrt.org/downloads/snapshots/brcm-2.4/packages
dest root /
dest ram /tmp
dest opt /opt

(Last edited by max2k5 on 20 May 2007, 10:39)

Okay, following your link to other repositories, I found this one: http://ipkg.nslu2-linux.org/feeds/optwa … oss/stable

And, actually this one had also screen, and the screen package pulled termcap as a dependancy, so finally now screen works again...

Btw, is this repository supposed to be used with kamikaze/brcm2.4 on asus wl500gp?


Thanks,
max

Sadly i still didn't find a repository with a working version of screen for Kamikaze brcm2.4.
Anyone more lucky than me willing to share the repository URL?

Thanks,
max

For the records, "dtach" can be used as a replacement for "screen", and this package finally works.

max

hi!!

the files from nslu do work on kamikaze...
i run it on brcm-24 kamikaze on an WD-Netcenter (I adopted it wink )

you must install

uclibc-opt


ipkg install uclib-opt

this should work

The discussion might have continued from here.