Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-03-2009, 11:59 AM   #1
Registered: Feb 2009
Posts: 52

Rep: Reputation: 15
Wake on lan settings in ethtool

Hi all,

Im trying to remote power on my debian machine with gnome with the wake on lan function.

I enabled it on my mainboard and was configuring my ethtool.

There i see:
root@lappy:~# ethtool eth0
Settings for eth0:
Supports Wake-on: g
Wake-on: d
Link detected: yes

and after this command ethtool -s eth0 wol g

i get this:
root@lappy:~# ethtool eth0
Settings for eth0:
Supports Wake-on: g
Wake-on: g
Link detected: yes

So i enabled it on software and hardware. Now im trying to sent the magic packets with a windows tool "wake on lan"
I see that the package has been sent but the pc wont turn on. So when i check the ethtool settings again i see that it turned to:

Wake-on: d

What am i missing?
Old 03-04-2009, 06:51 AM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
WOL seems to be broken in the kernel at the moment.
Search for WOL broken Kernel
The problem seems to be that when your computer shuts down, it fully shuts down your LAN card, so it is no longer listening for the magic packet.
There have been some "workarounds" posted, but none of them worked for me
Old 04-02-2009, 05:30 AM   #3
LQ Newbie
Registered: Mar 2003
Posts: 4

Rep: Reputation: 0
Put this in "/etc/network/if-up.d/wol-enable"

/usr/sbin/ethtool -s eth0 wol g
make it executable.

Last edited by omababy; 04-02-2009 at 05:35 AM.
Old 07-14-2009, 07:01 AM   #4
LQ Newbie
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
hello i have applied these changes and WOL is working fine when i used it to wake my machine from turn off mode....

But it is not working when i switches my machine to sleep mode. My machine is not responding to magic packet sent , if it is in sleep mode. Also this all happens with ubuntu only .....If i go to sleep mode through Windows 7 ultimate. Then my machine can detect the magic packet and resume all the state of machine as earlier.

Can WOL for sleep/suspend/hibernate is possible in ubuntu......if yes do we require some more changes and what are those changes required.

please reply.
Old 07-14-2009, 07:11 AM   #5
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738

Please do not make multiple posts with the same question. In this case, you have stated "I have applied these changes" in response to 4 different threads---I'm not goin to check in detail, but I doubt that this really fits all four.

Normally, you should start a new thread with a new question (but search first, and make reference to other relevant threads.)



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
wake on lan settings sniffer_raghav Linux - Networking 1 11-17-2008 02:07 PM
ethtool - Doesn't display settings lensem Linux - Networking 4 06-27-2008 01:15 PM
ethtool can't seem to enable wake-on-LAN (wol) on my NIC bellsal Linux - Newbie 4 10-28-2007 05:28 AM
wake on lan magic packet does not wake. albean Linux - Networking 1 06-30-2007 04:57 PM
LXer: How to add ethtool duplex settings to a network card permanently LXer Syndicated Linux News 0 09-28-2006 04:21 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration