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

Linux Mint - no such directory /etc/NetworkManager/system-connections/' + ssid #10

Open
MaxPleaner opened this issue Sep 11, 2015 · 1 comment

Comments

@MaxPleaner
Copy link

in wifi-password/node_modules/linux-wifi-password/index.js, I needed to change line 7 from

var args = ['cat', '/etc/NetworkManager/system-connections ' + ssid];

to

var args = ['cat', '/etc/NetworkManager/system-connections/Auto\ ' + ssid];

(the difference being /Auto\)

I appreciate that this package has taught me where this info is located. I'm not sure which other systems this fix might be needed in as well.

@cixtor
Copy link

cixtor commented Jun 14, 2016

@MaxPleaner I installed Linux Mint in a virtual machine and tested this, it seems that the network manager adds the word Auto\u0020 to the first "eth0" and "wlan0" it finds, so the modification you suggested is not necessary because Auto\u0020 is part of the name of your Internet connection. Assuming that the name is "Foobar" the SSID will be "Auto Foobar" like this:

$ wifi-password "Auto Foobar"

Also, at the time of writing this comment the command has already changed.

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