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 fixes #24

Merged
merged 3 commits into from Jan 28, 2021
Merged

Linux fixes #24

merged 3 commits into from Jan 28, 2021

Conversation

littlediobolic
Copy link
Contributor

This PR should bring it back to being able to work with any linux install using NetworkManager, with the added bonus of not relying on wireless-tools. This should resolve #17 and #11

However this program will still be unable to function on a linux install that does not use NetworkManager, such as wicd or connman, or on the Raspberry Pi. The most likely scenario for supporting those is writing special cases for each, though I did not go through the effort in this commit.

Maybe its also worth merging into its own branch to get some more testing instead of merging directly to master?

@sdushantha
Copy link
Owner

However this program will still be unable to function on a linux install that does not use NetworkManager

I think it would be better we make NetworkManager a dependency for wifi-passsword. If we cannot find the nmcli command, then we can give an error message.

Thoughts?

@littlediobolic
Copy link
Contributor Author

I think it would be better we make NetworkManager a dependency for wifi-passsword. If we cannot find the nmcli command, then we can give an error message.

I think purely for troubleshooting sake its a good idea, at least for now. If someone wants to add support for other networking services they can. But I agree that just stating that NetworkManager is the only one thats supported is best. Ill update my PR.

@sdushantha
Copy link
Owner

Thank you, I'll merge this :)

@sdushantha sdushantha merged commit 41d36f9 into sdushantha:master Jan 28, 2021
@littlediobolic littlediobolic deleted the linux-fixes branch January 29, 2021 16:07
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 this pull request may close these issues.

Could not find password on Ubuntu
2 participants