single radio interface, BSS count 2

Jouni Malinen j at w1.fi
Mon Feb 22 02:46:13 EST 2010


On Sun, Feb 21, 2010 at 08:29:05PM -0600, green wrote:
> Jouni Malinen wrote at 2010-02-21 04:02 -0600:
> > You can either change the MAC address of the wlan0 interface before
> > starting hostapd (e.g., use a locally administered address
> > 02:21:91:01:11:60)
> 
> I think you meant 00: instead of 02:, unless you wanted that second digit 
> changed from the hardware MAC (I tried both ways).

No, I did indeed mean 02: (that bit is the locally administered field
for the address).

> # ifconfig wlan0 hw ether 00:21:91:01:11:60

> Using interface wlan0 with hwaddr 02:21:91:01:11:60 and ssid 'Welcome'
> Failed to add BSS (BSSID=02:21:91:01:11:61)
> wlan0: Unable to setup interface.

Interesting.. I would have expected this to work. Would you be able to
test this with a more recent kernel version (or compat-wireless for
that matter)? I'll try to test this at some point, but may not be able
to that until next week.

> > or set the MAC address of the virtual interface
> > explicitly (e.g., with bssid=02:21:91:01:11:6f after the bss= line in
> > hostapd.conf).

> ## Return to original MAC
> # ifconfig wlan0 hw ether 00:21:91:01:11:6f
> 
> ## Add bssid line
> # echo "bssid=00:21:91:01:11:6f" >> /etc/hostapd/hostapd.conf

That is not correct. The second address really needs to be
bssid=02:21:91:01:11:6f like I wrote.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list