Open uselessgames opened 3 years ago
Hey @uselessgames
the logs can be watched live using journalctl -f -u nymea-networkmanager
or you can find them in the journalctl -b -u nymea-networkmanager
to get them since booted/rotated or in the /var/log/syslog
.
Logs would be indeed very helpful to understand why there are duplicated networks.
I did monitor journalctl
and saw Start streaming response data
but cannot see actual data.
Attached is syslog.
To recreate this syslog I had additional issue with showing correct ble name. At first it showed the device name, then close berrylan, wait, and re-open it showed setup.
FYI - as mentioned in issue 43 I have secondary service that runs after nymea sets network. I have tested by disabling my service and duplicate network display persists.
Does nmcli d wifi
show duplicated networks too?
I remember we had the issue that if there are multiple wifi's with the same ssid, but different hotspots (mac addresses) we show them duplicated, so the client application can pick the one with the best signal strength.
I have to add the debug category so the ingoing and outgoing traffic can be printed optional for such situations.
PS: you should delete line 930 from that logfile.
nmcli
does show duplicate networks too. And only the ones that have multiple hotspots, I had not thought of this, and makes sense.
PS: you should delete line 930 from that logfile.
I thought i did that.. done now.
I suppose there is no new bug that you didn't already know of.
The way to go would be: filter on the app side duplicated networks ssid s and show only the one with the best signal strength. That slipped trough in the community edition of the app, on the other hand gives you more control.
Keeping the issue open as a reminder:
The way to go would be: filter on the app side duplicated networks ssid s and show only the one with the best signal strength.
I was just doing this! :)
thank you for prompt response
I have noticed some but not all wireless networks are being duplicated on the available networks screen. The issue can be recreated with berrylan app. When I check with other devices for wifi I can see there are no duplicate networks
This is installed on a rpi4.
I tried looking through the daemon.log but couldn't see that it saves any of the network information. Tried debug option also with no success to try help provide useful log.
Happy to share logs if you tell me which one is of good use to you.
Thank you