* Device naming for wireless NICs...
2004-03-11 3:17 ` Jouni Malinen
@ 2004-03-11 16:28 ` James Ketrenos
2004-03-11 16:36 ` Tomasz Torcz
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: James Ketrenos @ 2004-03-11 16:28 UTC (permalink / raw)
Cc: netdev
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.
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.
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.
Thanks,
James
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Device naming for wireless NICs...
2004-03-11 16:28 ` Device naming for wireless NICs James Ketrenos
@ 2004-03-11 16:36 ` Tomasz Torcz
2004-03-11 16:54 ` Matthew Galgoci
2004-03-11 18:23 ` Jeff Garzik
2 siblings, 0 replies; 9+ messages in thread
From: Tomasz Torcz @ 2004-03-11 16:36 UTC (permalink / raw)
To: netdev
On Thu, Mar 11, 2004 at 10:28:23AM -0600, James Ketrenos wrote:
> 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.
This could be handled by nameif in userspace.
> 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.
I personally find them broken. I had to remove checking the name from
ethtool to make it work. Ethtool checks for 'eth' or 'usb' in name,
which do not work with my e1000 renamed to 'ep0'.
--
Tomasz Torcz Only gods can safely risk perfection,
zdzichu@irc.-nie.spam-.pl it's a dangerous thing for a man. -- Alia
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Device naming for wireless NICs...
2004-03-11 16:28 ` Device naming for wireless NICs James Ketrenos
2004-03-11 16:36 ` Tomasz Torcz
@ 2004-03-11 16:54 ` Matthew Galgoci
2004-03-11 18:25 ` Jeff Garzik
2004-03-11 18:23 ` Jeff Garzik
2 siblings, 1 reply; 9+ messages in thread
From: Matthew Galgoci @ 2004-03-11 16:54 UTC (permalink / raw)
To: James Ketrenos; +Cc: netdev
On Thu, 11 Mar 2004, James Ketrenos wrote:
>
> 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.
>
> 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.
>
> 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.
TBH I don't think it much matters. I know that at least Red Hat's networking scripts
(and possibly other distributions) did at one point assume that each interface would
be named ethX, but I don't think that is the case anymore.
Some drivers even present both a wlanX and an ethX interface, which I think is an atavism
that goes back to networking scripts breaking horribly on non-ethX interface names.
Going forward it might be worth while to standardize all wireless interface names, just
to show at a glance that an interface is 802.11x, and also to differentiate the fact that
eventually 802.11 will be its own network stack.
--
Matthew Galgoci
System Administrator
Red Hat, Inc
919.754.3700 x44155
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Device naming for wireless NICs...
@ 2004-03-11 18:22 Jean Tourrilhes
2004-03-11 19:33 ` Matthew Galgoci
0 siblings, 1 reply; 9+ messages in thread
From: Jean Tourrilhes @ 2004-03-11 18:22 UTC (permalink / raw)
To: netdev, James Ketrenos
James Ketrenos wrote :
>
> 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..
> 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
> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Device naming for wireless NICs...
2004-03-11 16:28 ` Device naming for wireless NICs James Ketrenos
2004-03-11 16:36 ` Tomasz Torcz
2004-03-11 16:54 ` Matthew Galgoci
@ 2004-03-11 18:23 ` Jeff Garzik
2004-03-12 10:30 ` P
2 siblings, 1 reply; 9+ messages in thread
From: Jeff Garzik @ 2004-03-11 18:23 UTC (permalink / raw)
To: James Ketrenos; +Cc: netdev
James Ketrenos wrote:
>
> 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.
I lean towards wlan%d, but until we have the generic 802.11 stack going
it's really up to the driver maintainer (you, in this case).
Like Matthew said, any code that assumes a specific interface prefix, be
it eth%d or wlan%d, is buggy. Users are allowed to choose random
interface names for their interfaces, often via nameif(8) program. My
own ethtool program is broken in this regard...
Jeff
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Device naming for wireless NICs...
2004-03-11 16:54 ` Matthew Galgoci
@ 2004-03-11 18:25 ` Jeff Garzik
0 siblings, 0 replies; 9+ messages in thread
From: Jeff Garzik @ 2004-03-11 18:25 UTC (permalink / raw)
To: Matthew Galgoci; +Cc: James Ketrenos, netdev
Matthew Galgoci wrote:
> Going forward it might be worth while to standardize all wireless interface names, just
> to show at a glance that an interface is 802.11x, and also to differentiate the fact that
> eventually 802.11 will be its own network stack.
I definitely want to standardize on something like wlan%d. We should
get that for free when a generic 802.11 stack is in place, which implies
that there will be a common wireless helper as a peer to ether_setup()
in the current tree.
Jeff
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Device naming for wireless NICs...
2004-03-11 18:22 Device naming for wireless NICs Jean Tourrilhes
@ 2004-03-11 19:33 ` Matthew Galgoci
2004-03-11 19:47 ` Jean Tourrilhes
0 siblings, 1 reply; 9+ messages in thread
From: Matthew Galgoci @ 2004-03-11 19:33 UTC (permalink / raw)
To: jt; +Cc: netdev, James Ketrenos
> 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 :)
--
Matthew Galgoci
System Administrator
Red Hat, Inc
919.754.3700 x44155
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Device naming for wireless NICs...
2004-03-11 19:33 ` Matthew Galgoci
@ 2004-03-11 19:47 ` Jean Tourrilhes
0 siblings, 0 replies; 9+ messages in thread
From: Jean Tourrilhes @ 2004-03-11 19:47 UTC (permalink / raw)
To: Matthew Galgoci; +Cc: netdev, James Ketrenos
On Thu, Mar 11, 2004 at 02:33:58PM -0500, Matthew Galgoci wrote:
> > 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".
> 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 ;-)
> Matthew Galgoci
Jean
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Device naming for wireless NICs...
2004-03-11 18:23 ` Jeff Garzik
@ 2004-03-12 10:30 ` P
0 siblings, 0 replies; 9+ messages in thread
From: P @ 2004-03-12 10:30 UTC (permalink / raw)
To: Jeff Garzik; +Cc: netdev
Jeff Garzik wrote:
> James Ketrenos wrote:
>
> Like Matthew said, any code that assumes a specific interface prefix, be
> it eth%d or wlan%d, is buggy. Users are allowed to choose random
> interface names for their interfaces, often via nameif(8) program. My
> own ethtool program is broken in this regard...
My trivial patch fixes that.
http://sourceforge.net/tracker/index.php?func=detail&aid=780937&group_id=3242&atid=303242
Just wondering about the release schedule for ethtool?
Pádraig.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-03-12 10:30 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-11 18:22 Device naming for wireless NICs Jean Tourrilhes
2004-03-11 19:33 ` Matthew Galgoci
2004-03-11 19:47 ` Jean Tourrilhes
-- strict thread matches above, loose matches on Subject: below --
2004-03-04 2:35 [PATCH 2.6] Intersil Prism54 wireless driver Jean Tourrilhes
2004-03-10 16:55 ` Christoph Hellwig
2004-03-10 17:21 ` Jean Tourrilhes
2004-03-10 17:29 ` Jeff Garzik
2004-03-10 17:52 ` Jean Tourrilhes
2004-03-10 17:58 ` Jeff Garzik
2004-03-11 2:48 ` Jouni Malinen
2004-03-11 3:02 ` Jeff Garzik
2004-03-11 3:17 ` Jouni Malinen
2004-03-11 16:28 ` Device naming for wireless NICs James Ketrenos
2004-03-11 16:36 ` Tomasz Torcz
2004-03-11 16:54 ` Matthew Galgoci
2004-03-11 18:25 ` Jeff Garzik
2004-03-11 18:23 ` Jeff Garzik
2004-03-12 10:30 ` P
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).