Users disassociate from the AP randomly

Hi all, this is a problem that I didn´t have yesterday, I don't know if its an update or something else.
Yesterday I connected 2 more devices to my AP, now the AP has 7 users.
After like 15 min or sometime more, the devices disconect randomly, and the AP doesnt show again ( It doesn't show in the phone)
Here is the log:

Tue Nov 16 17:18:28 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:59:f4:c8 IEEE 802.11: disassociated
Tue Nov 16 17:18:28 2021 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 08:e9:f6:59:f4:c8
Tue Nov 16 17:18:28 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:59:f4:c8 IEEE 802.11: disassociated
Tue Nov 16 17:18:28 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:59:b5:d2 IEEE 802.11: disassociated
Tue Nov 16 17:18:28 2021 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 08:e9:f6:59:b5:d2
Tue Nov 16 17:18:28 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:59:b5:d2 IEEE 802.11: disassociated
Tue Nov 16 17:18:51 2021 daemon.info hostapd: wlan0: STA c8:3c:85:64:58:b6 IEEE 802.11: disassociated
Tue Nov 16 17:18:51 2021 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED c8:3c:85:64:58:b6
Tue Nov 16 17:18:51 2021 daemon.info hostapd: wlan0: STA c8:3c:85:64:58:b6 IEEE 802.11: disassociated

etc/config/wireless

config wifi-device 'radio0'
	option type 'mac80211'
	option path 'platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
	option cell_density '0'
	option country 'ES'
	option band '2g'
	option channel '7'

config wifi-iface 'wifinet0'
	option device 'radio0'
	option mode 'ap'
	option ssid 'DIGI-RP1'
	option encryption 'psk2'
	option skip_inactivity_poll '1'
	option disassoc_low_ack '0'
	option key '*****'
	option network 'GUEST'


After every 5-7 days uptime openwrt 19.07.4 dissociates clients

mine disconnects after 20 min more or less every time, I tried the solution above but didn't resolve the problem

What may help in tracking down the problem for you is knowing what hardware this is happening on - i.e, the router and also "the phone"

What did you try from "the solution above"? - the solution mentions wpa_group_rekey - which seems to be totally absent from your configuration

1 Like

I tried adding option wpa_group_rekey '0' and option wpa_group_rekey '3600' to:

config wifi-iface 'wifinet0'
	option device 'radio0'
	option mode 'ap'
	option ssid 'DIGI-RP1'
	option encryption 'psk2'
	option skip_inactivity_poll '1'
	option disassoc_low_ack '0'
	option key '*****'
	option network 'GUEST'
        option wpa_group_rekey '3600'

Right

so, do you know what your router hardware is? and what "phone" is having the issue?

I have Raspberry Pi 4 rev 1.4 with OpenWrt 21.02.0 r16279-5cc0535800, the issue is that all devices connected to the AP disconnects and then you can not connet again, the AP seems to crash, if you reboot the interface or the PI they can connect again

Now I rebooted and waited to see if the devices disconnects, this is the log:
Syslog (pre disconection):

Wed Nov 17 11:44:06 2021 daemon.info dnsmasq-dhcp[2284]: DHCPDISCOVER(wlan0) 08:e9:f6:59:b5:d2
Wed Nov 17 11:44:06 2021 daemon.info dnsmasq-dhcp[2284]: DHCPOFFER(wlan0) 192.168.40.16 08:e9:f6:59:b5:d2
Wed Nov 17 11:44:06 2021 daemon.info dnsmasq-dhcp[2284]: DHCPREQUEST(wlan0) 192.168.40.16 08:e9:f6:59:b5:d2
Wed Nov 17 11:44:06 2021 daemon.info dnsmasq-dhcp[2284]: DHCPACK(wlan0) 192.168.40.16 08:e9:f6:59:b5:d2 H11Beetle
Wed Nov 17 11:44:07 2021 daemon.info dnsmasq-dhcp[2284]: DHCPDISCOVER(wlan0) 08:e9:f6:59:f4:c8
Wed Nov 17 11:44:07 2021 daemon.info dnsmasq-dhcp[2284]: DHCPOFFER(wlan0) 192.168.40.17 08:e9:f6:59:f4:c8
Wed Nov 17 11:44:07 2021 daemon.info dnsmasq-dhcp[2284]: DHCPREQUEST(wlan0) 192.168.40.17 08:e9:f6:59:f4:c8
Wed Nov 17 11:44:07 2021 daemon.info dnsmasq-dhcp[2284]: DHCPACK(wlan0) 192.168.40.17 08:e9:f6:59:f4:c8 H12Toad
Wed Nov 17 11:44:15 2021 daemon.info dnsmasq-dhcp[2284]: DHCPREQUEST(wlan0) 192.168.40.10 60:81:f9:2a:49:1e
Wed Nov 17 11:44:15 2021 daemon.info dnsmasq-dhcp[2284]: DHCPACK(wlan0) 192.168.40.10 60:81:f9:2a:49:1e Hotspot1
Wed Nov 17 11:44:24 2021 daemon.info hostapd: wlan0: STA c8:3c:85:64:58:b6 IEEE 802.11: associated
Wed Nov 17 11:44:24 2021 daemon.notice hostapd: wlan0: AP-STA-CONNECTED c8:3c:85:64:58:b6
Wed Nov 17 11:44:24 2021 daemon.info hostapd: wlan0: STA c8:3c:85:64:58:b6 WPA: pairwise key handshake completed (RSN)
Wed Nov 17 11:44:24 2021 daemon.info dnsmasq-dhcp[2284]: DHCPREQUEST(wlan0) 192.168.40.50 c8:3c:85:64:58:b6
Wed Nov 17 11:44:24 2021 daemon.info dnsmasq-dhcp[2284]: DHCPACK(wlan0) 192.168.40.50 c8:3c:85:64:58:b6 IphonedeEmilian
Wed Nov 17 11:46:04 2021 daemon.info hostapd: wlan0: STA 60:81:f9:2a:61:70 IEEE 802.11: associated
Wed Nov 17 11:46:04 2021 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 60:81:f9:2a:61:70
Wed Nov 17 11:46:04 2021 daemon.info hostapd: wlan0: STA 60:81:f9:2a:61:70 WPA: pairwise key handshake completed (RSN)
Wed Nov 17 11:46:04 2021 daemon.info dnsmasq-dhcp[2284]: DHCPREQUEST(wlan0) 192.168.40.15 60:81:f9:2a:61:70
Wed Nov 17 11:46:04 2021 daemon.info dnsmasq-dhcp[2284]: DHCPACK(wlan0) 192.168.40.15 60:81:f9:2a:61:70 Hotspot5
Wed Nov 17 11:47:20 2021 daemon.info hostapd: wlan0: STA 60:81:f9:1f:a1:2f IEEE 802.11: associated
Wed Nov 17 11:47:20 2021 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 60:81:f9:1f:a1:2f
Wed Nov 17 11:47:20 2021 daemon.info hostapd: wlan0: STA 60:81:f9:1f:a1:2f WPA: pairwise key handshake completed (RSN)
Wed Nov 17 11:47:20 2021 daemon.info dnsmasq-dhcp[2284]: DHCPREQUEST(wlan0) 192.168.40.12 60:81:f9:1f:a1:2f
Wed Nov 17 11:47:20 2021 daemon.info dnsmasq-dhcp[2284]: DHCPACK(wlan0) 192.168.40.12 60:81:f9:1f:a1:2f Hotspot2
Wed Nov 17 11:47:43 2021 daemon.info hostapd: wlan0: STA 60:81:f9:2a:60:5f IEEE 802.11: associated
Wed Nov 17 11:47:43 2021 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 60:81:f9:2a:60:5f
Wed Nov 17 11:47:43 2021 daemon.info hostapd: wlan0: STA 60:81:f9:2a:60:5f WPA: pairwise key handshake completed (RSN)
Wed Nov 17 11:47:43 2021 daemon.info dnsmasq-dhcp[2284]: DHCPREQUEST(wlan0) 192.168.40.13 60:81:f9:2a:60:5f
Wed Nov 17 11:47:43 2021 daemon.info dnsmasq-dhcp[2284]: DHCPACK(wlan0) 192.168.40.13 60:81:f9:2a:60:5f Hotspot3
Wed Nov 17 11:47:52 2021 daemon.err uhttpd[961]: luci: accepted login on / for root from 192.168.1.135
Wed Nov 17 11:50:51 2021 daemon.info hostapd: wlan0: STA 34:e1:2d:35:8e:00 IEEE 802.11: associated
Wed Nov 17 11:50:51 2021 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 34:e1:2d:35:8e:00
Wed Nov 17 11:50:51 2021 daemon.info hostapd: wlan0: STA 34:e1:2d:35:8e:00 WPA: pairwise key handshake completed (RSN)
Wed Nov 17 11:50:51 2021 daemon.info dnsmasq-dhcp[2284]: DHCPREQUEST(wlan0) 192.168.40.153 34:e1:2d:35:8e:00
Wed Nov 17 11:50:51 2021 daemon.info dnsmasq-dhcp[2284]: DHCPACK(wlan0) 192.168.40.153 34:e1:2d:35:8e:00 MSI

Syslog after disconnection;

Thu Jan  1 00:00:00 1970 kern.emerg kernel:

Kernel log:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 5.4.143 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16279-5cc0535800)) #0 SMP Tue Aug 31 22:20:08 2021
[    0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.4
[    0.000000] Reserved memory: created CMA memory pool at 0x000000002ac00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] On node 0 totalpages: 2061312
[    0.000000]   DMA zone: 3792 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 242688 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 12288 pages used for memmap
[    0.000000]   DMA32 zone: 770048 pages, LIFO batch:63
[    0.000000]   Normal zone: 16384 pages used for memmap
[    0.000000]   Normal zone: 1048576 pages, LIFO batch:63
[    0.000000] percpu: Embedded 21 pages/cpu s45336 r8192 d32488 u86016
[    0.000000] pcpu-alloc: s45336 r8192 d32488 u86016 alloc=21*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: EL2 vector hardening
[    0.000000] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2028848
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=E4:5F:01:28:07:5E vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=squashfs,ext4 rootwait
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x37400000-0x3b400000] (64MB)
[    0.000000] Memory: 7943840K/8245248K available (7102K kernel code, 432K rwdata, 1140K rodata, 512K init, 541K bss, 235872K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	CONFIG_RCU_FANOUT set to non-default value of 32.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from 0xffffffc0108a0b90 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000005] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000160] Console: colour dummy device 80x25
[    0.000387] printk: console [tty1] enabled
[    0.000423] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[    0.000445] pid_max: default: 32768 minimum: 301
[    0.000709] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000855] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.001445] cgroup: Disabling memory control group subsystem
[    0.002215] ASID allocator initialised with 32768 entries
[    0.002304] rcu: Hierarchical SRCU implementation.
[    0.002944] smp: Bringing up secondary CPUs ...
[    0.003337] Detected PIPT I-cache on CPU1
[    0.003386] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.003834] Detected PIPT I-cache on CPU2
[    0.003868] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[    0.004344] Detected PIPT I-cache on CPU3
[    0.004376] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[    0.004446] smp: Brought up 1 node, 4 CPUs
[    0.004473] SMP: Total of 4 processors activated.
[    0.004486] CPU features: detected: 32-bit EL0 Support
[    0.004499] CPU features: detected: CRC32 instructions
[    0.004550] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.004566] CPU: All CPU(s) started at EL2
[    0.004595] alternatives: patching kernel code
[    0.012805] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.012845] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.014553] pinctrl core: initialized pinctrl subsystem
[    0.015394] NET: Registered protocol family 16
[    0.016816] DMA: preallocated 1024 KiB pool for atomic allocations
[    0.017366] cpuidle: using governor ladder
[    0.017395] cpuidle: using governor menu
[    0.017651] Serial: AMBA PL011 UART driver
[    0.019123] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.028038] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-02-16 14:17, variant start
[    0.032035] raspberrypi-firmware soc:firmware: Firmware hash is d6d82cf99bcb3e9a166a34cfde53130957a36bd3
[    0.056684] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.058472] SCSI subsystem initialized
[    0.058632] usbcore: registered new interface driver usbfs
[    0.058676] usbcore: registered new interface driver hub
[    0.058713] usbcore: registered new device driver usb
[    0.058835] usb_phy_generic phy: phy supply vcc not found, using dummy regulator
[    0.059117] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.059952] clocksource: Switched to clocksource arch_sys_counter
[    0.063099] thermal_sys: Registered thermal governor 'step_wise'
[    0.063327] NET: Registered protocol family 2
[    0.064378] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.069428] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.069523] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.069954] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    0.070998] TCP: Hash tables configured (established 65536 bind 65536)
[    0.071244] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.071370] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.071665] NET: Registered protocol family 1
[    0.071710] PCI: CLS 0 bytes, default 64
[    0.072884] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[    0.077247] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.100594] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.102490] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.102516] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    0.102552] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x0603ffffff -> 0x00f8000000
[    0.102586] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x01ffffffff -> 0x0400000000
[    0.166005] brcm-pcie fd500000.pcie: link up, 5 GT/s x1 (SSC)
[    0.166161] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    0.166179] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.166199] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[    0.166242] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    0.166332] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.169795] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    0.169882] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.170062] pci 0000:01:00.0: PME# supported from D0 D3hot
[    0.173364] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    0.173387] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    0.173446] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.173462] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    0.173605] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    0.173720] pcieport 0000:00:00.0: PME: Signaling with IRQ 38
[    0.173940] pcieport 0000:00:00.0: AER: enabled with IRQ 38
[    0.174112] pci 0000:01:00.0: enabling device (0000 -> 0002)
[    0.220774] pci 0000:01:00.0: 0xffffffc0104f48d0 took 45597 usecs
[    0.220995] bcm2708_fb soc:fb: Unable to determine number of FBs. Disabling driver.
[    0.221022] bcm2708_fb: probe of soc:fb failed with error -2
[    0.222779] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.223570] iproc-rng200 fe104000.rng: hwrng registered
[    0.223703] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.224096] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    0.224306] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.224382] random: fast init done
[    0.224765] random: crng init done
[    0.230414] brd: module loaded
[    0.233486] loop: module loaded
[    0.234121] Loading iSCSI transport class v2.0-870.
[    0.235224] libphy: Fixed MDIO Bus: probed
[    0.235479] bcmgenet fd580000.ethernet: failed to get enet clock
[    0.235499] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    0.235516] bcmgenet fd580000.ethernet: failed to get enet-wol clock
[    0.235532] bcmgenet fd580000.ethernet: failed to get enet-eee clock
[    0.235555] bcmgenet: Skipping UMAC reset
[    0.243941] libphy: bcmgenet MII bus: probed
[    0.291979] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    0.292829] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.292861] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    0.293378] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000009000000890
[    0.294032] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    0.294052] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.294069] usb usb1: Product: xHCI Host Controller
[    0.294082] usb usb1: Manufacturer: Linux 5.4.143 xhci-hcd
[    0.294094] usb usb1: SerialNumber: 0000:01:00.0
[    0.294397] hub 1-0:1.0: USB hub found
[    0.294465] hub 1-0:1.0: 1 port detected
[    0.294865] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.294886] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    0.294909] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    0.295147] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[    0.295165] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.295181] usb usb2: Product: xHCI Host Controller
[    0.295194] usb usb2: Manufacturer: Linux 5.4.143 xhci-hcd
[    0.295206] usb usb2: SerialNumber: 0000:01:00.0
[    0.295479] hub 2-0:1.0: USB hub found
[    0.295519] hub 2-0:1.0: 4 ports detected
[    0.296209] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.296298] dwc_otg: FIQ enabled
[    0.296302] dwc_otg: NAK holdoff enabled
[    0.296305] dwc_otg: FIQ split-transaction FSM enabled
[    0.296311] Module dwc_common_port init
[    0.296552] usbcore: registered new interface driver uas
[    0.296626] usbcore: registered new interface driver usb-storage
[    0.296694] mousedev: PS/2 mouse device common for all mice
[    0.297104] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.298564] sdhci: Secure Digital Host Controller Interface driver
[    0.298578] sdhci: Copyright(c) Pierre Ossman
[    0.298846] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    0.299042] Error: Driver 'sdhost-bcm2835' is already registered, aborting...
[    0.299056] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.305176] vchiq: vchiq_init_state: slot_zero = 00000000d95f5ce1
[    0.306743] NET: Registered protocol family 10
[    0.307165] Segment Routing with IPv6
[    0.307199] NET: Registered protocol family 17
[    0.307219] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.307228] 8021q: 802.1Q VLAN Support v1.8
[    0.307398] Key type ._fscrypt registered
[    0.307403] Key type .fscrypt registered
[    0.309780] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    0.309840] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 14, base_baud = 0) is a PL011 rev2
[    0.555930] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    0.560248] printk: console [ttyAMA0] enabled
[    0.777317] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    0.788400] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.793394] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    0.793397] usb 1-1: Product: USB2.0 Hub
[    0.801497] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    0.833747] hub 1-1:1.0: USB hub found
[    0.837614] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    0.849907] hub 1-1:1.0: 4 ports detected
[    0.905652] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.408802] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.415806] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.421330] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[    1.429804] of_cfs_init
[    1.432336] of_cfs_init: OK
[    1.436261] Waiting for root device /dev/mmcblk0p2...
[    1.443782] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.450769] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.516108] mmc1: new high speed SDIO card at address 0001
[    1.559997] mmc0: new ultra high speed DDR50 SDXC card at address 0001
[    1.567204] mmcblk0: mmc0:0001 SD64G 58.2 GiB
[    1.572708]  mmcblk0: p1 p2
[    1.589769] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    1.597306] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.604446] Freeing unused kernel memory: 512K
[    1.616027] Run /sbin/init as init process
[    1.673114] init: Console is alive
[    1.676609] init: - watchdog -
[    1.794369] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.803307] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.810959] init: - preinit -
[    1.876546] bcmgenet: Skipping UMAC reset
[    1.881956] bcmgenet fd580000.ethernet: configuring instance for external RGMII
[    1.889435] bcmgenet fd580000.ethernet eth0: Link is Down
[    5.936544] mount_root: mounting /dev/root
[    5.940963] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[    5.952271] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    5.977230] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    5.987906] urandom-seed: Seeding with /etc/urandom.seed
[    6.031147] procd: - early -
[    6.034122] procd: - watchdog -
[    6.557988] procd: - watchdog -
[    6.562014] procd: - ubus -
[    6.617123] procd: - init -
[    6.621202] uart-pl011 fe201000.serial: no DMA platform data
[    6.696101] kmodloader: loading kernel modules from /etc/modules.d/*
[    6.714191] tun: Universal TUN/TAP device driver, 1.6
[    6.725558] hidraw: raw HID events driver (C) Jiri Kosina
[    6.731721] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    6.749841] Loading modules backported from Linux version v5.10.42-0-g65859eca4dff
[    6.757428] Backport generated by backports.git v5.10.42-1-0-gbee5c545
[    6.767670] usbcore: registered new interface driver usbhid
[    6.773254] usbhid: USB HID core driver
[    6.778354] xt_time: kernel timezone is -0000
[    6.802043] PPP generic driver version 2.4.2
[    6.806685] NET: Registered protocol family 24
[    6.824785] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.993856] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.011846] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 23 2020 02:20:01 version 7.45.206 (r725000 CY) FWID 01-febaba43
[    7.052430] usbcore: registered new interface driver brcmfmac
[    7.060037] kmodloader: done loading kernel modules from /etc/modules.d/*
[    8.163799] bcmgenet: Skipping UMAC reset
[    8.169192] bcmgenet fd580000.ethernet: configuring instance for external RGMII
[    8.176668] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    8.177155] br-lan: port 1(eth0) entered blocking state
[    8.189934] br-lan: port 1(eth0) entered disabled state
[    8.195300] device eth0 entered promiscuous mode
[    8.200882] br-lan: port 1(eth0) entered blocking state
[    8.206133] br-lan: port 1(eth0) entered forwarding state
[    9.187994] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[    9.668253] IPv6: br-lan: IPv6 duplicate address fd80:7ccc:35b0::1 used by e4:5f:01:28:06:be detected!
[   10.596344] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

You mentioned a phone - what is the phone?

I ask, because I know that some iphones cause weird wifi issues with other hardware (latter Linksys WRT routers for example)

On a personal note: I'd never use the Pi on board wifi as an access point anyway - while it can works as an AP, it was primarily designed to be a client

curent changes:


config wifi-device 'radio0'
	option type 'mac80211'
	option path 'platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
	option cell_density '0'
	option country 'ES'
	option band '2g'
	option channel '11'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option mode 'ap'
	option encryption 'psk2'
	option network 'GUEST'
	option key '*****'
	option skip_inactivity_poll '1'
	option disassoc_low_ack '0'
	option wpa_group_rekey '3600'
	option ssid 'DIGI-RP1'
	option max_inactivity '3600'

they still disconnect after time, syslog:

Thu Nov 18 14:19:26 2021 daemon.info hostapd: wlan0: STA c8:3c:85:64:58:b6 IEEE 802.11: disassociated
Thu Nov 18 14:19:26 2021 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED c8:3c:85:64:58:b6
Thu Nov 18 14:19:26 2021 daemon.info hostapd: wlan0: STA c8:3c:85:64:58:b6 IEEE 802.11: disassociated
Thu Nov 18 14:41:02 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:59:e4:a0 IEEE 802.11: disassociated
Thu Nov 18 14:41:02 2021 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 08:e9:f6:59:e4:a0
Thu Nov 18 14:41:02 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:59:e4:a0 IEEE 802.11: disassociated
Thu Nov 18 14:41:02 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:5a:17:44 IEEE 802.11: disassociated
Thu Nov 18 14:41:02 2021 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 08:e9:f6:5a:17:44
Thu Nov 18 14:41:02 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:5a:17:44 IEEE 802.11: disassociated
Thu Nov 18 14:41:02 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:5a:35:44 IEEE 802.11: disassociated
Thu Nov 18 14:41:02 2021 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 08:e9:f6:5a:35:44
Thu Nov 18 14:41:02 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:5a:35:44 IEEE 802.11: disassociated
Thu Nov 18 14:41:02 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:59:b5:8e IEEE 802.11: disassociated
Thu Nov 18 14:41:02 2021 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 08:e9:f6:59:b5:8e
Thu Nov 18 14:41:02 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:59:b5:8e IEEE 802.11: disassociated
Thu Nov 18 14:44:42 2021 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 08:e9:f6:5a:07:40
Thu Nov 18 14:44:42 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:5a:07:40 IEEE 802.11: disassociated due to inactivity
Thu Nov 18 14:44:42 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:5a:07:40 IEEE 802.11: disassociated
Thu Nov 18 14:44:56 2021 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 08:e9:f6:5a:17:b2
Thu Nov 18 14:44:56 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:5a:17:b2 IEEE 802.11: disassociated due to inactivity
Thu Nov 18 14:44:56 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:5a:17:b2 IEEE 802.11: disassociated
Thu Nov 18 14:45:01 2021 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 08:e9:f6:59:c5:98
Thu Nov 18 14:45:01 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:59:c5:98 IEEE 802.11: disassociated due to inactivity
Thu Nov 18 14:45:01 2021 daemon.info hostapd: wlan0: STA 08:e9:f6:59:c5:98 IEEE 802.11: disassociated