Skip to contentSkip to conversation

how to get rid of "wlan0"?

DISCUSSION Harald Dunkel 2 participants 3 messages Jul 11, 2006 – Jul 12, 2006

lore
Share & tools
lore
#0 lore raw

Hi folks,

I have used a 3rd-party wlan driver "zd1211" for months. The device alias was called "wlan0". (Its an usb WLAN dongle.)

With 2.6.18-rc1 there is a driver "zd1211rw" included in the kernel sources, coming from the same people (AFAICT). But now the device alias is supposed to be called "eth?". Of course iwconfig still shows a "wlan0" device, and fails to configure the new driver :-(.

How comes? Does udev somehow "remember" the old "wlan0" and refuses to provide "eth2"? What would be your recommendation?

Many thanx

Harri

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 2 lines · Harald Dunkel

How comes? Does udev somehow "remember" the old "wlan0" and refuses to provide "eth2"? What would be your recommendation?

Some distributions do. I recommend you fix your configuration to not depend on the device name.

Signature · 2 lines
ciao,
Marco

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Harald Dunkel

Hi Marco,

Quoted 7 lines · Marco d'Itri
Quoted 2 lines · Harald Dunkel

How comes? Does udev somehow "remember" the old "wlan0" and refuses to provide "eth2"? What would be your recommendation?

Some distributions do. I recommend you fix your configuration to not depend on the device name.

There was a generated file

/etc/udev/z25_persistent-net.rules

mapping mac addresses to device aliases. After removing it I got the expected "eth2" for 2.6.18-rc1, and the old driver still had "wlan0". The file wasn't regenerated, eth0 and eth1 are available, too, so I think it was obsolete, anyway.

Many thanx

Harri

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel