1

(3,933 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary napisał/a:

The logs suggest the router has been restarted.

So maybe it's not a problem that "the wifi stops working" but that the router is restarting itself over and over for some reason.

Oh I see, thank you for clarifying!

I logged in with SSH, and I used logread -f. I had enabled wifi N already. I then enabled OpenWrt default wifi AC on and off to generate logs and see if it was working, and then I saw that wifi n connection disconnected, and the router restarted... This is the log from SSH just before the router restarted . Any ideas? Thank you!
"
logread -f
Sun Apr 13 10:29:00 2025 daemon.notice netifd: radio1 (6104): WARNING: Variable 'data' does not exist or is not an array/object
Sun Apr 13 10:29:01 2025 kern.debug kernel: [  971.424460] ath: EEPROM regdomain: 0x8268
Sun Apr 13 10:29:01 2025 kern.debug kernel: [  971.424518] ath: EEPROM indicates we should expect a country code
Sun Apr 13 10:29:01 2025 kern.debug kernel: [  971.427575] ath: doing EEPROM country->regdmn map search
Sun Apr 13 10:29:01 2025 kern.debug kernel: [  971.433563] ath: country maps to regdmn code: 0x37
Sun Apr 13 10:29:01 2025 kern.debug kernel: [  971.438971] ath: Country alpha2 being used: PL
Sun Apr 13 10:29:01 2025 kern.debug kernel: [  971.443535] ath: Regpair used: 0x37
Sun Apr 13 10:29:01 2025 kern.debug kernel: [  971.447986] ath: regdomain 0x8268 dynamically updated by user
Sun Apr 13 10:29:01 2025 kern.debug kernel: [  971.451385] ath: EEPROM regdomain: 0x8268
Sun Apr 13 10:29:01 2025 kern.debug kernel: [  971.457282] ath: EEPROM indicates we should expect a country code
Sun Apr 13 10:29:01 2025 kern.debug kernel: [  971.461251] ath: doing EEPROM country->regdmn map search
Sun Apr 13 10:29:01 2025 kern.debug kernel: [  971.467350] ath: country maps to regdmn code: 0x37
Sun Apr 13 10:29:01 2025 kern.debug kernel: [  971.472703] ath: Country alpha2 being used: PL
Sun Apr 13 10:29:01 2025 kern.debug kernel: [  971.477335] ath: Regpair used: 0x37
Sun Apr 13 10:29:01 2025 kern.debug kernel: [  971.481728] ath: regdomain 0x8268 dynamically updated by user
Sun Apr 13 10:29:02 2025 daemon.notice hostapd: Set new config for phy phy1:
Sun Apr 13 10:29:02 2025 daemon.notice wpa_supplicant[1757]: Set new config for phy phy1
Sun Apr 13 10:29:02 2025 daemon.notice wpa_supplicant[1757]: Set new config for phy phy1
Sun Apr 13 10:29:02 2025 daemon.notice hostapd: Set new config for phy phy1: /path/to/hostapd-phy1.conf
Sun Apr 13 10:29:02 2025 daemon.notice hostapd: Restart interface for phy phy1
Sun Apr 13 10:29:03 2025 daemon.notice hostapd: Configuration file: data: driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 country_code=PL ieee80211d=1 ieee80211h=1 hw_mode=a beacon_int=100 stationary_ap=1 chanlist=36 tx_queue_data2_burst=2.0 #num_global_macaddr=1 #macaddr_base= ieee80211n=1 ht_coex=0 ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935][DSSS_CCK-40] ieee80211ac=1 vht_oper_chwidth=1 vht_oper_centr_freq_seg0_idx=42 vht_capab=[RXLDPC][SHORT-GI-80][TX-STBC-2BY1][SU-BEAMFORMER][SU-BEAMFORMEE][MU-BEAMFORMER][MU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][SOUNDING-DIMENSION-2][BF-ANTENNA-3][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7] channel=36  interface=phy1-ap0 bssid=xx:xx:xx:xx:xx:xx ctrl_interface=/path/to/hostapd ap_isolate=1 bss_load_update_period=60 chan_util_avg_period=600 disassoc_low_ack=0 skip_inactivity_poll=0 preamble=1 wmm_enabled=1 ignore_broadcast_ssid=0 uapsd_advertisement_enabled=1 utf8_ssid=1 multi_ap=0 auth_a
Sun Apr 13 10:29:04 2025 kern.info kernel: [  974.780506] br-lan: port 5(phy1-ap0) entered blocking state
Sun Apr 13 10:29:04 2025 kern.info kernel: [  974.780570] br-lan: port 5(phy1-ap0) entered disabled state
Sun Apr 13 10:29:04 2025 kern.info kernel: [  974.785170] ath10k_ahb a800000.wifi phy1-ap0: entered allmulticast mode
Sun Apr 13 10:29:04 2025 kern.info kernel: [  974.790906] ath10k_ahb a800000.wifi phy1-ap0: entered promiscuous mode
Sun Apr 13 10:29:04 2025 kern.info kernel: [  974.797385] br-lan: port 5(phy1-ap0) entered blocking state
Sun Apr 13 10:29:04 2025 kern.info kernel: [  974.803670] br-lan: port 5(phy1-ap0) entered forwarding state
Sun Apr 13 10:29:04 2025 kern.info kernel: [  974.809890] br-lan: port 5(phy1-ap0) entered disabled state
Sun Apr 13 10:29:04 2025 daemon.notice hostapd: phy1-ap0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sun Apr 13 10:29:04 2025 daemon.notice hostapd: phy1-ap0: interface state COUNTRY_UPDATE->HT_SCAN
Sun Apr 13 10:29:04 2025 daemon.notice netifd: Wireless device 'radio1' is now up
Sun Apr 13 10:29:05 2025 daemon.notice netifd: Network device 'phy1-ap0' link is up
Sun Apr 13 10:29:05 2025 kern.info kernel: [  975.356673] br-lan: port 5(phy1-ap0) entered blocking state
Sun Apr 13 10:29:05 2025 kern.info kernel: [  975.356740] br-lan: port 5(phy1-ap0) entered forwarding state
Sun Apr 13 10:29:05 2025 daemon.notice hostapd: phy1-ap0: interface state HT_SCAN->ENABLED
Sun Apr 13 10:29:05 2025 daemon.notice hostapd: phy1-ap0: AP-ENABLED
Sun Apr 13 10:29:08 2025 daemon.notice ksmbd: Stopping Ksmbd userspace service.
Sun Apr 13 10:29:08 2025 daemon.notice ksmbd: Starting Ksmbd userspace service.
Sun Apr 13 10:29:09 2025 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Sun Apr 13 10:29:09 2025 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 2 names
Sun Apr 13 10:29:09 2025 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Sun Apr 13 10:29:10 2025 kern.info kernel: [  980.034631] ath10k_ahb a800000.wifi phy1-ap0: left allmulticast mode
Sun Apr 13 10:29:10 2025 kern.info kernel: [  980.034719] ath10k_ahb a800000.wifi phy1-ap0: left promiscuous mode
Sun Apr 13 10:29:10 2025 kern.info kernel: [  980.040385] br-lan: port 5(phy1-ap0) entered disabled state
Sun Apr 13 10:29:10 2025 daemon.notice hostapd: Set new config for phy phy1:
Sun Apr 13 10:29:10 2025 daemon.notice hostapd: Remove interface 'phy1'
Sun Apr 13 10:29:10 2025 daemon.notice hostapd: phy1-ap0: interface state ENABLED->DISABLED
Sun Apr 13 10:29:10 2025 daemon.notice hostapd: phy1-ap0: AP-DISABLED
Sun Apr 13 10:29:10 2025 daemon.notice hostapd: phy1-ap0: CTRL-EVENT-TERMINATING
Sun Apr 13 10:29:10 2025 daemon.err hostapd: rmdir[ctrl_interface=/path/to/hostapd]: Permission denied
Sun Apr 13 10:29:10 2025 daemon.notice hostapd: nl80211: deinit ifname=phy1-ap0 disabled_11b_rates=0
Sun Apr 13 10:29:10 2025 daemon.notice hostapd: nl80211: Failed to remove interface phy1-ap0 from bridge br-lan: Invalid argument
Sun Apr 13 10:29:10 2025 kern.warn kernel: [  980.335956] ath10k_ahb a800000.wifi: peer-unmap-event: unknown peer id 1
Sun Apr 13 10:29:10 2025 daemon.notice wpa_supplicant[1757]: Set new config for phy phy1
Sun Apr 13 10:29:10 2025 daemon.notice netifd: Wireless device 'radio1' is now down
Sun Apr 13 10:29:13 2025 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Sun Apr 13 10:29:13 2025 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 2 names
Sun Apr 13 10:29:13 2025 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Sun Apr 13 10:29:13 2025 daemon.notice ksmbd: Stopping Ksmbd userspace service.
Sun Apr 13 10:29:13 2025 daemon.notice ksmbd: Starting Ksmbd userspace service.
client_loop: send disconnect: Broken pipe

"

2

(3,933 odpowiedzi, napisanych Sprzęt / Hardware)

What you mean makes total sense. I am not disconnecting/ connecting the router manually or on purpose. When WiFi disconnects, I am just waiting.

For example, again happened that it dropped. WiFi client disconnected, ssid could not be seen anymore.  I waited until I could see ssid, I logged in and this is the log now. Only I cannot see the logs I posted earlier anymore… but I do se logs from yesterday, in every case.

Unless maybe the clock marks a different time and I think it’s from yesterday but is from today! Mmm let me check

3

(3,933 odpowiedzi, napisanych Sprzęt / Hardware)

Okey, I just went to look for more logs, and I realized that the logs I shared earlier disappeared. I am putting the last one that I have from last night…
“Sat Apr 12 23:00:16 2025 user.notice firewall: Reloading firewall due to ifup of SIM_4 (wwan0)
Sun Apr 13 07:54:12 2025 daemon.info hostapd: phy0-ap0: STA [MAC_REDACTED] IEEE 802.11: authenticated
Sun Apr 13 07:54:12 2025 daemon.info hostapd: phy0-ap0: STA [MAC_REDACTED] IEEE 802.11: associated (aid 3)
Sun Apr 13 07:54:12 2025 daemon.notice hostapd: phy0-ap0: AP-STA-CONNECTED [MAC_REDACTED] auth_alg=open
Sun Apr 13 07:54:12 2025 daemon.info hostapd: phy0-ap0: STA [MAC_REDACTED] WPA: pairwise key handshake completed (RSN)
Sun Apr 13 07:54:12 2025 daemon.notice hostapd: phy0-ap0: EAPOL-4WAY-HS-COMPLETED [MAC_REDACTED]
Sun Apr 13 07:54:12 2025 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.171 [MAC_REDACTED]
Sun Apr 13 07:54:12 2025 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.171 [MAC_REDACTED] Mobile_Device
Sun Apr 13 07:54:13 2025 daemon.err collectd[2365]: Sleeping only 2s because the next interval is 31998.958 seconds in the past!
Sun Apr 13 07:54:27 2025 daemon.err uhttpd[2293]: [info] luci: accepted login on / for root from 192.168.1.171
Sun Apr 13 07:54:49 2025 cron.info crond[2190]: time disparity of 534 minutes detected

I don’t know why I am losing logs…

4

(3,933 odpowiedzi, napisanych Sprzęt / Hardware)

Good morning! Yes, I can share a fresh one from LUCI . Router was on all night without activity and this morning I logged in with my phone. Ir worked good and then WiFi got lost. This is the log, no relevant activity before. It seems that my router gets out of sync, not sure why. I anonymized devices and Macs.

“Sun Apr 13 07:15:38 2025 daemon.err collectd[2367]: Sleeping only 2s because the next interval is 29684.493 seconds in the past!
Sun Apr 13 07:15:56 2025 daemon.info hostapd: phy0-ap0: STA [MAC_1] IEEE 802.11: authenticated
Sun Apr 13 07:15:56 2025 daemon.info hostapd: phy0-ap0: STA [MAC_1] IEEE 802.11: associated (aid 2)
Sun Apr 13 07:15:56 2025 daemon.notice hostapd: phy0-ap0: AP-STA-CONNECTED [MAC_1] auth_alg=open
Sun Apr 13 07:15:56 2025 daemon.info hostapd: phy0-ap0: STA [MAC_1] WPA: pairwise key handshake completed (RSN)
Sun Apr 13 07:15:56 2025 daemon.notice hostapd: phy0-ap0: EAPOL-4WAY-HS-COMPLETED [MAC_1]
Sun Apr 13 07:15:58 2025 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.115 [MAC_1]
Sun Apr 13 07:15:58 2025 daemon.warn dnsmasq-dhcp[1]: Ignoring domain mac for DHCP host name [DEVICE_1]
Sun Apr 13 07:15:58 2025 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.115 [MAC_1] [DEVICE_1]

Thank you for looking into this! I’m driving crazy.
If something else is missing, how can I enable a reliable log- maybe through ssh I can log activity/debug better and get more detailed data?

Thank you again!

5

(3,933 odpowiedzi, napisanych Sprzęt / Hardware)

Hello, Sorry for writing in English. I recently installed 24.10 from https://dl.eko.one.pl/firmware/ my wifi keeps crashing when a client browses the internet after connecting. Any ideas?
I'm very new to this, and I tried the openwrt firmware, the 4iceG compiled version successfully, yet I have the problem that it disconnects the client after a while, so wifi (nor N not AC) is not reliable...

I had a TIM italy firmware, then went to openwrt via serial, as I do not have windows...
I heard from different forums that this could probably be the best in terms of knowledge on this router...
Did anyone have this problem?
Thank you!