Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I'm able to use funpkg when logged in via telnet, but not SSH.
In a previous post, fonz asked another user to check his $PATH, saying he should see:
# whoami root # echo $PATH /ffp/sbin:/usr/sbin:/sbin:/ffp/bin:/usr/bin:/bin
But when I input those commands, I get:
~ # whoami root ~ # echo $PATH /usr/bin:/bin:/usr/sbin:/sbin:/ffp/bin
How do I change $PATH
Will
Offline
Not sure if I can provide a good answer for you, mostly because ffp uses ash as the shell not bash. I ran into similar issues with optware running on top of ffp when I changed the root user default shell from ash to bash. I *think* the answer may be in the /ffp/etc/profile script.
I resorted to creating a file /root/.profile that echoed the new paths into my profile. The catch is that on EVERY login I needed to cd to my home folder and refresh the profile "user@nas323#. .profile" (note the TWO periods).
The /root/.profile file looked as follows
#!/bin/ash
PATH=/opt/bin:$PATH
In your case you'd replace /opt/bin with the missing paths.
Anyone know if there is a file we can create that is read before a user logs in? In bash it was .profile or .bashrc which would both reside in the users home directory.
-May be of some help as you add more paths, you may want to know what file is being executed if there are two on your system-
As a side note I found this VERY useful while using optware. Since ffp and optware both installed a set of core utilities (su, sudo, ash, etc...) you might sometimes wonder when you issue a command what file is being executed. I ened up installing the command "which" then issuing this command to find out what file was being executed.
ls -l `which su` (or whatever file you want to run, replace su). Note the backticks. It will tell you the exact location (and sym link) of the file you are executing.
I cant help you much more. I ended up doing a chroot debain install as I got the FULL core utilities I am used to having in ubuntu, and all dependencie and link issues were resolved.
Offline
Thanks for your help.
I created /ffp/etc/profile, specifying my path and all is well.
Offline