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

Connect to hidden SSID #22

Open
sliard opened this issue Oct 31, 2017 · 4 comments · May be fixed by #183
Open

Connect to hidden SSID #22

sliard opened this issue Oct 31, 2017 · 4 comments · May be fixed by #183

Comments

@sliard
Copy link

sliard commented Oct 31, 2017

When I try to connect to a secret SSID, I have the error :
Error: No network with SSID 'name' found

I think it's because nmcli need information about wifi before connection (like you can read here) :

nmcli c add type wifi con-name <connect name> ifname wlan0 ssid <ssid>
nmcli con modify <connect name> wifi-sec.key-mgmt wpa-psk
nmcli con modify <connect name> wifi-sec.psk <password>
nmcli con up <connect name>
@friedrith
Copy link
Owner

Hi,
First of all, thank you for remarks.

I didn't know about secret SSID.What I understand with your explanation is that wifi network with secret ssid don't diffuse security protocols and so a computer cannot be easily connected using node-wifi. On windows, you must use specials commands to manually setup security protocoles in the profile.

My questions are no:

  • Are my interpretations correct ?
  • Do you know how create a secret ssid in order to reproduce your problem ?
  • Are you ready to implement this feature in node-wifi. Please do not begin it today because I am going to release the version 2.0 of node-wifi in the next days.

@sliard
Copy link
Author

sliard commented Nov 1, 2017

Hi @friedrith

Yes, your interpretations are correct.
I think that any wifi router can create hidden SSID (like this netgear)
In this case you have to disable "SSID Broadcast"

I worked on it yesterday and had a lot of problems because nmcli support "add" and "modify" command only since Ubuntu 16 but my device use Ubuntu 14.
For the moment the only way I found need to declare the SSID with graphical interface before use it with a "nmcli up" command.

And yes I fork your project to start a PR but can't find the right way for the moment.
So I can way for your 2.0 version :)

Samuel

maxhellwig pushed a commit to maxhellwig/node-wifi that referenced this issue Sep 16, 2022
maxhellwig pushed a commit to maxhellwig/node-wifi that referenced this issue Sep 16, 2022
maxhellwig pushed a commit to maxhellwig/node-wifi that referenced this issue Sep 16, 2022
maxhellwig pushed a commit to maxhellwig/node-wifi that referenced this issue Sep 16, 2022
maxhellwig pushed a commit to maxhellwig/node-wifi that referenced this issue Sep 19, 2022
maxhellwig pushed a commit to maxhellwig/node-wifi that referenced this issue Sep 19, 2022
Visible networks caused problems since the promise of the last wifi scan got not resolved.

Related to friedrith#22
friedrith#22
@maxhellwig maxhellwig linked a pull request Sep 19, 2022 that will close this issue
2 tasks
maxhellwig pushed a commit to maxhellwig/node-wifi that referenced this issue Sep 20, 2022
@maxhellwig
Copy link

Hello,
I'm working on an implementation to handle hidden wifis on Windows:
#183
An PR is open but it failes sometime during connection attempt to the hidden wifi. I suspect a timing issue during profile writing and netsh commands.

Kind regards,
Max

maxhellwig pushed a commit to maxhellwig/node-wifi that referenced this issue Sep 20, 2022
@maxhellwig
Copy link

Hello,
had someone the chance to have a look? From my perspective the MR #183 is ready to merge.

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

Successfully merging a pull request may close this issue.

3 participants