LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-21-2011, 03:33 AM   #1
nicolasdiogo
Member
 
Registered: Oct 2003
Location: UK
Distribution: debian lenny x64
Posts: 130

Rep: Reputation: 20
Thumbs down WOL Whoes! - not working at all in debian amd64


hello

i have my motherboard setup to enable WOL (wake on lan)

but the OS is not allowing the card to be in a state where is accepts the 'magic-packet'. it seems to turn off the system fully.

normally i would expect to see the network card lights blinking when the system is off. but they are not.

when checking debian i find:

Code:
# cat /proc/acpi/wakeup 
Device  S-state   Status   Sysfs node
PCE2      S4    *disabled  pci:0000:00:02.0
PCE3      S4    *disabled  
PCE4      S4    *disabled  
PCE9      S4    *disabled  pci:0000:00:09.0
PCEA      S4    *disabled  pci:0000:00:0a.0
SBAZ      S4    *disabled  
UAR1      S4    *disabled  pnp:00:0b
P0PC      S4    *disabled  pci:0000:00:14.4
UHC1      S4    *disabled  pci:0000:00:12.0
UHC2      S4    *disabled  pci:0000:00:12.2
USB3      S4    *disabled  pci:0000:00:13.0
UHC4      S4    *disabled  pci:0000:00:13.2
USB5      S4    *disabled  pci:0000:00:16.0
UHC6      S4    *disabled  pci:0000:00:16.2
UHC7      S4    *disabled  pci:0000:00:14.5
PE20      S4    *disabled  pci:0000:00:15.0
PE21      S4    *disabled  
PWRB      S4    *enabled
as i understand, there no network card with WOL enabled.
however, i find that my network is supposed to be WOL enabled:
Code:
# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Half 1000baseT/Full 
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Half 1000baseT/Full 
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  10baseT/Half 10baseT/Full 
                                             100baseT/Half 100baseT/Full 
                                             1000baseT/Half 1000baseT/Full 
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000033 (51)
        Link detected: yes
so the card seems to be on GbE mode and has WOL enabled - is that right?
since there are 2 cards, i also checked the other and show similar output.

i tried running the command
Code:
ethtool -s eth0 wol g && ethtool -s eth1 wol g

but that does not change the output of:
Code:
# cat /proc/acpi/wakeup
and when i shutdown the system it does not respond to WOL packets.

any ideas on howto troubleshoot this problem?

thanks a lot.


Nicolas

Last edited by nicolasdiogo; 09-21-2011 at 05:39 AM.
 
Old 09-21-2011, 10:05 AM   #2
BertM
LQ Newbie
 
Registered: Jan 2010
Location: Belgium
Distribution: Debian
Posts: 17

Rep: Reputation: 0
"cat /proc/acpi/wakeup" returns disabled for all entries on my desktop machine as well. However, I can boot it using wakeonlan.

A problem I first had, was that I was dualbooting it with XP at the time and appearantly wakeonlan had to be activated on XP as well, for it to work on Debian.

Is your machine located on the same LAN or are you trying to access it from outside?

What is the exact line you are using to send the magic packet?
 
Old 09-21-2011, 02:47 PM   #3
nicolasdiogo
Member
 
Registered: Oct 2003
Location: UK
Distribution: debian lenny x64
Posts: 130

Original Poster
Rep: Reputation: 20
hi bern

i am on the same network as the system.
in fact, i can wake up the system next to it - just fine (debian x64 testing)
this system has only debian x64 on it.

to be on the safe side i tried using ports 9 and 7 UDP
wakeonlan -p9 -i 192.168.1.255 00:25:22:b6:e0:9d
wakeonlan -p7 -i 192.168.1.255 00:25:22:b6:e0:9d

i have red about this subject on the web and i have also added the following into my /etc/rc.local
/sbin/ethtool -s eth0 wol g
/sbin/ethtool -s eth1 wol g

but nothing yet.

what else can be done?

thanks,
 
Old 09-21-2011, 04:53 PM   #4
BertM
LQ Newbie
 
Registered: Jan 2010
Location: Belgium
Distribution: Debian
Posts: 17

Rep: Reputation: 0
I usually just go with the default (wakeonlan mac-address) but those lines seem to be correct and they work for me as well.

Have you checked if WOL is turned on in the BIOS? There is often an option there to enable/disable it. On my desktop it was "Wake up by PME".
 
Old 09-22-2011, 08:30 AM   #5
nicolasdiogo
Member
 
Registered: Oct 2003
Location: UK
Distribution: debian lenny x64
Posts: 130

Original Poster
Rep: Reputation: 20
i have a ASRock 880G Pro3 v2
and according to their support team

enable [PCI Devices Power On] in UEFI.
You can find the option in UEFI -> [Advanced] -> [ACPI Configuration] -> [PCI Devices Power On].
Then boot into OS and shut down system to try.


but it does not wake up. not matter what i try.

any pointers on how to get this solved?

thanks,
 
  


Reply

Tags
wakeonlan, wol



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
Acer revo 3610 (ubuntu 9.10)- WOL not working rflores2323 Linux - Networking 3 12-26-2010 05:30 AM
WOL is not working after a software power off marozsas Linux - Networking 4 10-27-2009 04:18 AM
sound not working in games in cedegar- Debian amd64 the trooper Linux - Newbie 1 05-27-2008 03:52 PM
grub issues: dual boot Debian i386 & Debian amd64 ErrorBound Debian 1 03-09-2007 07:41 PM
Debian-amd64: dhcp-client stopped working hungrigerhaifisch Debian 5 06-27-2006 07:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:48 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration