Hi guri at large ....
We are trying to utilize hostapd 0.7.3 in combination with FreeBSD 8.2 to broadcast multiple SSIDs over a single physical wireless interface. If we do this the way hostapd intends, adding multiple bss statements in the configuration, hostapd fails to start with the following output:
Our configuration is fairly minimalistic for the sake of debugging:
If we peruse the hostapd source we can see that the error message "failed to add BSS" is directly related to adding the interface specified on the bss= line through hostapd_if_add. This seems to fail for reasons yet unknown to us. But the nature of hostapd_if_add and the hapd->driver->if_add call within that function leads us to believe it might be a driver issue.
This problem is reproducible on all our hardware using several Atheros wireless chips and persists when running FreeBSD 8.1, 8.2 and 9.0-CURRENT, but appears to be restricted to FreeBSD or at the very least the BSD driver. As the configuration as is works perfectly on Linux with the nl80211 driver.
Does anyone have a clue here? We think that is might be an atheros device driver issue.
Rudi van Drunen
We are trying to utilize hostapd 0.7.3 in combination with FreeBSD 8.2 to broadcast multiple SSIDs over a single physical wireless interface. If we do this the way hostapd intends, adding multiple bss statements in the configuration, hostapd fails to start with the following output:
Code:
Using interface wlan0 with hwaddr 1c:4b:d6:90:f7:8b and ssid 'mode0_ap'
Failed to add BSS (BSSID=1c:4b:d6:90:f7:8c)
wlan0: Unable to setup interface
Failed to remove BSS interface wlan1
Our configuration is fairly minimalistic for the sake of debugging:
Code:
interface=wlan0
driver=bsd
hw_mode=g
channel=6
ssid=mode0_ap
wpa=2
wpa_pairwise=TKIP CCMP
wpa_passphrase=thisisasecret
bss=wlan1
bssid=1c:4b:d6:90:f7:8c
ssid=mode1_ap
wpa=2
wpa_pairwise=TKIP CCMP
wpa_passphrase=thisisalsoasecret
If we peruse the hostapd source we can see that the error message "failed to add BSS" is directly related to adding the interface specified on the bss= line through hostapd_if_add. This seems to fail for reasons yet unknown to us. But the nature of hostapd_if_add and the hapd->driver->if_add call within that function leads us to believe it might be a driver issue.
This problem is reproducible on all our hardware using several Atheros wireless chips and persists when running FreeBSD 8.1, 8.2 and 9.0-CURRENT, but appears to be restricted to FreeBSD or at the very least the BSD driver. As the configuration as is works perfectly on Linux with the nl80211 driver.
Does anyone have a clue here? We think that is might be an atheros device driver issue.
Rudi van Drunen