wifi-connect icon indicating copy to clipboard operation
wifi-connect copied to clipboard

Allow connection to hidden wifi networks

Open jgentes opened this issue 5 years ago • 7 comments

We've modified our index.html to allow users to specify an SSID manually, but even if that is provided, if the network is hidden, the system is unable to connect.

I believe it's related to NetworkManager first requiring the network be listed before it can be brought online: https://docs.ubuntu.com/core/en/stacks/network/network-manager/docs/configure-wifi-connections

jgentes avatar Jan 09 '20 00:01 jgentes

@jgentes Unfortunately currently it won't be easy to add. I am in the process of switching WiFi Connect to a newer NetworkManager library - https://github.com/balena-io-modules/libnm-rs/ And we also have an old UI branch which has this feature added as UI (along a lot of other stuff) - https://github.com/balena-io/wifi-connect/tree/ui Once I get the new bindings library integrated, I will switch to the new UI and this will available.

majorz avatar Jan 24 '20 20:01 majorz

No worries, glad to hear that you're working on an update!

jgentes avatar Jan 24 '20 21:01 jgentes

@majorz any ETA on the new version? Curious to try it out..

jgentes avatar Mar 06 '20 19:03 jgentes

[anujdeshpande] This issue has attached support thread https://jel.ly.fish/b2d505ca-7d2a-470e-a6e1-ef48c7ea9257

jellyfish-bot avatar Jul 08 '20 09:07 jellyfish-bot

[robertgzr] This issue has attached support thread https://jel.ly.fish/00df62ee-a90b-401e-bf91-04efe53883ec

jellyfish-bot avatar Aug 19 '20 07:08 jellyfish-bot

@jgentes you probably need to add a line equivalent to the following to be run after the wifi connection is brought up:

nmcli con modify <connection name> 802-11-wireless.hidden TRUE

That's a manual workaround we currently apply in a handful of cases. For us so far, <connection name> is the same as the network SSID.

Having this delivered as a proper feature in wifi-connect would be a big win for us.

HughWarrington avatar Nov 06 '20 17:11 HughWarrington

Looks like a year has passed. Any updates on officially supporting hidden networks?

chadmbrown avatar Apr 09 '22 18:04 chadmbrown