Hi All,

Thanks for those who took the time to reply to this thread. I now have
things working - it was my linksys router setup rather than squeezebox
- so I thought I would just set out what I did to get things up and
running.

Linksys makes things fiddly because with their router software you
can't set up port forwarding to a x.x.x.255 address. This is the
"broadcast" address for the whole network and means that anything sent
to that port gets fowarded to the whole network - including the
computer you need to wake up. This is important because a computer in
sleep mode doesn't actually have an IP address so you can't just foward
packets to the specific computer you want.

The way around this is to set up a DHCP "reservation" for the computer
you want to be allocated a specific address (say 192.168.1.111). You
can then forward packets on port 9 (which is the port squeezebox uses)
to that address. If you need instaructions to get the MAC address then
please see below. Please also note that although all the documentation
says you only need to do this for UDP packets, it doesn't work for me
unless I also forward the TCP packets. Please also note that your
computer does need to be using DHCP: allocating a static IP just
doesn't seem to work, at least for me, although I'm not clear as to why
it makes a difference.

You can test that things are working using two free programs:
Wake-on-Lan (www.depicus.com/wake-on-lan/wake-on-lan-gui.aspx) and
Wireshark (download from sourceforge.com). Wireshark is more techy but
you probably don't need it unless things are really not working.
Basically what it does is captures all network traffic through a
particular interface so that you can see exactly what is being sent
(ie: is the magic packet being sent from the squeezebox to wake up your
PC). Wake-on-Lan GUI is a little tool which allows you to send the magic
packet so you don't have to involve the squeezebox at this stage: always
a good idea to isolate as many variables as possible! Using WOL-GUI you
need to put in the MAC address of the computer you want to wake up
(open a command window and type ipconfig/all on the PC - the MAC
address is, confusingly, shown as the "physical address"), the IP
address you have set as the DHCP reservation, and the port number. You
can leave the subnet mask alone, and it should work over the internet
or the local subnet although I have to confess I haven't ever needed to
do it over the internet.

If your PC wakes successfully using WOL-GUI, then it should also wake
by you pressing the button on the front of your squeezebox receiver, at
least so long as it is blue to begin with!

So, quick checklist is:
- check your BIOS options on your PC are set to allow WOL
- check the "advanced" properties on your network card are all set to
allow WOL as well.
- update Squeezebox software to latest version (minimum 7.2.1)
- set your PC to use DHCP
- if your router allows you to forward ports to broadcast addresses
(x.x.x.255) then forward port 9 (TCP & UDP) to your LAN broadcast
address (probably 192.168.1.255 or 10.1.1.255). If you are using a
linksys router then create a DHCP reservation for your PC, and forward
port 9 packets to that address.
- test with WOL-GUI
- if it's successful then it should also work from your squeezebox
receiver; if not then you can use Wireshark to analyse the network
traffic and hopefully find out what's going wrong...

Sorry if this is too longwinded but it's taken me ages to track down
and collate the various bits of info I needed from all over the net, so
I figured someone might find it useful.

All the best,

Dan


-- 
clarkeinho
------------------------------------------------------------------------
clarkeinho's Profile: http://forums.slimdevices.com/member.php?userid=20603
View this thread: http://forums.slimdevices.com/showthread.php?t=53972

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to