connman.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* Too many wlans
@ 2021-12-06 13:10 Klaus Ethgen
  2021-12-19 17:22 ` Daniel Wagner
  0 siblings, 1 reply; 6+ messages in thread
From: Klaus Ethgen @ 2021-12-06 13:10 UTC (permalink / raw)
  To: connman

[-- Attachment #1: Type: text/plain, Size: 1244 bytes --]

Hello,

I found a bug in connman when too many networks are stored into
/var/lib/connman.

I shuttle between different locations and today, connman stopped showing
networks at all. After some debugging, I found the following Messages in
wpa_supplicant debug output:
```
wlan0: Event SCAN_RESULTS (3) received
Scan results did not fit - trying larger buffer (8192 bytes)
Scan results did not fit - trying larger buffer (16384 bytes)
Scan results did not fit - trying larger buffer (32768 bytes)
Scan results did not fit - trying larger buffer (65535 bytes)
ioctl[SIOCGIWSCAN]: Argument list too long
wlan0: Failed to get scan results
wlan0: Failed to get scan results - try scanning again
```

The `Argument list too long` got my interest and I looked into
/var/lib/connman finding 104 directories in the form
wifi_XXXXXXXXXXXX_XXXXXXXX_managed_XXXXXXXXX.

After deleting all directories and restarting connman, everything went
back to working state.

So, if that directories is an issue, could it be cleaned up?

Regards
   Klaus
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 688 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-12-19 17:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-06 13:10 Too many wlans Klaus Ethgen
2021-12-19 17:22 ` Daniel Wagner
2021-12-19 17:23   ` Michael Nazzareno Trimarchi
2021-12-19 17:31     ` Daniel Wagner
2021-12-19 17:41       ` Michael Nazzareno Trimarchi
2021-12-19 17:42         ` Daniel Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).