Hi Guys,
I installed Ubuntu on a desktop PC. I installed SlimServer fine and on the LAN at work I could connect to the server over HTTP.
e.g. http://192.168.0.5:9000
I took the Ubuntu PC home thinking it was ready to rock and connect my SqueezeBox 2 on. :P
However the SqueezeBox can't find the SlimServer with a crossover ethernet cable.
Can anyone show me some troubleshooting steps?
The server has OpenSSH installed on too and my laptop can't seem to find it using putty. \\home:22
If two PC's are connected together with a crossover cable can you access the PC's with IP? If so should it be 192.168.0.1 and 192.168.0.2?
Sorry for all the questions.![]()
I'm pretty sure the Ubuntu server has DHCP enabled and installed. but I'm a bit stuck.
Results 1 to 10 of 17
-
2007-02-03, 02:10 #1Member
- Join Date
- Sep 2005
- Posts
- 54
SqueezeBox can't find Ubuntu Server :(
-
2007-02-03, 02:21 #2Senior Member
- Join Date
- Mar 2006
- Location
- Sydney, Australia
- Posts
- 1,166
If you connect the laptop with the crossover cable, can you ping 192.168.0.5? Conversely, can the ubuntu server ping the laptop? Obvious question: are you sure it's a crossover cable?
-
2007-02-03, 05:01 #3Member
- Join Date
- Sep 2005
- Posts
- 54
Hello,
Thanks for your response.
I've bought the server back into the office from home to try and get it working and I can connect via SSH.
I removed slimserver:
sudo apt-get remove slimserver
Then I installed it again:
sudo apt-get install slimserver.
I reebooted and http://home:9000 wasn't found.
I ran this under command prompt:
al@home:~$ slimserver start
2007-02-03 11:57:19.8261 Warning: Migrating from 6.3.x used with MySQL!
2007-02-03 11:57:21.5095 Your data source needs to be configured. Please open your web browser,
2007-02-03 11:57:21.5098 go to the following URL, and click on the "Server Settings" link.
2007-02-03 11:57:21.5099 The URL to access SlimServer is now:
http://home:9000/
Does that mean anything to anyone? There is no URL for one?!
Thanks so so much for all your support. :P
-
2007-02-03, 07:11 #4Senior Member
- Join Date
- Jan 2007
- Posts
- 734
Quick question, you mention your work IP for the slimserver box was 192.168.0.5. Is your home network on the same subnet? Or are you using DHCP to assign IP addresses at home? Could be that home is simply using a different address for the slimserver box?
Sorry if this is old hat to you. I couldn't quite tell from your message if you are struggling with basic networking issues or are at a more complex level. Your message could be read either way.
-
2007-02-03, 07:21 #5
SqueezeBox can't find Ubuntu Server :(
> I reebooted and http://home:9000 wasn't found.
Have you tried http://localhost:9000? Eg. using "wget
http://localhost:9000" - you won't get a window, but the page will be
downloaded, or fail with an error message.
If you run "netstat -a | less" do you see anything runing on port 9000?
And do you see a /tmp/slimserver.log file?
> 2007-02-03 11:57:21.5099 The URL to access SlimServer is now:
> http://home:9000/
>
> Does that mean anything to anyone? There is no URL for one?!
Yes, this is a perfect start :-). That's exactly what you get to see when
SlimServer starts for the first time with a give configuration (_your_
configuration, not the server's configuration in that example).
--
Michael
-----------------------------------------------------------------
http://www.herger.net/SlimCD - your SlimServer on a CD
http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR
-
2007-02-03, 09:18 #6Member
- Join Date
- Sep 2005
- Posts
- 54
Hi guys. Thanks a million for your response.
I think we have the problem:
al@home:~$ wget http://localhost:9000
--16:14:47-- http://localhost:9000/
=> `index.html'
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:9000... failed: Connection refused./tmp/slimserver.log doesn't exist.al@home:~$ netstat -a | less
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 localhost:mysql *:* LISTEN
tcp 0 0 *:smtp *:* LISTEN
tcp6 0 0 *:ssh *:* LISTEN
tcp6 0 0 ::ffff:192.168.0.5%:ssh ::ffff:192.168.0.:49641 ESTABLISHED
tcp6 0 0 ::ffff:192.168.0.5%:ssh ::ffff:192.168.0.:49655 ESTABLISHED
udp 0 0 *:bootpc *:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 9478 private/smtp
unix 2 [ ACC ] STREAM LISTENING 9482 private/relay
unix 2 [ ACC ] STREAM LISTENING 9486 public/showq
unix 2 [ ACC ] STREAM LISTENING 9490 private/error
unix 2 [ ACC ] STREAM LISTENING 9494 private/discard
unix 2 [ ACC ] STREAM LISTENING 9498 private/local
unix 2 [ ACC ] STREAM LISTENING 9502 private/virtual
unix 2 [ ACC ] STREAM LISTENING 9506 private/lmtp
unix 2 [ ACC ] STREAM LISTENING 9510 private/anvil
unix 2 [ ACC ] STREAM LISTENING 9514 private/scache
unix 2 [ ACC ] STREAM LISTENING 9518 private/maildrop
unix 2 [ ACC ] STREAM LISTENING 9522 private/uucp
unix 2 [ ACC ] STREAM LISTENING 9526 private/ifmail
:
Netstat shows absolutely loads of entries similar to above on 9xxx but not 9000 exactly.
Thanks a million for your advice. I can't wait to get sounds at home again.
I'm tempted to reinstall the OS again.Last edited by brooky; 2007-02-03 at 09:23.
-
2007-02-03, 09:26 #7
SqueezeBox can't find Ubuntu Server :(
> I think we have the problem:
>
>> al@home:~$ wget http://localhost:9000
>> --16:14:47-- http://localhost:9000/
>> => `index.html'
>> Resolving localhost... 127.0.0.1
>> Connecting to localhost|127.0.0.1|:9000... failed: Connection refused.
ps -ax | grep slim
Do you see slimserver in your process list? What about the log file
(/tmp/slimserver.log)?
--
Michael
-----------------------------------------------------------------
http://www.herger.net/SlimCD - your SlimServer on a CD
http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR
-
2007-02-03, 10:43 #8Member
- Join Date
- Sep 2005
- Posts
- 54
Hello Michael,
It didn't like that much. :-/
I tried to figure it out at the quoted site but can't see whats wrong.al@home:~$ ps -ax | grep slim
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
4250 pts/0 S+ 0:00 grep slim
Just ps returns:
al@home:~$ ps
PID TTY TIME CMD
4232 pts/0 00:00:00 bash
4255 pts/0 00:00:00 psSorry for the lon list. Looks like its not running.al@home:~$ ps -A
PID TTY TIME CMD
1 ? 00:00:00 init
2 ? 00:00:00 migration/0
3 ? 00:00:00 ksoftirqd/0
4 ? 00:00:00 watchdog/0
5 ? 00:00:00 events/0
6 ? 00:00:00 khelper
7 ? 00:00:00 kthread
10 ? 00:00:00 kblockd/0
11 ? 00:00:00 kacpid
195 ? 00:00:00 pdflush
196 ? 00:00:00 pdflush
198 ? 00:00:00 aio/0
197 ? 00:00:00 kswapd0
790 ? 00:00:00 kseriod
1792 ? 00:00:00 ata/0
1793 ? 00:00:00 ata_hotplug/0
1796 ? 00:00:00 scsi_eh_0
1798 ? 00:00:00 scsi_eh_1
1910 ? 00:00:00 khpsbpkt
1919 ? 00:00:00 khubd
1930 ? 00:00:00 knodemgrd_0
1955 ? 00:00:00 scsi_eh_2
1957 ? 00:00:00 usb-storage
2026 ? 00:00:00 kjournald
2196 ? 00:00:00 udevd
3006 ? 00:00:00 shpchpd_event
3178 ? 00:00:00 dhclient3
3185 ? 00:00:00 hda_codec/0
3792 ? 00:00:00 syslogd
3809 ? 00:00:00 dd
3811 ? 00:00:00 klogd
3842 ? 00:00:00 mysqld_safe
3882 ? 00:00:00 mysqld
3883 ? 00:00:00 logger
3986 ? 00:00:00 master
3992 ? 00:00:00 qmgr
4005 ? 00:00:00 sshd
4055 ? 00:00:00 mdadm
4068 ? 00:00:00 atd
4078 ? 00:00:00 cron
4101 tty1 00:00:00 getty
4102 tty2 00:00:00 getty
4103 tty3 00:00:00 getty
4104 tty4 00:00:00 getty
4105 tty5 00:00:00 getty
4108 tty6 00:00:00 getty
4228 ? 00:00:00 pickup
4229 ? 00:00:00 sshd
4231 ? 00:00:00 sshd
4232 pts/0 00:00:00 bash
4287 pts/0 00:00:00 ps
Maybe I should try it on Debian.Last edited by brooky; 2007-02-03 at 10:48.
-
2007-02-03, 10:48 #9
SqueezeBox can't find Ubuntu Server :(
> I tried to figure it out at the quoted site but can't see whats wrong.
Well, the error message was correct: just run "ps ax" (remove the "-").
--
Michael
-----------------------------------------------------------------
http://www.herger.net/SlimCD - your SlimServer on a CD
http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR
-
2007-02-03, 10:59 #10Member
- Join Date
- Sep 2005
- Posts
- 54
Ah cool thanks:
You are really so kind to help.al@home:~$ ps ax | grep slim
4289 pts/0 S+ 0:00 grep slim


Reply With Quote
