/dev/wlan now the standard?

A question for anyone who might know. I think that the recent kernels and wireless drivers have standardised on /dev/wlan0, wlan1, etc. for the device interface. Does anyone know of any exceptions to this?

The reason I ask is I'm putting together a little logger daemon, that will do a cumulative log of downloads/uploads so that you can see how much you have used of your monthly allowance. I plan for it also to show KB/sec up/down, which is another thing that we have been missing in Puppy.

I plan to read /proc/net/dev periodically. I'll look for interfaces eth[0-4], wlan[0-4] and ppp[0-4].

Posted on 23 Aug 2009, 8:25


Posted on 23 Aug 2009, 12:06 by tempestuous
Yes, I read some time ago that all official in-tree wifi modules now create "wlanxx" interfaces.
Development is managed by LinuxWireless
and regularly fed upstream to the official kernel

... but third-party wifi drivers don't necessarily follow this convention.

Posted on 23 Aug 2009, 15:35 by puppymike
I don't know if we are talking about the same thing but my wifi interface (on an eeePC901) is ra0.

Rgds Mike

Posted on 23 Aug 2009, 18:57 by downsouth
Ndiswrapper normally is wlan0. I blacklisted (on my eee901) rt2860sta (due to low signal strength) & use rt2860 files via ndiswrapper. Wifi is wlan0.

Posted on 24 Aug 2009, 5:28 by puppymike
On my Acer Aspire 5100 the wifi is on interface ath0.

Rgds Mike