Temat: wifi samoczynnie się wyłącza
Mam bardzo dziwną sprawę. Router którego dotyczy problem to TPLink WDR3600. Sytuacja wygląda tak, że mam włączone oba interfejsy WLAN (2,4 GHz i 5 GHz) i wszystko jest w porządku do momentu aż jedna osoba zaczyna wieczorem oglądać filmy z serwera na sieci (otwiera pliki za pomocą protokołu SMB). Po kilku/kilkunastu minutach wifi się wyłącza (w LUCI w Network/Wireless oba interfejsy mają wtedy aktywny przycisk "Enable"). Poprzednio miałem OpenWRT od Cezarego w wersji 21.02 r16611, ale dzisiaj postawiłem od zera 22.03 r19540 (cały konfig zrobiłem ręcznie od zera). Na obu wersjach występuje to samo dziwne zjawisko. Ma ktoś jakiś pomysł dlaczego tak się dzieje?
Aha: router ma wyłączone interfejsy WAN i WAN6 a na switchu fizyczny port WAN jest ustawiony tak samo jak wszystkie porty LAN (czyli jest w VLANie 1). Router pełni tylko rolę Access Pointa (serwer DHCP i router z modemem jest na innym urządzeniu).
Log od momentu podłączenia się klienta do zdechnięcia wifi wygląda tak:
Sat Jul 23 21:45:34 2022 daemon.info hostapd: wlan0: STA 18:26:49:ac:c1:6e IEEE 802.11: authenticated
Sat Jul 23 21:45:34 2022 daemon.info hostapd: wlan0: STA 18:26:49:ac:c1:6e IEEE 802.11: associated (aid 2)
Sat Jul 23 21:45:34 2022 daemon.notice hostapd: wlan0: STA-OPMODE-SMPS-MODE-CHANGED 18:26:49:ac:c1:6e off
Sat Jul 23 21:45:34 2022 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 18:26:49:ac:c1:6e
Sat Jul 23 21:45:34 2022 daemon.info hostapd: wlan0: STA 18:26:49:ac:c1:6e WPA: pairwise key handshake completed (RSN)
Sat Jul 23 21:45:34 2022 daemon.notice hostapd: wlan0: EAPOL-4WAY-HS-COMPLETED 18:26:49:ac:c1:6e
Sat Jul 23 21:46:41 2022 daemon.notice hostapd: wlan0: STA-OPMODE-SMPS-MODE-CHANGED 18:26:49:ac:c1:6e dynamic
Sat Jul 23 21:58:06 2022 daemon.notice hostapd: Remove interface 'wlan1'
Sat Jul 23 21:58:06 2022 daemon.notice hostapd: wlan1: interface state ENABLED->DISABLED
Sat Jul 23 21:58:06 2022 daemon.notice hostapd: wlan1: AP-DISABLED
Sat Jul 23 21:58:06 2022 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING
Sat Jul 23 21:58:06 2022 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Sat Jul 23 21:58:06 2022 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Sat Jul 23 21:58:06 2022 kern.info kernel: [26852.092897] device wlan1 left promiscuous mode
Sat Jul 23 21:58:06 2022 kern.info kernel: [26852.097561] br-lan: port 2(wlan1) entered disabled state
Sat Jul 23 21:58:06 2022 daemon.notice netifd: Network device 'wlan1' link is down
Sat Jul 23 21:58:06 2022 daemon.notice hostapd: Remove interface 'wlan0'
Sat Jul 23 21:58:06 2022 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED
Sat Jul 23 21:58:06 2022 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 18:26:49:ac:c1:6e
Sat Jul 23 21:58:06 2022 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 6e:e5:99:56:fc:8b
Sat Jul 23 21:58:06 2022 daemon.notice hostapd: wlan0: AP-DISABLED
Sat Jul 23 21:58:06 2022 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sat Jul 23 21:58:06 2022 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Sat Jul 23 21:58:06 2022 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sat Jul 23 21:58:06 2022 kern.info kernel: [26852.150177] device wlan0 left promiscuous mode
Sat Jul 23 21:58:06 2022 kern.info kernel: [26852.155318] br-lan: port 3(wlan0) entered disabled state
Sat Jul 23 21:58:06 2022 daemon.notice netifd: Network device 'wlan0' link is down
Sat Jul 23 21:58:06 2022 daemon.notice netifd: Wireless device 'radio1' is now down
Sat Jul 23 21:58:06 2022 daemon.notice netifd: Wireless device 'radio0' is now down
Sat Jul 23 21:58:27 2022 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0) --> new PHY
Sat Jul 23 21:58:27 2022 kern.info kernel: [26873.469891] br-lan: port 2(wlan0) entered blocking state
Sat Jul 23 21:58:27 2022 kern.info kernel: [26873.475296] br-lan: port 2(wlan0) entered disabled state
Sat Jul 23 21:58:27 2022 kern.info kernel: [26873.481094] device wlan0 entered promiscuous mode
Sat Jul 23 21:58:27 2022 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sat Jul 23 21:58:27 2022 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Sat Jul 23 21:58:27 2022 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->ACS
Sat Jul 23 21:58:27 2022 daemon.notice hostapd: wlan0: ACS-STARTED
Sat Jul 23 21:58:27 2022 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy1.conf (phy wlan1) --> new PHY
Sat Jul 23 21:58:28 2022 kern.info kernel: [26873.617649] br-lan: port 3(wlan1) entered blocking state
Sat Jul 23 21:58:28 2022 kern.info kernel: [26873.623109] br-lan: port 3(wlan1) entered disabled state
Sat Jul 23 21:58:28 2022 kern.info kernel: [26873.628864] device wlan1 entered promiscuous mode
Sat Jul 23 21:58:28 2022 kern.info kernel: [26873.633763] br-lan: port 3(wlan1) entered blocking state
Sat Jul 23 21:58:28 2022 kern.info kernel: [26873.639210] br-lan: port 3(wlan1) entered forwarding state
Sat Jul 23 21:58:28 2022 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
Sat Jul 23 21:58:28 2022 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Sat Jul 23 21:58:28 2022 daemon.notice hostapd: wlan1: interface state COUNTRY_UPDATE->ACS
Sat Jul 23 21:58:28 2022 daemon.notice hostapd: wlan1: ACS-STARTED
Sat Jul 23 21:58:28 2022 kern.info kernel: [26874.468611] br-lan: port 3(wlan1) entered disabled state
Sat Jul 23 21:58:29 2022 daemon.notice netifd: Wireless device 'radio0' is now up
Sat Jul 23 21:58:29 2022 daemon.notice netifd: Wireless device 'radio1' is now up
Sat Jul 23 21:58:35 2022 daemon.notice hostapd: wlan0: ACS-COMPLETED freq=2472 channel=13
Sat Jul 23 21:58:36 2022 kern.info kernel: [26881.538166] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sat Jul 23 21:58:36 2022 kern.info kernel: [26881.544884] br-lan: port 2(wlan0) entered blocking state
Sat Jul 23 21:58:36 2022 kern.info kernel: [26881.550319] br-lan: port 2(wlan0) entered forwarding state
Sat Jul 23 21:58:36 2022 daemon.notice netifd: Network device 'wlan0' link is up
Sat Jul 23 21:58:36 2022 daemon.notice hostapd: wlan0: interface state ACS->ENABLED
Sat Jul 23 21:58:36 2022 daemon.notice hostapd: wlan0: AP-ENABLED
Sat Jul 23 21:58:38 2022 daemon.notice hostapd: Remove interface 'wlan0'
Sat Jul 23 21:58:38 2022 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED
Sat Jul 23 21:58:38 2022 daemon.notice hostapd: wlan0: AP-DISABLED
Sat Jul 23 21:58:38 2022 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sat Jul 23 21:58:38 2022 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Sat Jul 23 21:58:38 2022 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sat Jul 23 21:58:38 2022 kern.info kernel: [26883.621593] device wlan0 left promiscuous mode
Sat Jul 23 21:58:38 2022 kern.info kernel: [26883.626265] br-lan: port 2(wlan0) entered disabled state
Sat Jul 23 21:58:38 2022 daemon.notice netifd: Network device 'wlan0' link is down
Sat Jul 23 21:58:38 2022 daemon.notice hostapd: Remove interface 'wlan1'
Sat Jul 23 21:58:38 2022 daemon.notice hostapd: wlan1: interface state ACS->DISABLED
Sat Jul 23 21:58:38 2022 daemon.notice hostapd: wlan1: AP-DISABLED
Sat Jul 23 21:58:38 2022 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING
Sat Jul 23 21:58:38 2022 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Sat Jul 23 21:58:38 2022 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan1 wasn't started
Sat Jul 23 21:58:38 2022 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Sat Jul 23 21:58:38 2022 kern.info kernel: [26883.669092] device wlan1 left promiscuous mode
Sat Jul 23 21:58:38 2022 kern.info kernel: [26883.673726] br-lan: port 3(wlan1) entered disabled state
Sat Jul 23 21:58:38 2022 daemon.notice netifd: Wireless device 'radio0' is now down
Sat Jul 23 21:58:38 2022 daemon.notice netifd: Wireless device 'radio1' is now down