ubuntu系统网络连接问题(有线无线)

插了有线却没有网

https://m.xp.cn/b.php/63205.html
https://zhuanlan.zhihu.com/p/64406033
查看网卡设备名称:

ip a

ubuntu系统网络连接问题(有线无线)
一般e开头的是网卡

然后输入

sudo vim /etc/network/interfaces
添加以下内容:
auto esp3s0 #替换成你的网卡
iface esp3s0 inet static
address 192.168.56.1 #替换成自己的IP地址
netmask 255.255.255.0 #替换成自己的子网掩码
gateway 192.168.3.1 #替换成自己的网卡
dns-nameservers 8.8.8.8 #DNS服务器
重启网络
sudo /etc/init.d/network-manager restart

然而我的网还是么有
于是修改了etc/NetworkManager/NetworkManager.conf
设置managed=true
可以冲浪了~

无法搜索到wifi

参考https://blog.csdn.net/qq_33042187/article/details/80462412
下载相应驱动即可