当使用Ubuntu18.04连不上网,使用ifconfig的时候出现下面的情况
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 9216 bytes 1245299 (1.2 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 9216 bytes 1245299 (1.2 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
可以使用sudo dhclient -v 就可以恢复正常上网了
使用火狐浏览器打开百度