OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version openwrt-18.06
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by ad - 14.09.2019

FS#2493 - 5g wifi fails on Linksys WRT1900AC hostpad

- Device problem occurs on

 Linksys WRT1900AC

- Software versions of OpenWrt/LEDE release, packages, etc.

 OpenWrt 18.06.4 r7808-ef686b7292 with ipv6 disabled

- Steps to reproduce

  • via LuCI with 2g radios enabled on radio0 (2g works as expected)
  • Turn radio1 on with ac mode, Transmit Power auto, Hide ESSID ticked, channel 36, wmm off, Encryption WPA2, Cipher CCMP, Krack countermeasures ticked, Short preamble ticked, Disassociate on low acknowledgement ticked
  • On initial save, a laptop will connect successfully and be able to browse the web – once a change is made, like changing the channel, access to LuCI is temporarily lost and the 5g light on the unit goes off.
  • Once this occurs, no device can see the 5g SSID anymore.. once access to LuCI comes back, the 5g radio still shows as enabled

From Syslog:

Sep 13 23:33:56 2019 user.notice mac80211: Failed command: iw phy phy1 set antenna all all
Fri Sep 13 23:33:56 2019 daemon.notice netifd: radio1 (16823): command failed: Not supported (-95)
Fri Sep 13 23:33:56 2019 user.notice mac80211: Failed command: iw phy phy1 set distance 0
Fri Sep 13 23:34:22 2019 user.notice mac80211: Failed command: iw phy phy1 set antenna all all
Fri Sep 13 23:34:22 2019 daemon.notice netifd: radio1 (19940): command failed: Not supported (-95)
Fri Sep 13 23:34:22 2019 user.notice mac80211: Failed command: iw phy phy1 set distance 0
Fri Sep 13 23:34:22 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy1.conf
Fri Sep 13 23:34:23 2019 kern.debug kernel: [13773.974005] ieee80211 phy1: change: 0xffffffff
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.104582] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.107676] br-lan: port 3(wlan1) entered blocking state
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.107695] br-lan: port 3(wlan1) entered disabled state
Fri Sep 13 23:34:23 2019 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
Fri Sep 13 23:34:23 2019 daemon.err hostapd: Using interface wlan1 with hwaddr 94:10:3e:xx and ssid "5gssid"
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.107990] device wlan1 entered promiscuous mode
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.108094] br-lan: port 3(wlan1) entered blocking state
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.108106] br-lan: port 3(wlan1) entered forwarding state
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.111029] br-lan: port 3(wlan1) entered disabled state
Fri Sep 13 23:34:23 2019 kern.debug kernel: [13774.211021] ieee80211 phy1: change: 0x100
Fri Sep 13 23:34:23 2019 kern.debug kernel: [13774.219866] ieee80211 phy1: change: 0x42
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.390870] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.390981] br-lan: port 3(wlan1) entered blocking state
Fri Sep 13 23:34:23 2019 kern.info kernel: [13774.390988] br-lan: port 3(wlan1) entered forwarding state
Fri Sep 13 23:34:23 2019 daemon.notice hostapd: wlan1: interface state COUNTRY_UPDATE->ENABLED
Fri Sep 13 23:34:23 2019 daemon.notice hostapd: wlan1: AP-ENABLED
Fri Sep 13 23:34:23 2019 daemon.notice netifd: Network device 'wlan1' link is up
Fri Sep 13 23:35:20 2019 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED xx:xx
...
Sep 13 23:40:51 2019 daemon.notice hostapd: wlan1: DFS-CAC-COMPLETED success=0 freq=5280 ht_enabled=1 chan_offset=0 chan_width=1 cf1=5280 cf2=0
Fri Sep 13 23:40:51 2019 daemon.notice hostapd: wlan1: INTERFACE-DISABLED
Fri Sep 13 23:40:51 2019 kern.info kernel: [14161.966122] br-lan: port 3(wlan1) entered disabled state
Fri Sep 13 23:40:51 2019 kern.info kernel: [14162.009569] device wlan1 left promiscuous mode
Fri Sep 13 23:40:51 2019 kern.info kernel: [14162.009585] br-lan: port 3(wlan1) entered disabled state
Fri Sep 13 23:40:51 2019 user.notice mac80211: Failed command: iw phy phy1 set antenna all all
Fri Sep 13 23:40:51 2019 daemon.notice netifd: radio1 (20987): command failed: Not supported (-95)
Fri Sep 13 23:40:51 2019 user.notice mac80211: Failed command: iw phy phy1 set distance 0
Fri Sep 13 23:40:51 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy1.conf
Fri Sep 13 23:40:51 2019 kern.debug kernel: [14162.333032] ieee80211 phy1: change: 0xffffffff
Fri Sep 13 23:40:51 2019 daemon.notice hostapd: wlan1: INTERFACE-ENABLED
Fri Sep 13 23:40:51 2019 kern.info kernel: [14162.447753] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
Fri Sep 13 23:40:51 2019 daemon.notice hostapd: wlan1: INTERFACE-DISABLED
Fri Sep 13 23:40:51 2019 daemon.err hostapd: nl80211: Could not configure driver mode
Fri Sep 13 23:40:51 2019 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Fri Sep 13 23:40:51 2019 daemon.err hostapd: nl80211 driver initialization failed.
Fri Sep 13 23:40:51 2019 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->DISABLED
Fri Sep 13 23:40:51 2019 daemon.notice hostapd: wlan1: AP-DISABLED
Fri Sep 13 23:40:51 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING
Fri Sep 13 23:40:51 2019 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan1 wasn't started
Fri Sep 13 23:40:51 2019 daemon.notice netifd: radio1 (20987): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 20132 path ()
Fri Sep 13 23:40:51 2019 daemon.notice netifd: radio1 (20987): Device setup failed: HOSTAPD_START_FAILED
Fri Sep 13 23:41:01 2019 user.notice mac80211: Failed command: iw phy phy1 set antenna all all
Fri Sep 13 23:41:01 2019 daemon.notice netifd: radio1 (21197): command failed: Not supported (-95)
Fri Sep 13 23:41:01 2019 user.notice mac80211: Failed command: iw phy phy1 set distance 0
Fri Sep 13 23:41:01 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy1.conf
Fri Sep 13 23:41:02 2019 kern.debug kernel: [14172.951695] ieee80211 phy1: change: 0xffffffff
Fri Sep 13 23:41:02 2019 daemon.notice hostapd: wlan1: INTERFACE-ENABLED
Fri Sep 13 23:41:02 2019 kern.info kernel: [14173.063478] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
Fri Sep 13 23:41:02 2019 daemon.notice hostapd: wlan1: INTERFACE-DISABLED
Fri Sep 13 23:41:02 2019 daemon.err hostapd: nl80211: Could not configure driver mode
Fri Sep 13 23:41:02 2019 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Fri Sep 13 23:41:02 2019 daemon.err hostapd: nl80211 driver initialization failed.
Fri Sep 13 23:41:02 2019 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->DISABLED
Fri Sep 13 23:41:02 2019 daemon.notice hostapd: wlan1: AP-DISABLED
Fri Sep 13 23:41:02 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING
Fri Sep 13 23:41:02 2019 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan1 wasn't started
Fri Sep 13 23:41:02 2019 daemon.notice netifd: radio1 (21197): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 20132 path ()
Fri Sep 13 23:41:02 2019 daemon.notice netifd: radio1 (21197): Device setup failed: HOSTAPD_START_FAILED

Hostpad config:

root@OpenWrt:~# cat /var/run/hostapd-phy1.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=US
ieee80211d=1
ieee80211h=1
hw_mode=a
beacon_int=100
channel=36


ieee80211n=1
ht_coex=0
ht_capab=[LDPC][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40]
ieee80211ac=1
vht_capab=[RXLDPC][SHORT-GI-80][SU-BEAMFORMER][SU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][MAX-A-MPDU-LEN-EXP7]

interface=wlan1
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
preamble=1
wmm_enabled=0
ignore_broadcast_ssid=1
uapsd_advertisement_enabled=1
wpa_passphrase=xx
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=5gssid
bridge=br-lan
wpa_disable_eapol_key_retries=1
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=94:10:3e:xx

Troubleshooting attempted:

  • Changing country code
  • Changing 5g channel
  • Enable/disable WMM mode
  • Restart the 5g interface from LuCI
  • Factory reset and clean setup of 5g

All yield the same issue.

ad commented on 23.09.2019 22:33

I was able to get 5g operational and seemingly bug-free by using the Community version of OpenWRT from davidc502:
https://dc502wrt.org/

Since I already had OpenWRT installed, I selected the .bin for my router model and ran it as an upgrade.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing