single radio interface, BSS count 2

Jouni Malinen j
Sun Mar 7 08:42:53 PST 2010

On Mon, Feb 22, 2010 at 09:13:55AM -0600, green wrote:

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

I don't know what would be causing this. You could try a newer driver
version and/or trying to get some debug information from the driver.

> # ifconfig wlan0 hw ether 00:21:91:01:11:6f
> # echo "bssid=02:21:91:01:11:6f" >> /etc/hostapd/hostapd.conf

> # hostapd -dd /etc/hostapd/hostapd.conf 
> Configuration file: /etc/hostapd/hostapd.conf
> ctrl_interface_group=50 (from group name 'staff')
> Opening raw packet socket for ifindex -843944955
> wlan0: Unable to setup interface.

This looks odd.. Just to be sure that this was not broken by something
else, I would start with configuration file that has the bssid line in
it and rmmod and modprobe ath9k (or reboot) and then start hostapd

Anyway, I was unable to reproduce either of these problems with the
current wireless-testing.git (i.e., current Linux kernel wireless
development tree).

Couple of issues in hostapd prevented multi-BSS configuration from
working properly (but none of those would show up this early in the
setup) and those are now fixed in the current hostap.git tree.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list