kernel renames wlan to eth

John W. Linville linville at redhat.com
Wed Feb 27 14:36:41 UTC 2008


On Wed, Feb 27, 2008 at 11:18:17AM +0100, Adam Pribyl wrote:
> I am just wondering what is going on with all this device names renaming.
> 
> hostap always used to use wlanX device names.. but well in F8 this is some 
> kind of different - at least on SMP system, the kernel asks for device 
> wlan0 to be renamed to eth1. I thought it is udev magic, so I played with 
> 70-persistent-net.rules, but it has no efect. Then I tried the udevmonitor 
> and I see:
> 
> UEVENT[1203878535.039740] add /module/hostap (module)
> UDEV [1203878535.042915] add /module/hostap (module)
> UEVENT[1203878535.057209] add /module/hostap_pci (module)
> UEVENT[1203878535.057845] add /bus/pci/drivers/hostap_pci (drivers)
> UEVENT[1203878535.058343] add /class/net/wifi1 (net)
> UDEV [1203878535.066578] add /bus/pci/drivers/hostap_pci (drivers)
> UDEV [1203878535.069191] add /module/hostap_pci (module)
> UDEV [1203878535.212557] add /class/net/wifi1 (net)
> UEVENT[1203878535.269178] add /class/net/wlan0 (net)
> UEVENT[1203878535.278823] move /class/net/eth1 (net)
> UDEV [1203878539.946245] add /class/net/eth1 (net)
> UDEV [1203878539.994233] move /class/net/eth1 (net)
> 
> So this has nothing to do with udev, it's kernel who is asking for device 
> to be renamed. But why?
> 
> Some details: http://forums.fedoraforum.org/showthread.php?p=968699

In that thread you indicated that you had previously used orinoco,
which would have given you an ethX name for that same MAC address.
So somewhere that association has stuck.  Perhaps you are using an
HWADDR line in /etc/sysconfig/network-scripts/ifcfg-eth1?

John
-- 
John W. Linville
linville at redhat.com




More information about the Fedora-kernel-list mailing list