HostAP - ToS

Bryan Kadzban bryan at
Sun Dec 9 21:58:18 EST 2007

Hash: RIPEMD160

Jouni Malinen wrote:
> On Sun, Dec 09, 2007 at 08:06:38PM -0500, Archana Rajagopal wrote:
>> Only wifi0 is created and no wlan0.But there is a file name wlan0
>> in /proc/net/../hostap/. Not sure if its correct to use HostAP on
>> wifi0.
> That sounds odd.. The driver creates two interfaces which are, by 
> default, called wifi0 and wlan0. wifi0 is only used internally...

The distro probably renamed wlan0 because its udev rules are (or were)
old.  For a while, the udev persistent-net support renamed everything to
ethX, whether the initial interface's name was ethX or not.  I think
this has been fixed for a while, but it's possible that either the old
name stuck, or the version of udev in use still has rules that had this

Archana: If you do have an interface whose MAC matches the MAC of the
wifi0 interface, then try editing your distro's generated persistent-net
udev rule file (I'm not sure which file it is, but it'll have comments
in it about "write_net_rules") to name that interface wlan0 instead of
whatever it is now.  Or, wherever you read "wlan0", think whatever your
distro renamed your higher-level interface to; either way should work.
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla -


More information about the HostAP mailing list