Skip to contentSkip to conversation

Suspend and wake on lan

DISCUSSION Rob Walker 3 participants 4 messages Jan 10, 2007 – Jan 11, 2007

lore
Share & tools
lore

Rob Walker

author
#0 lore raw

Hi,

I'm having some trouble getting wake on lan to work after the computer is suspended. Wake on Lan works if I shut down the computer normally (i.e. it powers up again when I send the magic packet), but doesn't wake up when I suspend the computer to disk and then send the magic packet. I ensure that wake on lan is enabled before suspending by running ethtool -s eth0 wol g.

The computer is an AMD Athlon, using a Gigabyte GA-71X motherboard with VIA KT400 chipset.
The on board network chip is a RealTek RTL8139, using the 8139too driver.

I've tried the kernel from debian testing (2.6.18) and a hand built 2.6.19.1 kernel, both with the same results.

I've tried uswsusp and the in-kernel suspend, again both with the same results.

Can you help?

Regards

Rob

Signature · 8 lines
Rob Walker <[email protected]>
http://www.tenfoot.org.uk

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
#1 lore raw

Hi,

Quoted 12 lines · Rob Walker

Hi,

I'm having some trouble getting wake on lan to work after the computer is suspended. Wake on Lan works if I shut down the computer normally (i.e. it powers up again when I send the magic packet), but doesn't wake up when I suspend the computer to disk and then send the magic packet. I ensure that wake on lan is enabled before suspending by running ethtool -s eth0 wol g.

The computer is an AMD Athlon, using a Gigabyte GA-71X motherboard with VIA KT400 chipset.
The on board network chip is a RealTek RTL8139, using the 8139too driver.

Quoted 7 lines

I've tried the kernel from debian testing (2.6.18) and a hand built 2.6.19.1 kernel, both with the same results.

I've tried uswsusp and the in-kernel suspend, again both with the same results.

Can you help?

Hm, not really, but I think the 8139too's suspend routine does something that disables WOL.

Please try to contact the author/maintianer of the driver.

Greetings,
Rafael

Signature · 3 lines
If you don't have the time to read,
you don't have the time or the tools to write.
		- Stephen King
#2 lore raw
In reply to Rob Walker

Hi!

Quoted 10 lines

I'm having some trouble getting wake on lan to work after the computer is suspended. Wake on Lan works if I shut down the computer normally (i.e. it powers up again when I send the magic packet), but doesn't wake up when I suspend the computer to disk and then send the magic packet. I ensure that wake on lan is enabled before suspending by running ethtool -s eth0 wol g.

The computer is an AMD Athlon, using a Gigabyte GA-71X motherboard with VIA KT400 chipset.
The on board network chip is a RealTek RTL8139, using the 8139too driver.

Quoted 7 lines

I've tried the kernel from debian testing (2.6.18) and a hand built 2.6.19.1 kernel, both with the same results.

I've tried uswsusp and the in-kernel suspend, again both with the same results.

Can you help?

Rmmod 8139 driver before suspend and use shutdown, not platform, mode?

Pavel

Signature · 8 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
author
#3 lore raw
Quoted 16 lines · Pavel Machek

Hi!

Quoted 14 lines

I'm having some trouble getting wake on lan to work after the computer is suspended. Wake on Lan works if I shut down the computer normally (i.e. it powers up again when I send the magic packet), but doesn't wake up when I suspend the computer to disk and then send the magic packet. I ensure that wake on lan is enabled before suspending by running ethtool -s eth0 wol g.

The computer is an AMD Athlon, using a Gigabyte GA-71X motherboard with VIA KT400 chipset.
The on board network chip is a RealTek RTL8139, using the 8139too driver.

I've tried the kernel from debian testing (2.6.18) and a hand built 2.6.19.1 kernel, both with the same results.

Quoted 8 lines
Quoted 4 lines

I've tried uswsusp and the in-kernel suspend, again both with the same results.

Can you help?

Rmmod 8139 driver before suspend and use shutdown, not platform, mode?

Pavel

Thanks, that works now.

Regards

Rob

Signature · 8 lines
Rob Walker <[email protected]>
http://www.tenfoot.org.uk

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV