[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Ipw2100-devel] debian, ipw2200 and wlan0

On Mon, 07 Feb 2005 18:17:20 +0200, Lars Wirzenius <liw@liw.iki.fi> wrote:
> ma, 2005-02-07 kello 16:50 +0100, Mike Hommey kirjoitti:
> > Wireless interfaces should be called wlan%d, not eth%d
> Why is this important? Why does the name of a network interface matter?
> All the tools in Debian that can deal with network interfaces are
> neutral about the name and the name isn't particularly significant to
> users either. If one is worried about which interface name corresponds
> to which physical device, guessing from the name is not a good way.
> Using ifconfig or iwconfig or other tools to do it is a better way.
> (I'm not saying that using wlan%d is bad or wrong, I am asking for
> justifications for that name over eth%d.)

Just one example I can come up with for which it helps.

Resolvconf uses shell pattern matching based on the interface name.

       The  file  /etc/resolvconf/interface‐order is used to control the order
       in which resolvconf nameserver information  records  are  processed  by
       those  resolvconf  update scripts that consult this file.

So eth* comes before wlan*, which seems logical as eth interfaces are
usually faster.
It would be nice if resolvconf could get this information in another
way, but currently it doesn't.


Reply to: