-----
Running DESIGNATED DRIVER (Bleeding Edge, r49377) on a Linksys EA3500.
The 5GHz radio works fine (radio1), but after enabling the 2.4GHz radio (radio0) it still reads "Wireless is disabled or not associated" in LuCI. Also, all the drop-downs for selecting the frequency options are empty. This is what the edit screen looks like:
Here is the config for radio0:
# cat /var/run/hostapd-phy0.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
hw_mode=a
channel=acs_survey
interface=wlan0
ctrl_interface=/var/run/hostapd
ap_isolate=1
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
wpa_passphrase=--redacted--
auth_algs=1
wpa=3
wpa_pairwise=CCMP
ssid=MikeU
bridge=br-lan
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=20:aa:4b:89:b6:66
The working 5GHz radio1 has an almost identical config.
Here are the radio0 lines in the system logs after a reboot:
# logread | grep radio0
Sat May 21 03:50:25 2016 daemon.notice netifd: radio0 (2030): command failed: Not supported (-95)
Sat May 21 03:50:26 2016 daemon.notice netifd: radio0 (2030): Configuration file: /var/run/hostapd-phy0.conf
Sat May 21 03:50:27 2016 daemon.notice netifd: radio0 (2030): Hardware does not support configured mode
Sat May 21 03:50:27 2016 daemon.notice netifd: radio0 (2030): wlan0: IEEE 802.11 Hardware does not support configured mode (2) (hw_mode in hostapd.conf)
Sat May 21 03:50:27 2016 daemon.notice netifd: radio0 (2030): Could not select hw_mode and channel. (-2)
Sat May 21 03:50:27 2016 daemon.notice netifd: radio0 (2030): wlan0: interface state UNINITIALIZED->DISABLED
Sat May 21 03:50:27 2016 daemon.notice netifd: radio0 (2030): wlan0: AP-DISABLED
Sat May 21 03:50:27 2016 daemon.notice netifd: radio0 (2030): wlan0: Unable to setup interface.
Sat May 21 03:50:27 2016 daemon.notice netifd: radio0 (2030): wlan0: interface state DISABLED->DISABLED
Sat May 21 03:50:27 2016 daemon.notice netifd: radio0 (2030): wlan0: AP-DISABLED
Sat May 21 03:50:27 2016 daemon.notice netifd: radio0 (2030): hostapd_free_hapd_data: Interface wlan0 wasn't started
Sat May 21 03:50:27 2016 daemon.notice netifd: radio0 (2030): nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sat May 21 03:50:27 2016 daemon.notice netifd: radio0 (2030): cat: can't open '/var/run/wifi-phy0.pid': No such file or directory
Sat May 21 03:50:27 2016 daemon.notice netifd: radio0 (2030): Command failed: Invalid argument
Sat May 21 03:50:27 2016 daemon.notice netifd: radio0 (2030): Device setup failed: HOSTAPD_START_FAILED
radio1:
# logread | grep radio1
Sat May 21 03:50:26 2016 daemon.notice netifd: radio1 (2031): command failed: Not supported (-95)
Sat May 21 03:50:26 2016 daemon.notice netifd: radio1 (2031): Configuration file: /var/run/hostapd-phy1.conf
Sat May 21 03:50:27 2016 daemon.notice netifd: radio1 (2031): wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
Sat May 21 03:50:27 2016 daemon.notice netifd: radio1 (2031): Using interface wlan1 with hwaddr 20:aa:4b:89:b6:68 and ssid "MikeU"
Sat May 21 03:50:28 2016 daemon.notice netifd: radio1 (2031): wlan1: interface state COUNTRY_UPDATE->ENABLED
Sat May 21 03:50:28 2016 daemon.notice netifd: radio1 (2031): wlan1: AP-ENABLED
Full system log here.
I don't know what that first "command failed: Not supported (-95)" error is referring to but it appears for the working radio1 as well so I assume this is not the problem. The real issue seems to be "Hardware does not support configured mode ... wlan0: IEEE 802.11 Hardware does not support configured mode (2) (hw_mode in hostapd.conf)".
----- As shown above hw_mode=a ("Access Point"). I don't know much about WiFi so I don't know what the mode should be if it's not "Access Point". Any ideas? -----
Edit:
This is incorrect. hw_mode=a sets the WiFi device's wireless protocol to 802.11a and has nothing to do with the WiFi interface's operation mode ("Access Point").
Thanks,
- Mike
(Last edited by yo1dog on 7 Jun 2016, 16:37)