PDA

View Full Version : Can SqueezeBox send Wake-on-LAN packets?



Jerry J. Trantow
2004-02-02, 10:38
I posed a similar question a while ago with out much response. I was
actually hoping to get the SLIMP3 to stop sending packets to allow my server
to go to sleep. I don't value the clock display enough to keep a computer
running.

As for waking the server up, I think but have not verified that using a
fixed IP address for the server would get it to wake up. I know my server
keeps waking up whenever my SLIMP3 is plugged in and knows the server IP.

-----Original Message-----
From: Steven Spies [mailto:spies (AT) whoever (DOT) com]
Sent: Sunday, February 01, 2004 6:49 PM
To: Slim Devices Discussion
Subject: [slim] Can SqueezeBox send Wake-on-LAN packets?

I would love to see this work on the SLIMP3 too. Is it possible? Has it
already been done? Thanks, Steven

On Feb 1, 2004, at 10:43 AM, Brendan Donohoe wrote:

> Perhaps this is a question for the developers list, but I'm not a
> developer, so I'm asking here: is it possible to convince the
> SqueezeBox to send a Wake-on-LAN packet in response to an remote
> control button press?
>
> What's that? A server should be set to never sleep? Sure, I know
> that, but I have a situation where the server has to sleep and needs a
> way to be told to wake up.
>
> Any ideas? I have perl scripts and such that will send such a packet,
> but of course those require a woken computer to execute them.
>
> Brendan
>
>

ChrisB
2005-06-21, 02:08
I think the only possible way WOL wouldn't work with wireless was if the
PC was connected to the WLAN directly as a client (using a wireless
NIC). Other than that, I can't see why there would be any issues. I've
certainly woken PCs using wireless clients at home.

-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of kdf
Sent: 20 June 2005 17:13
To: Slim Devices Discussion
Subject: Re: [slim] Re: Can SqueezeBox send Wake-on-LAN packets?


There is already some discussion there regarding a few difficulties
(mainly that
WOL doesn't work over wireless).

-kdf

max.spicer
2005-06-21, 04:53
I think the only possible way WOL wouldn't work with wireless was if the
PC was connected to the WLAN directly as a client (using a wireless
NIC).
Why shouldn't it work with a wireless NIC. What does a wired NIC receieve that a wireless doesn't?

Max

ChrisB
2005-06-21, 05:10
I don't think you can leave a wireless NIC in standby like you can a
wired one. To receive WOL packets, a wired NIC is supplied with a very
small voltage by the motherboard, so it can recognize the magic packet,
and trigger the wakeup. A wireless NIC would need to be on, connected
to your network, with all your encryption settings loaded - which are
managed by the OS.

Chris

-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of max.spicer
Sent: 21 June 2005 12:53
To: discuss (AT) lists (DOT) slimdevices.com
Subject: [slim] Re: Can SqueezeBox send Wake-on-LAN packets?


ChrisB Wrote:
> I think the only possible way WOL wouldn't work with wireless was if
> the
> PC was connected to the WLAN directly as a client (using a wireless
> NIC).
Why shouldn't it work with a wireless NIC. What does a wired NIC
receieve that a wireless doesn't?

Max


--
max.spicer

The wild things roared their terrible roars and gnashed their terrible
teeth
and rolled their terrible eyes and showed their terrible claws
but Max stepped into his private boat and waved good-bye

getprogs
2005-06-21, 07:10
Could be that somebody found a way through:

http://www.ydi.com/oem/pci-adapter.php

ChrisB
2005-06-21, 09:09
Note that port-forwarding to devices works differently on different
routers. My UK Netgear DG834 won't forward to devices that aren't
'attached' to the device - ie, not powered on. So I couldn't wake mine
from a device outside of my home LAN.

Regarding MAC addresses, I'd think most routers would list them
alongside IP addresses. Certainly, the Netgear does (under attached
devices). If you don't have a router, IPCONFIG /ALL will tell you - you
just need to identify the correct IP address and take the MAC that goes
with that. It might be possible to code the SB to determine the MAC
address automatically from the server, as it already has the IP...


-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of oreillymj
Sent: 21 June 2005 16:18
To: discuss (AT) lists (DOT) slimdevices.com
Subject: [slim] Re: Can SqueezeBox send Wake-on-LAN packets?


I think I forwarded any packet UDP recieved on port 9 to
192.168.2.255.
Only the PC wakes up because the magic packets have the MAC address
embedded within them.

Now that I have it working, I would like the SB2 to wake my PC.
And I don't mind having to manually enter the MAC address of my
Slimserver into the SB setup to enable this.

IPCONFIG /All returns info on 3 Network adapters on my machine
(Firewire 1934 & Bluetooth appear as pseudo ethernet adapters) so it
might be quite difficult to figure out the correct MAC to use when the
SB constructs the magic packets.


I'm sure someone who knows more about Networking than I do can tell us
how difficult it would be to determine the MAC address of the
Slimservers NIC.


How do we get a status update on the request
http://bugs.slimdevices.com/show_bug.cgi?id=331
http://bugs.slimdevices.com/show_bug.cgi?id=1200


--
oreillymj