本人笔记本的型号为lenovo G510,Ubuntu 中,通常有线网卡为eth0,无线网卡则为wlan0,后续增加的以此类推(可能某些无线网卡型号命名为eth1,而非wlan0。用ifconfig命令查看系统的网卡信息,根本没有出现wlan0或者eth1,说明驱动没有安装。
安装网卡驱动的话,需要了解网卡类型,用lspci命令查看,倒数第二行发现我的网卡是
Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
这个网卡是一个很老的网卡,已经很少用了,所以驱动非常难下载。尝试了很多办法,终于在下面的网上找到了:
/questions/175104/how-do-i-install-bcm43142-wireless-drivers-for-dell-vostro-3460-3560
我所做的事情如下:
sudo apt-get install linux-headers$(uname -r | grep -Po “-[a-z].*”)
sudo apt-get install build-essential dkms
sudo apt-get install dpkg
sudo apt-get install bcmwl-kernel-source
然后无线网络就可以用了,用ifconfig命令发现出现了eth1
原文地址:/zmc1216/article/details/46484181