Skip to contentSkip to conversation

Linux and Wake-On-Lan

DISCUSSION Gianluca Masone 3 participants 3 messages May 7, 2003

Subsystems (2)
lore
Share & tools
lore
#1 lore raw

From: Gianluca Masone <[email protected]>
Date: Wed, 7 May 2003 11:05:30 +0200 (CEST)

Suppose i put a net device in wake-on-lan status. There is some kernel function that notifies presence of a wake packet ?

This is not how wake-on-lan works.

When your computer is put to sleep (via APM or ACPI), the network card can listen for the wake packets.

If it is listening and a wakeup packet is received, your computer wakes up from sleep state.

All of this happens in the hardware, all Linux can do is enable/disable the feature.

#2 lore raw

--On Wednesday, May 07, 2003 01:06:30 AM -0700 "David S. Miller"

Quoted 9 lines · <[email protected]> wrote:

From: Gianluca Masone <[email protected]>
Date: Wed, 7 May 2003 11:05:30 +0200 (CEST)

Suppose i put a net device in wake-on-lan status. There is some kernel function that notifies presence of a wake packet ?

This is not how wake-on-lan works.

Quoted 8 lines

When your computer is put to sleep (via APM or ACPI), the network card can listen for the wake packets.

If it is listening and a wakeup packet is received, your computer wakes up from sleep state.

All of this happens in the hardware, all Linux can do is enable/disable the feature.

That's right, but afair at least one driver has problems with this. It's here not working with the eepro100 driver. The e100 works.

See here for more details:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=84695

Peter

Signature · 3 lines
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de 
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/