ubuntu 17.04 DESKTOP不能手动停止网卡ifdown enp0s3失败显示unknown interfa
发表于 : 2017-04-25 15:15
系统为:ubuntu 17.04 DESKTOP 64BIT
#apt-get install net-tools
但是我想手动停止网卡和启动网卡失败
不能手动停止网卡ifdown enp0s3失败显示unknown interfa
(在16。04版本可以正常停止和启动+)
root@webDesktop:/home/lord# ifconfig
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
inet6 fe80::40de:3792:c1f1:42c prefixlen 64 scopeid 0x20<link>
ether 08:00:27:5e:c8:a4 txqueuelen 1000 (以太网)
RX packets 292 bytes 215641 (215.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 217 bytes 25578 (25.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@webDesktop:/home/lord# ifdown enp0s3
Unknown interface enp0s3
root@webDesktop:/home/lord#
大侠们如果有知道的如何解决,望多多指点。
#apt-get install net-tools
但是我想手动停止网卡和启动网卡失败
不能手动停止网卡ifdown enp0s3失败显示unknown interfa
(在16。04版本可以正常停止和启动+)
root@webDesktop:/home/lord# ifconfig
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
inet6 fe80::40de:3792:c1f1:42c prefixlen 64 scopeid 0x20<link>
ether 08:00:27:5e:c8:a4 txqueuelen 1000 (以太网)
RX packets 292 bytes 215641 (215.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 217 bytes 25578 (25.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@webDesktop:/home/lord# ifdown enp0s3
Unknown interface enp0s3
root@webDesktop:/home/lord#
大侠们如果有知道的如何解决,望多多指点。