Openwrt: 2 SSIDs, one control socket
Ming-Ching Tiew
mctiew
Thu Apr 7 19:44:28 PDT 2011
The problem of having 2 SSIDs but only one control socket is show on Openwrt running hostpad/wpad ( version v0.8.x ) and here is the sniplet of the hostapd.conf :-
ctrl_interface=/var/run/hostapd-phy0
driver=nl80211
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0
tx_queue_data3_aifs=7
tx_queue_data3_cwmin=15
tx_queue_data3_cwmax=1023
tx_queue_data3_burst=0
tx_queue_data2_aifs=3
tx_queue_data2_cwmin=15
tx_queue_data2_cwmax=63
tx_queue_data2_burst=0
tx_queue_data1_aifs=1
tx_queue_data1_cwmin=7
tx_queue_data1_cwmax=15
tx_queue_data1_burst=3.0
tx_queue_data0_aifs=1
tx_queue_data0_cwmin=3
tx_queue_data0_cwmax=7
tx_queue_data0_burst=1.5
hw_mode=g
channel=11
ieee80211n=1
ht_capab=[HT20][SHORT-GI-40][DSSS_CCK-40]
interface=wlan0
auth_algs=1
wpa=0
ssid=OpenWrt2
bridge=br-lan
wmm_enabled=1
bssid=00:25:9c:49:e6:49
ignore_broadcast_ssid=0
bss=wlan1
auth_algs=1
wpa=0
ssid=OpenWrt3
bridge=br-lan
wmm_enabled=1
bssid=06:25:9c:49:e6:49
ignore_broadcast_ssid=0
Two SSIDs ( Openwrt2 & Openwrt3 ) are created with network interface wlan0 and wlan1 respectively but only one control socket (wlan0) is created in /var/run/hostapd-phy0 and so can't use hostapd_cli to monitor the events on wlan1.
More information about the Hostap
mailing list