|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
fuppes initialisationHi
I am new to this forum, and also very limited in my Knowledge of linux, I am hoping some of the more experienced members will be able to help me. I have had the nslu2 for a few years now and I origially bought it to transfer files between my Topfield PVR in the family room and my XP PC in the office, over my home LAN. I managed to get it unslung, and installed ftdp-topfield, and it did that job very well. I have since got an HTPC in the family room and have a direct USB link to the Toppy, so that made nsli2 a bit redundant. I have more recently added a Dell Axim x51v PPC to my collection of toys, and added a wi-fi access point to the network. I thought that now I would be able to add a big HDD to the nslu2, back up my huge music collection onto it, and wi-fi access it using the PPC even when all the other PC's are switched off. Unfortunately, try as I might, I've never managed to map any of the nslu2 shares, to the PPC. So I thought I'd try a upnp server on the nslu2, and not wanting to pay for Twonkeymedia I decided to give fuppes a go, so following the instructions at http://www.nslu2-linux.org/wiki/HowTo/InstallFuppesUPNPMediaServer I installed it quite easily. Now my problem:- I successfully wrote the init script using vi as below and chmod'ed to 755 Init script Put the following in a new file /opt/etc/init.d/S99fuppes and chmod it to 755 NAME=fuppes DAEMON=/opt/bin/fuppes PIDFILE=/opt/var/run/$NAME.pid if [ -n "`pidof $NAME`" ] ; then echo "Stopping $NAME:" killall $NAME else echo "Starting $NAME:" $DAEMON & fi My problem is that when I restart the nslu2, fuppes won't initialise. I know that the script is OK, because if I open a PuTTY session and type /opt/etc/init.d/S99fuppes fuppes will start up OK Also if I type /etc/rc.d/rc.optware-start (which is the script that calls the scripts in /opt/etc/init.d/) fuppes will also start up OK I thought it might be some sort of permissions problem, so chmod'ed 755 all those scripts, the fuppes configuration and database files and the fuppes daemon itself, but still no joy. The other scripts in /opt/etc/init.d/ (S67ftpd-topfield and S40sshd) both start their apps fine at boot up. When I start fuppes manually as above, it works great, and I can acess my music via Conduits pocketPlayer on the Axim as I want to. If only I can get it to start automatically at boot up I will be rapt Hope someone can help cheers |
| Free embeddable forum powered by Nabble | Forum Help |