Another approach to this in Fedora:

If you want to have your server's eth0 configured to a static ip
address, then it's preferable to get rid of the 'NetworkManager' service
and use 'network' instead:

# chkconfig NetworkManager off

# chkconfig network on

Then look at your /etc/sysconfig/networking/devices/ifcfg-eth0 file. 
Mine looks like this:


Code:
--------------------
    
  # Intel Corporation 82541GI Gigabit Ethernet Controller
  DEVICE=eth0
  BOOTPROTO=none
  BROADCAST=192.168.0.255
  DNS1=208.67.222.222
  DNS2=208.67.220.220
  DNS3=192.168.0.1
  GATEWAY=192.168.0.1
  HWADDR=aa:bb:cc:dd:ee:ff
  IPADDR=192.168.0.198
  NETMASK=255.255.255.0
  ONBOOT=yes
  TYPE=Ethernet
  USERCTL=yes
  IPV6INIT=no
  NM_CONTROLLED=no
  PEERDNS=yes
  ETHTOOL_OPTS="wol g"
  
--------------------

That last entry (ETHTOOL_OPTS="wol g") seems to do the trick in terms
of seeing to it that WOL is always enabled.  If you need to build a
ifcfg-eth0 file from scratch, you can get your nic's HWADDR from either
# ifconfig or from # cat /etc/udev/rules.d/70-persistent-net.rules.


-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=68188

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to