Add nmcli import example. Fix typos in nmcli add command.

This commit is contained in:
Givi Khojanashvili 2018-03-12 12:19:17 +03:00
parent aa1e12625e
commit 544d11aebc

View File

@ -34,7 +34,10 @@ nmcli dev status
# Add a dynamic ethernet connection - parameters: # Add a dynamic ethernet connection - parameters:
# <name> -- the name of the connection # <name> -- the name of the connection
# <iface_name> -- the name of the interface # <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 # Bring up the ethernet connection
nmcli con up <name> nmcli con up <name>