mirror of
https://github.com/cheat/cheat.git
synced 2024-12-22 20:55:06 +01:00
Add nmcli import example. Fix typos in nmcli add
command.
This commit is contained in:
parent
aa1e12625e
commit
544d11aebc
@ -34,7 +34,10 @@ nmcli dev status
|
||||
# Add a dynamic ethernet connection - parameters:
|
||||
# <name> -- the name of the connection
|
||||
# <iface_name> -- the name of the interface
|
||||
ncmli con add type ethernet con-name <name> ifname <iface_name>
|
||||
nmcli con add type ethernet con-name <name> ifname <iface_name>
|
||||
|
||||
# Import OpenVPN connection settings from file:
|
||||
nmcli con import type openvpn file <path_to_ovpn_file>
|
||||
|
||||
# Bring up the ethernet connection
|
||||
nmcli con up <name>
|
||||
|
Loading…
Reference in New Issue
Block a user