Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I installed FFP 0.5 on my DNS (firmware 1.05) and everything was working fine for a while. I must have done something terribly wrong though in the web interface settings, because now I don't have SSH access to the NAS. In addition, it seems that the FFP scripts aren't working 100% correctly.
When I SSH in as root and enter my password, I get the shell intro but no command prompt:
ssh 192.168.1.101
root@192.168.1.101's password:
BusyBox v1.00-pre1 (2007.12.10-08:03+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
Not only that, but I'm confused why BusyBox is the shell, when I had replaced it with Bash. It's almost like 'root' access is no longer available or the passwd file couldn't get accessed.
I've tried to re-enable the telnet daemon, with no success. chmod'ing the file through ftp denies me access. Also, the minimal fun_plug that contains the telnetd.sh replacement is unable to get untar'ed. I get the following in the ffp.log:
* Installing /mnt/HD_a2/fun_plug.tgz ...
tar: Invalid gzip magic
Here is an excerpt from my ffp.log in case any is interested:
**** fun_plug script for DNS-323 (2008-08-11 tp@fonz.de) ****
Tue Oct 7 19:35:28 GMT 2008
ln -snf /mnt/HD_a2/ffp /ffp
* Installing /mnt/HD_a2/fun_plug.tgz ...
tar: Invalid gzip magic
* Running /ffp/etc/fun_plug.init ...
* Running /ffp/etc/fun_plug.local ...
* Running /ffp/etc/rc ...
* /ffp/start/syslogd.sh inactive
* /ffp/start/SERVERS.sh inactive
* /ffp/start/portmap.sh inactive
* /ffp/start/unfsd.sh inactive
* /ffp/start/cleanboot.sh ...
Setting up cleanboot...
* /ffp/start/nfsd.sh inactive
* /ffp/start/ntpd.sh inactive
* /ffp/start/LOGIN.sh inactive
* /ffp/start/telnetd.sh inactive
* /ffp/start/sshd.sh ...
Starting /ffp/sbin/sshd
* /ffp/start/rsyncd.sh inactive
* /ffp/start/mediatomb.sh inactive
* /ffp/start/kickwebs.sh inactive
* /ffp/start/lighttpd.sh inactive
* /ffp/start/inetd.sh inactive
* OK
Everything seems fine from the log (other than the tar extraction failure). Commands in fun_plug.local aren't getting executed as well.
I'm at a loss at what to do next. Any help would be appreciated.
Last edited by rek075 (2008-10-08 05:14:00)
Offline
Just as update...
I was able to fix my problem I think. When using ssh into NAS, since it was the firmware busybox shell, I had to type 5784468 and press enter to get access. Once in, it seemed that a few things had been messed up. I went through some of the steps shown here when first installing FFP:
http://dns323.kood.org/howto:ffp#the_root_user
I also noticed that my home dir had been changed to /mnt/HD_a2/storage/public. In fact, a bunch of users in the passwd file had this home directory. Strange I thought, since one of the actions I had done in the web interface was set all users ftp access to that folder... I wonder if that caused this screw-up to begin with?
Anyway, things are working now. Thought I'd post this in case anyone else has this problem.
Offline