Supports Wake-on: pumbg Wake-on: g. Htpc# ethtool eth0. Supports Wake-on: g Wake-on: g. Each letter stands for a specific mode but in most cases the g mode (Magic Packet) should be ok. In my case my HTPC only supports g while my notebook supports the modes p, u, m, b and g. I only use the g mode. If youe need to change the WOL mode then. I would like to setup the wake-on-lan, the two PCs are connected through a switch. Here is the configuration of the eth0, in the BIOS I couldn't find any information regarding the wake-on-lan. 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000033 (51) drv probe ifdown ifup Link.
- Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000007 (7) drv probe link Link detected: yes after manual configuration: ethtool -s enp0s25 speed 100 duplex full autoneg on mdix on interface still invalid. Than i try this: ethtool -s enp0s25 speed 10 duplex full autoneg on mdix on Magic, it acquired IP address.
- Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000007 (7) drv probe link Link detected: yes after manual configuration: ethtool -s enp0s25 speed 100 duplex full autoneg on mdix on interface still invalid.
- Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000007 (7) drv probe link Link detected: yes Both servers connected to the same switch, which supported 1 Gig, with Cat5e / Cat6.
After enabling the Wake on LAN in the BIOSthe operating system must be informed to enable it before the shutdown otherwisethe machine will not turn on even if everything else is done properly.
To check if the network card supports the Wake On LAN then the following commandcan be used:
If the Supports Wake-on field contains g then the Wake On LAN bymagic-packet can be used:
![Lan Lan](/uploads/1/1/8/0/118035818/305108355.png)
The command must be performed before the machine shutdown.
In the Apple OS X systems the Wake On LAN setting can be found in theSystem Preferences under the section Energy Saver.
On major Microsoft Windows OS the Wake On LAN is enabled by default so generallynothing to be done is needed.If the machine still doesn’t turn itself on then you should check if theoperating system has the Wake On LAN enabled with the Magic Packet.
The following specifications can be different, they depends from the used driver.
Microsoft Windows XP
Microsoft Windows 2000/2003 Server
Microsoft Windows Vista/7/8/2008/2012 Server
I have two systems. One is my HTPC and the other is my notebook (both running slackware as usual). Both system are connected via my home router. My HTPC is connected directly via lan cable to my home router and my notebook is connected to my home router via wireless lan. In my case I want to wake up my HTPC from my notebook. To check if WOL is supported use the tool ethtool:notebook# ethtool eth0
...
Supports Wake-on: pumbg
Wake-on: g
...
htpc# ethtool eth0
...
Supports Wake-on: g
Wake-on: g
...
Each letter stands for a specific mode but in most cases the g mode (Magic Packet) should be ok. In my case my HTPC only supports g while my notebook supports the modes p, u, m, b and g. I only use the g mode. If youe need to change the WOL mode then use ethtool again:
# ethtool -s eth0 wol p
The above command will set the WOL mode to p. If you recheck it then the mode should be set to p (if it is supported):
# ethtool eth0
...
Supports Wake-on: pumbg
Wake-on: p
...
The next thing you need to know is the mac address of your system you want to wake up. You can get mac address easily with ifconfig:
# ifconfig eth0
...
ether 00:11:22:33:44:55 txqueuelen 1000 (Ethernet)
...
The string 00:11:22:33:44:55 represents your mac address.
Before you can wake up your system you need a WOL capable tool. One is wol which I like to use. Depending on your distribution you can download and install it directly. With Slackware the source has to be compiled first. Before you can compile anything you need the source:
# cd /usr/src
# wget -c 'http://downloads.sourceforge.net/project/wake-on-lan/wol/0.7.1/wol-0.7.1.tar.gz'
Then extract the source package and change into the new created directory:
# tar xf wol-0.7.1.tar.gz
# cd wol-0.7.1
Supports Wake On Lan Pumbg
Run the configure script (no changes are needed for 32/64bit system eg. libdir):# ./configure --prefix=/usr
...
wol 0.7.1 configuration:
prefix: /usr
exec_prefix: ${prefix}
bindir: ${exec_prefix}/bin
libdir: ${exec_prefix}/lib
datadir: ${prefix}/share
mandir: ${prefix}/man
infodir: ${prefix}/info
ether_hostton support: yes
generate wol manpage: yes
EXTRA_LIBS:
ANSI emulation: no
Run make to compile the source and make install to install the compiled binaries:
# make && make install
Then check that the wol tool is available:
# which wol
/usr/bin/wol
Executing wol is a very simple task. Just type wol followed by the mac address to wake up the desired systems (of course make sure that the system that you want to wake up is turned off):
# wol 00:11:22:33:44:55
Waking up 00:11:22:33:44:55...
This works when I wake up my HTPC from my notebook over wireless lan. And there is no difference if my HTPC is turned off or in suspend to ram/disk mode.