hostapd BSSID configuration

wonko2k at gmx.net wonko2k at gmx.net
Sun Apr 17 06:40:10 EDT 2011


Hi,

have a little problem on creating an BSSID configuration with the lastest stable hostapd version.

My hostapd.conf:
interface=wlan0
driver=nl80211
channel=8
hw_mode=g

ssid=Test
ignore_broadcast_ssid=0
macaddr_acl=0
max_num_sta=10
rts_threshold=2347
fragm_threshold=2346
auth_algs=1
wmm_enabled=0
wpa=2
rsn_preauth=1
rsn_preauth_interfaces=wlan0
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
wpa_gmk_rekey=86400
wpa_passphrase=123456789

bss=wlan0_0
bssid=48:5d:60:7c:bd:f1
ssid=Test2
ignore_broadcast_ssid=0
macaddr_acl=0
max_num_sta=10
rts_threshold=2347
fragm_threshold=2346
auth_algs=1
wmm_enabled=0
wpa=2
rsn_preauth=1
rsn_preauth_interfaces=wlan0
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
wpa_gmk_rekey=86400
wpa_passphrase=123456789

The result on "hostapd -dd /etc/hostapd/hostapd.conf":

Configuration file: /etc/hostapd/hostapd.conf
Opening raw packet socket for ifindex 4199392
BSS count 2, BSSID mask ff:ff:ff:ff:ff:fe (1 bits)
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
nl80211: Added 802.11b mode based on 802.11g information
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
Passive scanning not supported
Mode: IEEE 802.11g  Channel: 8  Frequency: 2447 MHz
Flushing old station entries
Deauthenticate all stations
Using interface wlan0 with hwaddr 48:5d:60:7c:bd:f0 and ssid 'Test'
SSID - hexdump_ascii(len=4):
     54 65 73 74                                       Test
PSK (ASCII passphrase) - hexdump_ascii(len=9):
     31 32 33 34 35 36 37 38 39                        123456789
PSK (from passphrase) - hexdump(len=32): 2e d6 96 9d 46 55 6e d2 ff d2 b5 e8 ed a9 1c 50 5a 80 4e ec 53 bd 08 a1 75 2e e1 a1 c9 34 9e 47
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GMK - hexdump(len=32): [REMOVED]
GTK - hexdump(len=16): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
RSN pre-auth interface 'wlan0'
Failed to add BSS (BSSID=48:5d:60:7c:bd:f1)
wlan0: Unable to setup interface.
Failed to remove interface.

MAC on wlan0 changed from 48:5d:60:7c:bd:fa to 48:5d:60:7c:bd:f0
If i comment last block out, hostap will start the one ap with ssid "Test".
Changed the mac address to different configurations, but the error remains.

Would be very glad if someone could give me a hint.

best regards

Peter

-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl


More information about the HostAP mailing list