Skip to content

Latest commit

 

History

History
23 lines (22 loc) · 369 Bytes

Centos使用.md

File metadata and controls

23 lines (22 loc) · 369 Bytes

Centos使用

使用dhcp联网

nmcli connection show

返回值

name uuid type device
enp0s3 xxx-xxx ethernet --

显示指定设备信息

nmcli connection show enp0s3

设置自动联网

nmcli connection modify enp0s3 connection.autoconnect yes ipv4.method auto

查看ip

ip addr