1. 列出启用网络设备的所有信息:
ifconfig
2. 将网络设备设置为启用或者不启用
不启用设备eth0
ifconfig eth0 down
启用设备eth0: Will bring eth0 up if it is currently down.
ifup eth0
停止设备eth0:Will bring eth0 down if it is currently up.
ifdown eth0
2023-01-01 13:46:58
1. 列出启用网络设备的所有信息:
ifconfig
2. 将网络设备设置为启用或者不启用
不启用设备eth0
ifconfig eth0 down
启用设备eth0: Will bring eth0 up if it is currently down.
ifup eth0
停止设备eth0:Will bring eth0 down if it is currently up.
ifdown eth0
下一篇:EA使用