Nmcli
来自三线的随记
安装
network-manager
相关命令
nmcli[ OPTIONS ] OBJECT { COMMAND | help }
nmcli connection show
nmcli connection show --active
Define a new connection named "default" whic will autoconnect as Ethern connection on the eth0 device using DHCP
nmcli connection add con-name "default" type ethernet ifname eth0