site  contact  subhomenews

/dev/wlan now the standard?

August 23, 2009 — BarryK
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].


Username: 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.

Username: puppymike
"I don't know if we are talking about the same thing but my wifi interface (on an eeePC901) is ra0. Rgds Mike

Username: puppymike
"On my Acer Aspire 5100 the wifi is on interface ath0. Rgds Mike

Tags: woof