You are not logged in.

#1 2011-03-30 04:54:23

murfMan
Member
Registered: 2009-10-27
Posts: 161

Wake on lan help

Hello, I am trying to setup wake on lan on my archlinux desktop.

I have enabled remote wake in my BIOS and i have forwarded port 9 on my router.


I also installed ethtool to see if my network card had wake on lan enabled, which it did.

But whenever i turn my machine off the light on the network card is not lit and whenever i send the packet from my windows PC via "Magic Packet Sender" my arch box does not respond. 

Even though ethtool said WOL was already supported i went ahead and added the following to my /etc/rc.local (this is the only thing it contains)

. /etc/rc.conf
. /etc/rc.d/functions
# Setup WOL for next boot
stat_busy "Setting WOL to Active"
/usr/sbin/ethtool -s eth0 wol g
stat_done

I also Issued this command

 echo enabled > /sys/class/net/eth0/device/power/wakeup 

Does anyone have any experience with this that would be willing to help me out?

Offline

#2 2011-03-30 12:01:42

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: Wake on lan help

What is the result of issuing the command: "ethtool eth0 | grep Wake-on"?


I laugh, yet the joke is on me

Offline

#3 2011-03-30 13:40:43

murfMan
Member
Registered: 2009-10-27
Posts: 161

Re: Wake on lan help

I am not at my home machine right now so i can't give you the exact output but it was something like this:

Wake-On Support: pg
Wake-On: g

Offline

#4 2011-03-30 15:40:29

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: Wake on lan help

That looks right if you are recalling correctly.  It sounds like you have done
everything right on the target pc, enabled bios and wol, made the changes permanent. 
You might want to double check your MAC and IP of the target and also have a look at
the ethtool man page.  There are different options besides "g" for "ethtool -s eth0 wol
g".  I would might try a variation of these (u,b,m, or s might also be options).

Edit: I should have asked what NIC you have.  Also, are you dual booting with Windows
on your machine?

Last edited by the sad clown (2011-03-30 17:30:24)


I laugh, yet the joke is on me

Offline

#5 2011-03-30 19:02:39

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: Wake on lan help

Yeah, I also have a similar problem. The NIC and driver are

02:0c.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
...
e1000 0000:02:0c.0: eth0: (PCI:33MHz:32-bit) 00:0f:1f:d4:6e:93
e1000 0000:02:0c.0: eth0: Intel(R) PRO/1000 Network Connection

There are two identical machines: one runs SLED 9, another -- Arch. the ethtool shows right settings on both, but neither computer wakes up (with community/wol). There is even no router  -- each machine has a static ip with good domain name.


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

Board footer

Powered by FluxBB