PDA

View Full Version : ubuntu terminal



vaughn808
2007-07-03, 20:10
Can anyone direct me to documentation or a web site that will teach me how to run my slim server using only the command line in ubuntu?

Mark Lanctot
2007-07-03, 20:41
There's not too much - what are you looking for specifically?

To start:


sudo /etc/init.d/slimserver start

You can append debugging flags like d_source to that one I think.

To stop:


sudo /etc/init.d/slimserver stop

To restart:


sudo /etc/init.d/slimserver restart

Diana
2007-07-03, 23:18
Can anyone direct me to documentation or a web site that will teach me how to run my slim server using only the command line in ubuntu?

In a terminal, type

slimserver --help

or

slimserver --info

(These files end with "See complete documentation for details on the command syntax", but I don't know what this is referring to. Does anyone have any ideas?)

There's some detailed debugging info in the wiki at

http://wiki.slimdevices.com/index.cgi?LogFile

vaughn808
2007-07-04, 09:05
I was looking for directions on how to set everything up for the slim server using the terminal. For example I wanted to know if from the terminal I could set up the location of my music and rescan my music.

Diana
2007-07-04, 09:13
I was looking for directions on how to set everything up for the slim server using the terminal. For example I wanted to know if from the terminal I could set up the location of my music and rescan my music.

Is there some particular reason you don't wish to use the web interface? Or do you just like a challenge? ;-)

vaughn808
2007-07-04, 12:46
I want to put all of my music on a file server and I do not want a monitor attached to the server. I was planing on using just the terminal to connect to the server using a lap top and leaving the server on so the squeezebox is always on.

Mark Lanctot
2007-07-04, 13:01
I want to put all of my music on a file server and I do not want a monitor attached to the server. I was planing on using just the terminal to connect to the server using a lap top and leaving the server on so the squeezebox is always on.

But you can access SlimServer from the laptop at http://<SlimServer IP>:9000.

Diana
2007-07-04, 13:03
I want to put all of my music on a file server and I do not want a monitor attached to the server. I was planing on using just the terminal to connect to the server using a lap top and leaving the server on so the squeezebox is always on.

Would you consider using the web browser on your laptop? Just point it at

http://<Lan IP address of server>:9000

(e.g http://192.168.1.10:9000)

and use the web interface that way.

Diana
2007-07-04, 13:04
But you can access SlimServer from the laptop at http://<SlimServer IP>:9000.

Snap! Oh, you just beat me to it, Mark!

Mark Lanctot
2007-07-04, 13:08
LOL!

vaughn808 - you can't start/stop the server from the web interface, but you rarely need to do this. Once it's installed, it runs when the server boots.

About the only other thing you can't do from the web interface is startup with debugging flags - you can set debugging flags once the server is up and running though, but if it won't start up in the first place you need to start it with debugging flags.

bhaagensen
2007-07-04, 13:56
I see no reason why you would not use the web interface from your laptop. If you really want to do it from a login shell on the ubuntu box you could use links (text based browser). Just apt-get install links, start links, press 'g', and enter http://serverip:9000. I don't think you gain anything from it, its more of a because-you-can-you-can-you-can thing.

Guido
2007-07-05, 07:16
I want to put all of my music on a file server and I do not want a monitor attached to the server. I was planing on using just the terminal to connect to the server using a lap top and leaving the server on so the squeezebox is always on.

I have just finished setting up Slimserver on Ubuntu Server 7.04. All command line... no Gnome desktop. I dont have monitor or keboard attached. Install ssh server on your Ubuntu server, then use a terminal client on your windows box like puTTy that support ssh.

Then with ssh terminal and web browser to port 9000 you have complete control of your Slimserver.

Get PuTTy for windows here:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Install SSH Server:
sudo apt-get install openssh-server

Configure SSH server:
https://help.ubuntu.com/7.04/server/C/openssh-server.html

If you need any more help... just post!

chiphart
2007-07-05, 10:49
...just for giggles, I tried running the WWW interface using
links and lynx. The latter actually worked decently, EXCEPT
that I couldn't figure out how to get past the first setup
screen ("Basic") because the pulldown menu doesn't automatically
jump once you select something. Javascript, meet lynx.

links, on the other hand, actually drew nicely (frames), but
failed completely.

Someone may have better/different luck.

I'm somewhat surprised no one has taken the time to write a
text-only skin. I'm not volunteering :-)

--
Chip Hart - Pediatric Solutions * Physician's Computer Company
chip @ pcc.com * 1 Main St. #7, Winooski, VT 05404
800-722-7708 * http://chipsblog.pcc.com
f.802-846-8178 * Pediatric Software Just Got Smarter.
Your Practice Just Got Healthier.

vaughn808
2007-07-07, 06:22
Thank you all for your help. I think for now I will maintain it using the laptop rout. I will post again if I have any more questions

vaughn808
2007-07-14, 19:25
I have attempted to access the slimserver from my laptop using the squeezebox's <ip address>:9000, but I am getting an error message in my browser that says problem loading page the server at <ip address> is taking to long to respond. I obtained the ip address from the squeezebox by looking under network settings.

pfarrell
2007-07-14, 19:34
vaughn808 wrote:
> I have attempted to access the slimserver from my laptop using the
> squeezebox's <ip address>:9000, but I am getting an error message in my
> browser that says problem loading page the server at <ip address> is
> taking to long to respond. I obtained the ip address from the
> squeezebox by looking under network settings.

I think you have a concept backward.
Your SqueezeBox talks to the SlimServer.
That runs on some computer. You use the <ip address> of the computer
running SlimServer to point your browser. Not the SqueezeBox

Pat


--
Pat
http://www.pfarrell.com/music/slimserver/slimsoftware.html

vaughn808
2007-07-14, 19:46
I have also tried the ip address of the computer that the slimserver was installed on. When I type in the computer's ip address i am receiving a different error of Unable to connect Firefox can't establish a connection to the server at xxx.xxx.x.xx:9000. I also have slim server installed on the laptop as well and I am not able to access localhost by typing in localhost:9000 on the laptop.

pfarrell
2007-07-14, 20:11
vaughn808 wrote:
> I have also tried the ip address of the computer that the slimserver was
> installed on. When I type in the computer's ip address i am receiving a
> different error of Unable to connect Firefox can't establish a
> connection to the server at xxx.xxx.x.xx:9000. I also have slim server
> installed on the laptop as well and I am not able to access localhost by
> typing in localhost:9000 on the laptop.

While you can run multiple SlimServers on multiple computers, it is not
a great idea until you get the basics working. So kill it on the laptop.

Do you have firewalls running on the laptop and/or server?
Is the SlimServer running? can you confirm that locally on the server?


--
Pat Farrell pfarrell (AT) bioinformatx (DOT) com
www.bioinformatx.com

vaughn808
2007-07-16, 22:04
I believe it is running how do I verfiy this. If I type "sudo /etc/init.d/slimserver start" it says Starting Slim Devices audio server: slimserver.
after that if I attempt to access the localhost through the laptop I still receive the same error message.