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

Connecting to open WiFis fails #22

Open
mzanetti opened this issue Nov 7, 2019 · 9 comments
Open

Connecting to open WiFis fails #22

mzanetti opened this issue Nov 7, 2019 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@mzanetti
Copy link
Member

mzanetti commented Nov 7, 2019

See nymea/berrylan#6 for more info.

@mzanetti mzanetti added the bug Something isn't working label Nov 7, 2019
@maxpage92
Copy link

I was just wondering if this issue being closed means that it is fixed? I came her from the berrylan side of things. If it isn’t, I’d be happy to help the dev team where i can :)

@mzanetti
Copy link
Member Author

It requires 2 fixes. One in the BerryLan app, the other in here. The one in BerryLan has been fixed, but in nymea-networkmanager it's still open.

@maxpage92
Copy link

Yeah makes sense. The nymea networkmanager needs to enter it differently if there is no password compared to just an empty one. WPA supplicant is the same. Can I help? I don’t have experience in the nymea code, but with some digging and experimenting on how it works i’m sure i could be of use :) or do you guys have a fix planed? Then I’ll just stay out of it haha

@mzanetti
Copy link
Member Author

Feel free to try and get it fixed, we'd appreciate it. I just had a quick look to see if I could give you any pointers and I think I'd probably start here:

https://github.com/nymea/libnymea-networkmanager/blob/master/libnymea-networkmanager/networkmanager.cpp#L127

You're welcome to open a pull request with fixes.

@maxpage92
Copy link

I’ll have a look, if i see anything i’ll have a go and report.

@maxpage92
Copy link

How did you fix it in berrylan? Does it just pass a password variable that is empty, or do you not pass that variable anymore?

@mzanetti
Copy link
Member Author

It'll be empty

@t-mon
Copy link
Member

t-mon commented Nov 20, 2019

Good news, I fixed this issue yesterday and open WiFi networks are supported now.
There was a bug in the verification if an access point is protected or not. This has been fixed and the content of the password variable will be ignored, since the server already knows if the access point is protected or not.
Once the current version is released (probably within the next week), you just have to update and it should work out of the box.

@maxpage92
Copy link

Fantastic! I tried playing with the code, but didn’t spend enough time to figure it out... quite glad i didn’t now :) When do you expect the update to the network manager to be merged/available to add to our devices?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants