mirror of https://github.com/cheat/cheat.git
Add nmcli import example. Fix typos in `nmcli add` command.
This commit is contained in:
parent
aa1e12625e
commit
efed37a3c9
|
@ -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:
|
||||
ncmli con import type openvpn file <path_to_ovpn_file>
|
||||
|
||||
# Bring up the ethernet connection
|
||||
nmcli con up <name>
|
||||
|
|
Loading…
Reference in New Issue