Q: hostapd fails for AP with 2 SSID on Intel 7260

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Would appreciate help troubleshooting unless this is a known issue.

Was using openwrt 18.06.2 on x86 fine with another USB miniPCIe wifi 2.4 Ghz
card set up simply as AP with two SSID. Got 7260 intel mini PCIe so i could
get 5Ghz/AC.

With just one SSID it works fine. When i add second SSID, hostapd bails
trying to create the interface wlan0-1 (device or resource busy).
"iw list" claims interface supports 20 SSID. Which sounds to me as if it should work.

Reproduced with latest debian 9 (had to remove some more detailed config lines 
from openwrt hostapd.conf for it to work). Also works on debian with one SSID.

Any idea how to try to reproduce the steps hostapd takes over netlink to set
up the interface via CLI ? Or any other idea how to continue troubleshooting.

Thanks!
    Toerless

-----------

% hostapd hostapd-phy0.conf 
Configuration file: hostapd-phy0.conf
wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Using interface wlan0 with hwaddr 7c:5c:01:ac:a5:8f and ssid "ssid1"
Could not set interface wlan0-1 flags (UP): Device or resource busy
Failed to add BSS (BSSID=7c:5c:01:ac:a5:90)
Interface initialization failed
wlan0: interface state COUNTRY_UPDATE->DISABLED
wlan0: AP-DISABLED 
wlan0: Unable to setup interface.
wlan0: interface state DISABLED->DISABLED
wlan0: AP-DISABLED 
hostapd_free_hapd_data: Interface wlan0-1 wasn't started
wlan0: AP-DISABLED 
hostapd_free_hapd_data: Interface wlan0 wasn't started
nl80211: deinit ifname=wlan0 disabled_11b_rates=0

------------
# hostapd-phy0.conf

driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=00
ieee80211d=1
hw_mode=g
beacon_int=100
channel=6


ieee80211n=1
ht_capab=[SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40]

interface=wlan0
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
wpa_passphrase=gummiadler
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=ssid1
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=7c:5c:01:ac:a5:8f


bss=wlan0-1
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
wpa_passphrase=gummiadler2
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=ssid2
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=7c:5c:01:ac:a5:90

---------------------
strace:

ioctl(7, SIOCSIFFLAGS, {ifr_name="wlan0-1", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_MULTICAST}) = -1 EBUSY (Device or resource busy)


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux