HostAP - ToS

Bryan Kadzban bryan at kadzban.is-a-geek.net
Sun Dec 9 21:58:18 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
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
issue.

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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXKtIS5vET1Wea5wRA6UIAKDCPceMDU95bedlB5u6r3KSu2frAgCg3LeN
m8Uj59Zo1G/7a8WLLBh/bI4=
=yd/M
-----END PGP SIGNATURE-----



More information about the HostAP mailing list