February 4, 2010 7:03 AM
updated: February 4, 2010 7:23 AM
cbhyper,
The '-bash: ipkg: command not found' could be several things. I'll need your help to figure that out.
'ipkg' should be at '/opt/bin/ipkg', it needs to be executable and the PATH environment variable needs to point to it. Lets go through the possibilities.
The '/opt' folder could be missing. To find out login and type 'ls -al /opt' The response should look like
-bash-3.2# ls -al /opt
lrwxrwxrwx 1 root root 17 Feb 4 12:25 /opt -> /tmp/mnt_opt/.opt
-bash-3.2#
The '/opt ->' shows that we have a link to the opt folder.
'ipkg' could be missing or not executable - it should be at '/opt/bin/ipkg'. To find out type 'ls -al /opt/bin'. The response should look like
-bash-3.2# ls -al /opt/bin
drwxr-xr-x 2 1000 100 1024 Feb 4 12:24 .
drwxr-xr-x 7 root root 1024 Feb 4 12:40 ..
-rwxr-xr-x 1 1000 100 3236 Aug 23 2008 ipkg
-rwxr-xr-x 1 1000 100 3236 Aug 23 2008 ipkg-opt
-rwxr-xr-x 1 1000 100 4248 Aug 23 2008 update-alternatives
-bash-3.2#
Notice the line with 'ipkg'. The '-rwxr-xr-x' shows it is executable.
The path may not be set right so that bash can't find ipkg. Type "echo $PATH" the response should be
-bash-3.2# echo $PATH
/opt/bin:/opt/sbin:/usr/bin:/usr/sbin:/bin:/sbin
-bash-3.2#
The first part '/opt/bin' shows the path to ipkg is correct.
Lastly, to prove that ipkg can be found, type "ipkg -v". The response should be
-bash-3.2# ipkg -v
ipkg version 0.99.163
-bash-3.2#
Let me know which step fails.