I have a AtomicPi running Debian 10. I have a issue with the wireless either disconnecting or going to sleep.

wlxxxx: disassociated from xx:xx:xx:xx:xx (Reason: 4=DISASSOC_DUE_TO_INACTIVITY)

Trying to authenticate with xx:xx:xx:xx:xx:xx (SSID=
connection disconnected (reason 4)

I disabled power management not sure what else is causing it.

@omnipotens Do you use wireless as a client? Do I understand correctly? Can You increase the debug level of wpa_supplicant? Do wlxxxx get an IP address after association? Is traffic moving after connection?

@d_pechkin from what I was reading it might have to do with the AP swapping channels so I statically set it waiting to see if it drops again. . It said there was a bug in wpa_supplicant. So it works then at random times it would drop and not reconnect. hoping this fix it.

@omnipotens As far as I know, routers only select a channel when power is on, and do not change it during work. Is there anything in the log if you run wpa_supplicant with the maximum debug level?

@omnipotens Is the country code of wireless the same for AP and a client?
I'm sorry for the many questions)

@d_pechkin root@linux:~# iw reg get
country 98: DFS-FCC
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 59400 @ 2160), (N/A, 28), (N/A)
(59400 - 63720 @ 2160), (N/A, 40), (N/A)

@omnipotens 2.4 or 5 GHz? And what about ping? Is it disconnecting, while ping is running?

@d_pechkin no it pings and works but normally from a few hours to 24 hours it would disconnect and never reconnect.
Mode:Managed Frequency:5.18 GHz Access Point:
Bit Rate=243 Mb/s Tx-Power=20 dBm Retry short long limit:2 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=66/70 Signal
level=-44 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:391 Invalid misc:4 Missed beacon:0

@omnipotens Does the scan work from a client after disconnection?

@d_pechkin not sure as its headless and I have to reboot each time. I would have to hook up a ethernet or monitor to find out.

@omnipotens What about the log of wpa_supplicant with a max level of debugging?

Sign in to participate in the conversation

Linux Geeks doing what Linux Geeks do..