Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi,
I'm a fresh user of the DNS-323 device, with 2 x 1To HDs in RAID 1 mode.
I've installed fun_plug 0.5, lighttpd and php, with no others apps (except D-Link BT app).
So, it's working great, but when I reboot the device, the http access (on original port 8080) in not working anymore. I don't understand why.... sorry, I'm newbie in unix system.
I can confirm that in the /ffp/start/ dir, the (unmodified) file lighttpd.sh is present
in /ffp/etc/ dir, the lighttpd.conf is present too, installed like this :
# cd /ffp/etc
# cp examples/lighttpd.conf .
To start the lighttpd, I need to connect throw PuTTY to manually run the server :
# sh /ffp/start/lighttpd.sh start
Everything looks like to start at every reboot of the unit, except lighttpd .... so why?
I find this forum really great and I hope someone coulde help, because after many search in the forum, I havent't found responses that could help me.
Bye
Last edited by sil51 (2009-04-26 05:02:12)
Offline
sil51 wrote:
To start the lightffp, I need to connect throw PuTTY to manually run the server :
# sh /ffp/start/lighttpd.sh start
Everything look like to start at every reboot of the unit, except lighttpd .... so why?
Sounds like the executable bit on the lighttpd.sh file is not set. Try this;
cd /ffp/start
chmod +x lighttpd.sh
Offline
sil51 wrote:
Everything look like to start at every reboot of the unit, except lighttpd .... so why?
@rcblackwell has almost certainly identified your problem. Don't assume that everything in /ffp/start actually runs on boot. hint: look in ffp.log (in the root of your drive) to have a confirmation of what is running on bootup. As has already been suggested the permissions on the script which runs lighttpd are probably not set to execute (run), therefore when you reboot your box the httpd is not running. look up the command 'chmod' either 'man chmod' at your telnet prompt or try a google search for 'chmod manpage' for usage.
Offline
Thank you rcblackwell, you were right, lighttpd.sh needed chmod +x !
luusac, ffp.log returned :
* /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
I'm very newbie in this system, but the log is clear about what start or not, i didn't know that before.
I'm surprised it wasn't executable by default, and not specified in the howto, maybe it is the unix default way.
So I can see that many other *.sh aren't launched, should I change something else from the log below?
Anyway, the lighttpd starts at reboot now, thank you again for you quick help !
Last edited by sil51 (2009-04-26 04:47:45)
Offline
your ffp.log looks normal, only the services/daemons that Fonz has set to execute by default are running - not everybody uses their box as a httpd, so that is why it is disabled by default. It is the same with all of those other scripts that are listed as inactive. The only thing that I would suggest that you do (seeing as you asked) is disable telnet and enable ssh. ssh gives you the same console / command line access as telnet, but does so securely (telnet is insecure - passes username and passwords unencrypted). See the how to for ffp on how to do this.
Offline
luusac wrote:
The only thing that I would suggest that you do (seeing as you asked) is disable telnet and enable ssh. ssh gives you the same console / command line access as telnet, but does so securely (telnet is insecure - passes username and passwords unencrypted). See the how to for ffp on how to do this.
Thanks for the advice, so I'm now logging into the dns with ssh, top security !
Offline