Re: Wake On LAN on Fedora 7?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Junev wrote on Wednesday 16 January 2008:

> The problem is that the 'wake-on' parameter changes to 'd' (disabled)
> when I shut the machine down, so WOL does not work.

One problem I've seen is shutting down the NIC. When ifdown is executed, 
all WOL settings are lost. The solution is pretty easy: bring the card up 
just before the machine is powered off.

Copy this snippet to /sbin/halt.local where it will be called 
from /etc/init.d/halt on shutdown.

#!/bin/sh
ifconfig eth0 up
ethtool -s eth0 wol g

No changes to any files are required. YMMV. ;)

-- 
bye,
Adalbert

When you have to kill a man it costs nothing to be polite. -- Winston 
Churchill, on formal declarations of war


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux