Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
hey everybody,
I have an acer easystore with fun_plug installed. I have the problem that after every restart the root password is gone and I have to login via telnet again to set the password again. I know this is not an acer forum but I hope somebody can help me because there is no easystore community .
I'm doing this:
#/ pxconv
#/ passwd
#/ store.passwd.sh
after that the ssh login works as long as I don't restart the NAS.
ls -al /usr/bin/passwd tells me:
lrwxrwxrwx 1 root root 19 Jul 7 2008 /usr/bin/passwd -> ../../bin/tinylogin
what is tinylogin? Is that right there.
Thanks for the help!!
Offline
tinylogin is a toolbox containing various tools for login management, a bit like busybox.
I suppose the store.passwd.sh script is not sufficient to store the passwd and/or shadow file on your easystore. So you have to
- find out where and how the easystore stores it settings, and write your own store.passwd.sh,
or
- bypass the firmware's storage, and change funplug to restore it from a known place. After having changed the root password, do
cp /etc/passwd /some/known/and/persistant/place/passwd
cp /etc/shadow /some/known/and/persistant/place/shadow
in fun_plug add the lines
cp -f /some/known/and/persistant/place/passwd /etc/passwd
cp -f /some/known/and/persistant/place/shadow /etc/shadow
Offline
Try this store-passwd.sh script instead:
http://nas-tweaks.net/CH3SNAS:Store-passwd.sh
Offline
I think it's the same to me, telnet daemon doesn't start after a reboot (the second reboot, the first one untars the tar and starts telnetd fine).
That's why he couldn't login anymore.
Here is my log:
...
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
* OK
* Running /ffp/etc/fun_plug.init ...
* 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/nfsd.sh inactive
* /ffp/start/ntpd.sh inactive
* /ffp/start/LOGIN.sh inactive
* /ffp/start/telnetd.sh ...
Starting /ffp/sbin/telnetd -l /ffp/bin/sh
* /ffp/start/sshd.sh inactive
* /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
**** fun_plug script for DNS-323 (2008-08-11 tp@fonz.de) ****
Fri Jun 11 18:31:04 CEST 2010
ln -snf /mnt/HD_a2/ffp /ffp
* Running /ffp/etc/fun_plug.init ...
Segmentation fault
* Running /ffp/etc/rc ...
Segmentation fault
* OK
Fonz, am I the only one experiencing this segmentation fault?
Thanks in advance.
Offline