lkml.org 
[lkml]   [2003]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Wireless Network Maintainer?
On Thu, Oct 09, 2003 at 05:55:48PM -0700, Jean Tourrilhes wrote:
> Nico Schottelius wrote :
> >
> > - device naming scheme should be wlanX -> easier to see what it is
>
> There are pros and cons to that. Personally I prefer the approach
> taken by the aironet driver (ethX + wifiX). The interface the
> driver present to the kernel is *really* an Ethernet interface.
> If you really want easy identification, we could take the *BSD
> approach where every driver use it's own unique device name.

Please don't do that. Leave it as it is.
If somebody is not happy with the ethX names, use the nameif utility
to change them into more descriptive names. I've successfully done that
on my firewall machine. It looks like this:

# ifconfig -a|grep "Link encap"|awk '{print $1}'
dmz
lo
loc
net

The nameif utility also is the right tool to link a device name
to an ethernet hardware (MAC) address, so you'll never run into
surprises again. Check out my cute little table:

# cat /etc/mactab
loc 00:40:F4:47:EA:65
dmz 00:40:F4:47:EA:64
net 00:40:F4:47:EA:63

And hey, it's all done in userspace, the holy grail! :-)

Regards,
Toon.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.041 / U:1.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site