Hello all,
I am not able to run any programs installed by ipkg. I can see the program files in /opt/bin and /opt/sbin, and can 'cat' their contents, or copy them to other places, but whenever I try to execute one of them, sh returns a 'not found' message.
Code:
[admin@WL500 sbin]$ pwd
/opt/sbin
[admin@WL500 sbin]$ ls -al
drwxr-xr-x 2 admin root 4096 Jul 13 10:39 .
drwxr-xr-x 11 admin root 4096 Nov 13 2010 ..
-rwxr-xr-x 1 admin root 72168 Oct 20 2010 cron
-rwxr-xr-x 1 admin root 373004 Dec 1 2010 privoxy
[admin@WL500 sbin]$ cron
-sh: cron: not found
[admin@WL500 sbin]$ ./cron
-sh: ./cron: not found
This is on a WL-500gPv2, running firmware version 1.9.2.7-rtn-r3073 which I built from source. I made one small modification to the source to change a few parameters that get passed to pppd, but that is the only change I made. opt is mounted from a USB disc, and appears to be working fine in all other respects.
Any thoughts ?