PDA

Bekijk de volledige versie : "programs" not working...



mike123
05-09-2007, 19:55
Hi all,
I have installed and configured the 500gp router, but I can't find for
ex. ipkg (only a shell script ipkg.sh). I can run the script and it's working fine,
but when I for ex. installed mc and try to exec it (/opt/sbin/mc) it just says:
"-sh: mc: not found"
All progs. in /opt/bin or sbin are there, but can't run them at all...

Thanks, Mikael

$ ls -al m*
-rwxr-xr-x 1 root root 467912 Jul 25 08:58 make_printerdef
-rwxr-xr-x 1 root root 465324 Jul 25 08:58 make_smbcodepage
-rwxr-xr-x 1 root root 463420 Jul 25 08:58 make_unicodemap
-rwxr-xr-x 1 root root 741480 Sep 5 21:28 mc
lrwxrwxrwx 1 root root 2 Sep 5 21:28 mcedit -> mc
-rwxr-xr-x 1 root root 5780 Jul 18 04:57 mcmfmt
lrwxrwxrwx 1 root root 2 Sep 5 21:28 mcview -> mc
$ mc
-sh: mc: not found
$ ./mc
-sh: ./mc: not found

-What might be wrong ?
-This is the install, and looks good...
(I must use .sh)
$ ipkg.sh install mc

Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/mc_4.6.1-3_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org[140.211.167.165]:80
mc_4.6.1-3_mipsel.ip 100% |************************************************* ***********| 485 KB 00:00 ETA
Done.
Unpacking mc...Done.
Configuring mc...Done.

KGy
05-09-2007, 20:53
Hi and sorry my english.

You download optware version of mc but your router is not install optware packages. Download it other sources or install ipkg-opt and uclibc-opt packages and mc will run on your system.
Bye,
George

mike123
05-09-2007, 21:20
Hi,
it worked !
Many thanks, Mikael :)