Skip to contentSkip to conversation

Device naming for wireless NICs...

DISCUSSION Jean Tourrilhes 2 participants 3 messages Mar 11, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · James Ketrenos

If this topic been hashed a lot already, please let me know the keywords I might search for in the archives to find the threads.

I've had a few requests by users of the IPW2100 wireless driver to switch the default interface name to be wlanX vs. ethX. In my prior searches through the wireless drivers in the 2.6.3 kernel tree, I couldn't find any that changed from the default.

This is my personal rule of thumb :
o if the interface use Ethernet frames (i.e. offer Ethernet
emulation), then it should be name 'ethX'.
o if the interface use 802.11 frames (rawe/native), it should
use 'wifiX'.

The Aironet driver is a good example of this, for each
hardware it offers two interfaces, 'ethX' and 'wifiY'.
Personally, I've been converting a few drivers to use 'ethX'
and removing 'wlanX' hacks where I saw them..

Quoted 3 lines

I don't mind adding a module parameter to change the default name (if that is the standard practice), but thought I'd see what others thing rather than just going off and doing something random.

Just point them to :
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/HOTPLUG.txt

Quoted 4 lines

Is there a technical or ease of use reason switching away from ethX? My thinking in keeping it eth was that it then represents a greater chance of "just working" with most networking scripts and utilities that may assume ethX is the interface name.

Note that the RedHat graphical configuration tool (neat) seems
to insist on only using 'ethX' names. Yes, only using 'ethX' is generally safer (principle of least surprise).

	Have fun...

	Jean
#1 lore raw
Quoted 3 lines

Note that the RedHat graphical configuration tool (neat) seems
to insist on only using 'ethX' names. Yes, only using 'ethX' is generally safer (principle of least surprise).

neat is old and outdated :)

Have a look at the redhat-config-network tools in Red Hat Linux or in Fedora, the system-config-network tools.

I am sure the author of the tools would appreciate feedback :)

Signature · 4 lines
Matthew Galgoci
System Administrator
Red Hat, Inc
919.754.3700 x44155
#2 lore raw
Quoted 8 lines · Matthew Galgoci
Quoted 3 lines

Note that the RedHat graphical configuration tool (neat) seems
to insist on only using 'ethX' names. Yes, only using 'ethX' is generally safer (principle of least surprise).

neat is old and outdated :)

Have a look at the redhat-config-network tools in Red Hat Linux or in Fedora, the system-config-network tools.

I don't use Red-Hat, it's just that people here complain to me
when their Red-Hat doesn't work. The joy of being the "Linux expert".

Quoted 1 line

I am sure the author of the tools would appreciate feedback :)

My approach has always been 'edit the darn text file', so I
may not be the most qualified on the subject of graphical tools. I kept using the original Pcmcia scripts up to one month ago.
Anyway, I write enough documentation on what I believe is "the
right way", but it's funny, the Red-Hat people never send me feedback on those docs.
But, somehow, life goes on and everything works ;-)

Quoted 1 line

Matthew Galgoci

Jean