本人安装及后续使用Ubuntu过程中,遇到的WiFi相关问题及解决办法
初次安装遇到问题:
Ubuntu只能连接有线,根本没有无线wifi
解决办法:
首先,由于Linux的WiFi驱动与BIOS的安全启动冲突,所以第一步要重启,进入BIOS,关闭安全启动,具体步骤百度一下(华硕笔记本长按F2进入BIOS)。
然后,就可以在 设置-软件与更新-专有驱动
看到自己笔记本的驱动了,例如博通驱动,点击应用即可,
注意:在点击应用博通驱动时,一定要用有线联网
经过以上步骤一般就可以使用WiFi了,但是我遇到的问题是,WiFi本来可以用,突然就怎末也无法联网,无论重启与否。
经过百度,采取网友的建议,才解决了这个混蛋问题
解决方法:fn+f2
在windows下,fn+f2是WiFi的开关,我在Ubuntu下WiFi突然无法联网之后,可以试一下这个快捷键,然后重启,或许WiFi就好了。
参考连接
Ubuntu解决wifi无法连接的问题
但是参考另一个网友的说法,原有驱动bcmwl-kernel-source是不合适的,应该卸载掉,安装一个开源的。
# sudo apt-get remove --purge bcmwl-kernel-source
# sudo apt-get install linux-firmware-nonfree
# sudo modprobe -r b43 && sudo modprobe b43
wl(bcmwl-kernel-source)官方驱动:不需要固件(用modinfo wl查看固件依赖),用sudo apt-get install bcmwl-kernel-source安装;但不推荐,正如我所遇到的问题,WiFi突然无法使用。
b43开源驱动:需要固件,否则无线识别网卡,但由于版权问题,系统没有内置其固件,必须自行安装,安装固件的方式有两种:
sudo apt-get install linux-firmware-nonfree
直接用命令sudo apt-get install linux-firmware-nonfree就可把所有受限的固件安装到/lib/firemware目录下(不仅仅是b43的固件)
参考资料
bcm43xx驱动问题
ubuntu12.04.3 Broadcom 博通无线网卡驱动
UBuntu/Doucument/WifiDocs/Driver/bcm43xx
补充:
Installing b43/b43legacy firmware
The Ubuntu kernel now provides the b43 driver, however due to copyright restrictions not the proprietary firmware which is required to run your card. The following instructions explain how to extract the required firmware.
b43 - Internet access
12.04 (Precise Pangolin) - 14.04 (Trusty Tahr)
Open a Terminal and if you haven’t already done so, update your package list:
sudo apt-get update
If you have a b43 card use the command
sudo apt-get install firmware-b43-installer
or, if you need the b43legacy driver, use:
sudo apt-get install firmware-b43legacy-installer
or, (12.04) if you need a LP-PHY version (e.g BCM4312), use:
sudo apt-get install firmware-b43-lpphy-installer
Restart the computer or reload the b43/b43legacy module as outlined in the Switching between drivers section below (replace b43 with b43legacy where appropriate).