Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wireless networks duplicated #44

Open
uselessgames opened this issue Feb 15, 2021 · 7 comments
Open

Wireless networks duplicated #44

uselessgames opened this issue Feb 15, 2021 · 7 comments

Comments

@uselessgames
Copy link

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

@t-mon
Copy link
Member

t-mon commented Feb 15, 2021

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.

@uselessgames
Copy link
Author

uselessgames commented Feb 15, 2021

I did monitor journalctl and saw Start streaming response data but cannot see actual data.

Attached is syslog.

syslog.log

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.

@t-mon
Copy link
Member

t-mon commented Feb 15, 2021

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.

@uselessgames
Copy link
Author

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.

@t-mon
Copy link
Member

t-mon commented Feb 15, 2021

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.

@t-mon
Copy link
Member

t-mon commented Feb 15, 2021

Keeping the issue open as a reminder:

  • Give control over traffic using debug categories
  • Filter duplicated ssid s in the berrylan app

@uselessgames
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants