Wake On Lan in Fedora 15 and eth0 to em1 transitions

I am using the following command to enable WOL in my Linux box:

$ sudo /sbin/ethtool -s eth0 wol g

However, after upgrade to Fedora Core 15 (FC15) I have noticed that this command fails with:

Cannot get current wake-on-lan settings: No such device
not setting wol

It seems like something have changed in FC15 and my eth0 is not anymore eth0 but em1! 🙂

$ sudo ifconfig
em1 Link encap:Ethernet HWaddr 00:22:15:88:36:BD

Okay, what I have to do to make it work in FC15 is the following:

$ sudo echo “/sbin/ethtool -s em1 wol g” > /etc/rc.d/rc.local

It seems like I am not the only one affected with this problem: http://fedoraforum.org/forum/showthread.php?t=261829

7,931 views

3 Comments

  1. I added the following to my /etc/grub.conf to get my eth0 back,

    biosdevname=0

    put that line on each of the kernel lines and reboot,

    kernel /vmlinuz-2.6.38.6-27.fc15.x86_64 ro root=UUID=586c4054-057f-4f1b-be88-ea3178361d55 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet biosdevname=0

Leave a Reply

Your email address will not be published. Required fields are marked *

Identify yourself * Time limit is exhausted. Please reload CAPTCHA.