Asus M2A-MX and Wake On Lan doesn't work from poweroff nor from suspend
- From: Erkki Seppala <flux@xxxxxxxxxxxxxxxxx>
- Date: Sun, 23 Mar 2008 00:26:40 +0200
I have trouble waking up this motherboard with WoL. It seems to work
if I shut the machine down with the power button, provided I do it
before the boot loader starts. If I halt or poweroff the computer from
Linux, etherwake will not be able to wake the computer up.
These are very similar to the experiences of this guy from 2005:
http://frequal.com/linux/AsusWakeOnLan.html . I however don't have a
WoL setting in the bios. The closest relevant-sounding setting has
been enable/disable the BIOS on the LAN component, but it didn't help.
I can see the network lights blinking (..in the receiving end..) when
I send the WoL packets.
I'm running Ubuntu Gutsy, and I've configured /etc/init.d/halt to not
run halt with the -i -parameter, which would shut down the network
interfaces (although the manual page suggests the kernel does that
anyway). Also, before doing the final halt, I execute the command
ethtool -s eth0 wol umbg
I've tried plain "g" in place of "umbg" too. I've confirmed the
parameter is correct by placing "ethtool eth0" before the final halt
in the halt script.
I've also tried to wake the system up after suspending it with
hibernate-ram. The system wakes up fine from the power button, but
again, etherwake will not wake the system up. (I'm not running X and
currently my only block device is a USB flash stick, so not much to
report from that side; those devices work fine after resume.)
My attempt at this point (for resuming after suspend with WoL; should
work too, right?):
# echo RLAN > /proc/acpi/wakeup
# grep RLAN /proc/acpi/wakeup
RLAN S4 enabled pci:0000:03:00.0
# lspci | grep 03:00
03:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0)
# ethtool -s eth0 wol umbg
# hibernate-ram
/usr/sbin/hibernate-ram: 837: arch: not found
/usr/sbin/hibernate-ram: 888: arch: not found
...run etherwake from another host: nothing happens. press the power button..
# echo "we're back"
we're back
#
Information about my system:
- Kernel: 2.6.22-14-generic (standard kernel from Ubuntu Gutsy)
- Motherboard: Asus M2A-MX with 2GB of memory
- CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
- Block storage: 2 GB USB flash stick as root - no swap
Ps: Where has /bin/arch gone, it's not in Gutsy's util-linux?
--
_____________________________________________________________________
/ __// /__ ____ __ http://www.modeemi.fi/~flux/\ \
/ /_ / // // /\ \/ / \ /
/_/ /_/ \___/ /_/\_\@modeemi.fi \/
.
- Follow-Ups:
- Prev by Date: A few places left at Embedded Linux Workshop
- Next by Date: Re: Asus M2A-MX and Wake On Lan doesn't work from poweroff nor from suspend
- Previous by thread: A few places left at Embedded Linux Workshop
- Next by thread: Re: Asus M2A-MX and Wake On Lan doesn't work from poweroff nor from suspend
- Index(es):