LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-15-2009, 01:26 PM   #1
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Rep: Reputation: 63
WOL is not working after a software power off


When in my Fedora 10 I power off the system, by using the gnome icon or even the command line "poweroff", it shut down the machine and power off it as expected - EVEN THE NIC. I can see its led is off !
This happens when I put the machine in hibernate mode too, but not in suspend mode.

When I power on and and power off it just after the POST messages, when grub is waiting a key to select an option, I can see the NIC's led is still blinking at each second or so.

When I power on the machine and select windows (dual boot system) and then power it off, it power off as expected, I mean, it leaves the NIC on - the led blinks even with the machine powered off.

As result, I can't wake up my machine remotely by using Wakeup-On-Lan since the NIC is powered off by Fedora.

There is a way to control this, or a work around ?
Do you think I must post a bug report on kernel list ?

Last edited by marozsas; 04-15-2009 at 01:28 PM.
 
Old 04-15-2009, 02:31 PM   #2
grepmasterd
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: ubuntu, lately
Posts: 182
Blog Entries: 1

Rep: Reputation: 35
see

http://www.linuxquestions.org/questi...6/#post3464411

check the search details against your kernel version (uname -r)
 
Old 04-17-2009, 09:35 AM   #3
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Original Poster
Rep: Reputation: 63
Thank you grepmasterd !

Yes, it is not a kernel bug, but a "feature" of network driver.
Looks like the network driver does not check the BIOS information about WOL and always initialize the NIC with WOL disabled.

Not a big problem at all. A simple "ethtool eth0 -s wol g" at boot time enable wol again.
In fact, in Fedora 10, just putting ETHTOOL_OPTS="wol g" on /etc/sysconfig/network-scripts/ifcfg-eth0 would do the trick.

thanks,
 
1 members found this post helpful.
Old 07-14-2009, 06:00 AM   #4
sipu123
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.
 
1 members found this post helpful.
Old 10-27-2009, 04:18 AM   #5
aurora72
Member
 
Registered: Jul 2009
Location: Türkiye
Distribution: Ubuntu 9.04 on IBM R31 thinkpad 512MB RAM shared VideoRAM, Intel i915 Graphics card 120GB HDD
Posts: 50

Rep: Reputation: 15
Quote:
Originally Posted by sipu123 View Post
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...
I experience exactly the same problem with Ubuntu 9.04 on my 2002 make IBM Thinkpad:

When I turn off Ubuntu WOL works, (the led on the ethernet is on)
but when I put it to sleep mode, WOL just doesn't work (the led on the ethernet jack is off)

Any suggestions?
 
  


Reply

Tags
nic, poweroff, wol


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
Power measure software rgrandl Linux - Software 1 08-06-2009 05:02 PM
power down isn't working d1l2w3 Linux - Hardware 2 11-07-2005 11:23 AM
Power Management not working blixel Linux - General 1 12-26-2004 10:08 PM


All times are GMT -5. The time now is 01:46 PM.

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