Temat: Openwrt 21.02 na Mi Router 3G - brak WiFi w trybie AP

Objawy: Nie widzę w eterze AP na 2.4GHz. Interfejs 5GHz skonfigurowany jako sta i działa OK. Restart WiFi nie pomaga.

Po wykoaniu "wifi" w logach mam:

Thu May 13 16:09:40 2021 daemon.notice hostapd: Remove interface 'wlan0'
Thu May 13 16:09:40 2021 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED
Thu May 13 16:09:40 2021 daemon.notice hostapd: wlan0: AP-DISABLED
Thu May 13 16:09:40 2021 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Thu May 13 16:09:40 2021 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Thu May 13 16:09:40 2021 kern.info kernel: [1300783.737180] device wlan0 left promiscuous mode
Thu May 13 16:09:40 2021 kern.info kernel: [1300783.742060] br-lan: port 4(wlan0) entered disabled state
Thu May 13 16:09:44 2021 kern.err kernel: [1300787.193645] mt7603e 0000:01:00.0: MCU message 8 (seq 13) timed out
Thu May 13 16:09:45 2021 daemon.notice netifd: Network device 'wlan0' link is down
Thu May 13 16:09:46 2021 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0) --> new PHY
Thu May 13 16:09:49 2021 kern.err kernel: [1300792.825614] mt7603e 0000:01:00.0: MCU message 8 (seq 14) timed out
Thu May 13 16:09:50 2021 kern.info kernel: [1300793.456716] br-lan: port 4(wlan0) entered blocking state
Thu May 13 16:09:50 2021 kern.info kernel: [1300793.462333] br-lan: port 4(wlan0) entered disabled state
Thu May 13 16:09:50 2021 kern.info kernel: [1300793.468294] device wlan0 entered promiscuous mode
Thu May 13 16:09:50 2021 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Thu May 13 16:09:53 2021 kern.err kernel: [1300796.665612] mt7603e 0000:01:00.0: MCU message 8 (seq 15) timed out
Thu May 13 16:09:54 2021 kern.info kernel: [1300797.310121] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Thu May 13 16:09:54 2021 kern.info kernel: [1300797.317033] br-lan: port 4(wlan0) entered blocking state
Thu May 13 16:09:54 2021 kern.info kernel: [1300797.322576] br-lan: port 4(wlan0) entered forwarding state
Thu May 13 16:09:54 2021 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->ENABLED
Thu May 13 16:09:54 2021 daemon.notice hostapd: wlan0: AP-ENABLED
Thu May 13 16:09:55 2021 daemon.notice netifd: Network device 'wlan0' link is up

Dość złowieszczo wygląda zwłaszcza ten komunikat:

kern.err kernel: [1300787.193645] mt7603e 0000:01:00.0: MCU message 8 (seq 13) timed out

Zauważyłem że hostapd jest inaczej wywołany w najnowszym wydaniu, czy tak ma być?

Openwrt 21:

/usr/sbin/hostapd -s -g /var/run/hostapd/global

Openwrt 19:

/usr/sbin/hostapd -s -P /var/run/wifi-phy0.pid -B /var/run/hostapd-phy0.conf

2

Odp: Openwrt 21.02 na Mi Router 3G - brak WiFi w trybie AP

W 21.02 hostapd uruchomiony jest cały czas a wifi jest dodawane dynamicznie. Tak wygląda jak by się wifi samo z siebie wyłączyło...

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Openwrt 21.02 na Mi Router 3G - brak WiFi w trybie AP

Generalnie to wifi działało przez jakieś 10 dni, potem po prostu siadło...
Restart wifi nic nie dał, reboot routera już tak.