早上起来发现ubuntu 连不了网了,还要发现是升级后导致的,搜索了下官网,写下解决之道:
对应自己的版本下载三个deb文件,拷贝至ubuntu下:
amd64: libnl(http://archive.ubuntu.com/ubuntu/pool/main/libn/libnl3/libnl-3-200_3.2.21-1_amd64.deb)、libnl-genl(http://archive.ubuntu.com/ubuntu/pool/main/libn/libnl3/libnl-genl-3-200_3.2.21-1_amd64.deb)、libnl-route(http://archive.ubuntu.com/ubuntu/pool/main/libn/libnl3/libnl-route-3-200_3.2.21-1_amd64.deb)
i386:libnl(http://archive.ubuntu.com/ubuntu/pool/main/libn/libnl3/libnl-3-200_3.2.21-1_i386.deb)、libnl-genl(http://archive.ubuntu.com/ubuntu/pool/main/libn/libnl3/libnl-genl-3-200_3.2.21-1_i386.deb)、libnl-route(http://archive.ubuntu.com/ubuntu/pool/main/libn/libnl3/libnl-route-3-200_3.2.21-1_i386.deb)
执行此命令:
sudo dpkg -i libnl-*.deb
#切换至root
sudo -s
cd /etc/NetworkManager/
mkdir system-connections
然后重启,会提示有网路了,如果连不上可以,右上角小齿轮 系统设置--->网络新建以太网连接就好啦。