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

Implement support for nmcli #43

Open
falkecarlsen opened this issue Nov 12, 2019 · 0 comments
Open

Implement support for nmcli #43

falkecarlsen opened this issue Nov 12, 2019 · 0 comments
Labels
enhancement New feature or request important An issue which takes precedence to non-bug issues

Comments

@falkecarlsen
Copy link
Owner

As I've switched to Fedora, I now use networkmanager and therefore nmcli for configuring both wired and wireless network connections.

This should TM be fairly straightforward as it seems that the netctl actions currently used can be straightforwardly be mapped. However, some functions should be guarded for compatibility reasons, e.g., reading profiles from /etc/netctl/ as this only applies to netctl-systems.

The mapping could look like this:
sudo netctl start $profile -> nmcli con up $profile
sudo netctl stop $profile -> nmcli con down $profile
sudo netctl stop-all -> ?
sudo netctl restart $profile -> ?
However, profile-creation and connection is possible as a one-liner under nmcli
? -> nmcli device wifi connect $SSID password $password - this seems to update an existing SSID's password as well, being another way to trigger a daily-password update on an SSID.

Note, $profile for nmcli can be either SSID or UUID, which could be pretty nifty.

@falkecarlsen falkecarlsen added enhancement New feature or request important An issue which takes precedence to non-bug issues labels Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request important An issue which takes precedence to non-bug issues
Projects
None yet
Development

No branches or pull requests

1 participant