PDA

View Full Version : Starting SS After - I forgot!



tf8252
2006-11-15, 12:36
It's been 8 months since I installed this thing and I haven't had to telnet into the LS since then...

I'm not a Linux guy, so I can't remember how to launch the process..

I'm not even sure where it is in my directory!

Can someone give me a hand?

Below is some of my directory structure if this helps.
I have an LSII Debian install and I followed Marc Fields instructions to the letter when installing (except the part about the auto-run on reboot script HA!)

CHANGES libnet-daemon-perl-0.38.tgz
COPYRIGHT libnet-perl-1.19.tgz
GPL libplrpc-perl-0.2017.tgz
README libtemplate-perl-2.14.tgz
bin liburi-perl-1.35.tgz
dev libwww-perl-5.803.tgz
etc libxml-parser-perl-2.34.tgz
fontcache lost+found
home mipsel-slimserver-modules-0.5b.tgz
install.sh mnt
lib proc
libappconfig-perl-1.56.tgz root
libcompress-zlib-perl-1.34.tgz sbin
libdbd-sqlite3-perl-1.08.tgz sys
libdbi-perl-1.46.tgz templates
libexpat1-1.95.8.tgz tmp
libhtml-parser-perl-3.45.tgz usr
libhtml-tagset-perl-3.04.tgz var
libhtml-tree-perl-3.18.tgz www
bash-2.05a#
bash-2.05a# cd /usr
bash-2.05a#
bash-2.05a# ls
bin lib local sbin share tmp
bash-2.05a#
bash-2.05a# cd /
bash-2.05a#
bash-2.05a# ls
CHANGES libnet-daemon-perl-0.38.tgz
COPYRIGHT libnet-perl-1.19.tgz
GPL libplrpc-perl-0.2017.tgz
README libtemplate-perl-2.14.tgz
bin liburi-perl-1.35.tgz
dev libwww-perl-5.803.tgz
etc libxml-parser-perl-2.34.tgz
fontcache lost+found
home mipsel-slimserver-modules-0.5b.tgz
install.sh mnt
lib proc
libappconfig-perl-1.56.tgz root
libcompress-zlib-perl-1.34.tgz sbin
libdbd-sqlite3-perl-1.08.tgz sys
libdbi-perl-1.46.tgz templates
libexpat1-1.95.8.tgz tmp
libhtml-parser-perl-3.45.tgz usr
libhtml-tagset-perl-3.04.tgz var
libhtml-tree-perl-3.18.tgz www
bash-2.05a#
bash-2.05a# cd /root
bash-2.05a#
bash-2.05a# ls
bash-2.05a#
bash-2.05a# cd /
bash-2.05a#
bash-2.05a# ls
CHANGES libnet-daemon-perl-0.38.tgz
COPYRIGHT libnet-perl-1.19.tgz
GPL libplrpc-perl-0.2017.tgz
README libtemplate-perl-2.14.tgz
bin liburi-perl-1.35.tgz
dev libwww-perl-5.803.tgz
etc libxml-parser-perl-2.34.tgz
fontcache lost+found
home mipsel-slimserver-modules-0.5b.tgz
install.sh mnt
lib proc
libappconfig-perl-1.56.tgz root
libcompress-zlib-perl-1.34.tgz sbin
libdbd-sqlite3-perl-1.08.tgz sys
libdbi-perl-1.46.tgz templates
libexpat1-1.95.8.tgz tmp
libhtml-parser-perl-3.45.tgz usr
libhtml-tagset-perl-3.04.tgz var
libhtml-tree-perl-3.18.tgz www
bash-2.05a#
bash-2.05a# cd /sbin
bash-2.05a#
bash-2.05a# ls
agetty hwclock mii-tool route
badblocks ifconfig mke2fs runlevel
chkwebpasswd ifdown mkfs shutdown
depmod ifup mkfs.ext2 start-stop-daemon
devfsd init mkshinfo swapoff
dhcpcd insmod mkshinfo.hlan swapon
dumpe2fs kallsyms mkswap sync
e2fsck killall modinfo sysctl
fsck killall5 modprobe syslogd
fsck.ext2 klogd murasaki.usb telinit
fsck.ext3 ksyms murasaki_init.usb tune2fs
getty ldconfig pivot_root unix_chkpwd
halt lsmod poweroff utelnetd
hdparm lspci reboot
hotplug.murasaki mfdisk rmmod
bash-2.05a#
bash-2.05a# ./slimserver.pl --daemon
bash: ./slimserver.pl: No such file or directory
bash-2.05a#
bash-2.05a# cd /start-stop-daemon
bash: cd: /start-stop-daemon: No such file or directory
bash-2.05a#
bash-2.05a# start-stop-daemon
start-stop-daemon: need one of --start or --stop
Try `start-stop-daemon --help' for more information.
bash-2.05a#
bash-2.05a# start-daemon
bash: start-daemon: command not found
bash-2.05a#
bash-2.05a# slimserver.pl --daemon
bash: slimserver.pl: command not found
bash-2.05a#

TiredLegs
2006-11-15, 13:27
Below is some of my directory structure if this helps. I have an LSII Debian install and I followed Marc Fields instructions to the letter when installing (except the part about the auto-run on reboot script HA!)

I'm a Linux newbie, but I loaded Slimserver on a LinkStation following the Field Networks instructions. How about if you go back to the instructions and add the auto-run script?

Here's the appropriate section from Fields:
"I use the startup script that's here: http://fieldnetworks.com/slim/start-slim.sh. It is, admittedly, a bit of a hack in that it does not provide nearly all the functionality of a typical Linux startup script (namely, it does not have facilities to stop, restart, or provide the status of the slimserver.pl process). On the other hand, it is very simple and does meet my only requirement: it starts the SlimServer software. (For those familiar with Linux, the startup script provided with the RPM version of SlimServer will not work on the LinkStation). You can download my script (or create your own), copy it to your LinkStation network share from your PC, and then telnet into your LinkStation and move the file to /mnt/slim-data: "mv /mnt/name-of-network-share/start-slim.sh /mnt/slim-data". You then need to make sure the script is executable: "chmod +x /mnt/slim-data/start-slim.sh". Finally, create the link: "ln -s /mnt/slim-data/start-slim.sh /etc/rc.d/rc2.d/S95slimserver". You can verify that it worked by rebooting your LinkStation (type "reboot" at the command prompt). Give it a few minutes, and your SqueezeBox should reconnect to the SlimServer."

By the way, you might get a better response from someone more knowledgeable than me if you post this query in the 3rd Party Hardware section of the forum.