All my geeky stuff ends up here. Mostly Unix-related


with 5 comments

Looking through the BIOS for Junior, I could find no option to activate Wake-on-LAN. The way to achieve that is actually to configure the Ethernet chip directly. Under Debian, this is done with:
# ethtool -s eth0 wol g

The ‘g’ option for wake-on-lan (wol) actually specifies that you want to wake up on magic packets, but there are other interesting options if you want to wake up on other network events. Read the documentation for ethtool.

One important point: this setting only survives until the next boot. If you want to make it persistent, create a file called e.g. wol in /etc/network/if-up.d with the following contents:

if [ "$IFACE" == "eth0" ]; then
ethtool -s eth0 wol g

Make the file executable by chmod +x wol

I can now wake Junior from another Linux machine on the same subnet using tools like wakeonlan or etherwake. The former does not need root privileges to perform, which is safer.

Written by nicolas314

Sunday 1 July 2007 at 11:30 pm

Posted in junior

Tagged with , , , ,

5 Responses

Subscribe to comments with RSS.

  1. Thanks for all this great stuff. Mine is on its way from Thailand now.

    Ben Tulis

    Thursday 26 July 2007 at 12:24 am

  2. What is the BIOS configuration for Wake On Lan? I know there isn’t any wol configuration on it, but after I have done ethtool -s eth0 wol g, I can’t wake the system. My ethernet card LED-s are shutted down…

    Andres Iraizoz

    Thursday 14 February 2008 at 11:34 am

  3. I do not remember changing anything in the BIOS configuration as far as wake-on-LAN is concerned. You may want to check out your adapter configuration with ‘ethtool eth0’ once you have modified the flag to see if the change was taken into account.

    Another thing is: do not switch power completely off. Your Microclient should still be plugged in and Ethernet adapter blinking with network traffic.

    Hope it helps


    Thursday 14 February 2008 at 10:29 pm

  4. Hi, how do you ‘shutdown’ your computer such that WOL is useful?

    I’m using Xubuntu with Microclient SR here; but standby and shutdown powers down the network card despite “resume on ring” and “resume on PME” are enabled in bios..


    Sunday 29 June 2008 at 6:08 pm

  5. Hi Paul:
    You probably want to submit your question to the dedicated Google Group created for MicroClient support in general:
    See you there


    Sunday 29 June 2008 at 7:58 pm

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: