Ubuntu13.10安装无线驱动

OS:Ubuntu 13.10桌面版

无线网卡:Broadcom BCM4312

情况描述:安装完操作系统,发现无法通过WIFI上网。

解决思路:

A)去厂商官网下载和安装Linux版网卡驱动

B)通过搜索引擎去尝试解决问题


解决步骤:


1.去厂商官网下载网卡驱动的Linux版

a)确定无线网卡具体型号

administrator@Stevenash:~$ lspci |grep -i network
10:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)

b)官网驱动下载并提供安装说明

http://www.broadcom.com/support/802.11/linux_sta.php


c)依照说明编译并安装驱动,由于没有安全成功,忽略相关步骤,报错信息如下:

/home/administrator/Downloads/hybird/src/wl/sys/wl_linux.c:3470:22: warning: assignment makes pointer from integer without a cast [enabled by default]
  if ((wl->proc_entry = create_proc_entry(tmp, 0644, NULL)) == NULL) {
                      ^
/home/administrator/Downloads/hybird/src/wl/sys/wl_linux.c:3475:16: error: dereferencing pointer to incomplete type
  wl->proc_entry->read_proc = wl_proc_read;
                ^
/home/administrator/Downloads/hybird/src/wl/sys/wl_linux.c:3476:16: error: dereferencing pointer to incomplete type
  wl->proc_entry->write_proc = wl_proc_write;
                ^
/home/administrator/Downloads/hybird/src/wl/sys/wl_linux.c:3477:16: error: dereferencing pointer to incomplete type
  wl->proc_entry->data = wl;
                ^
cc1: some warnings being treated as errors
make[2]: *** [/home/administrator/Downloads/hybird/src/wl/sys/wl_linux.o] Error 1
make[1]: *** [_module_/home/administrator/Downloads/hybird] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-12-generic'
make: *** [all] Error 2


2.通过搜索引擎去尝试解决问题,长时间的搜索,终于找到解决方案

http://www.howopensource.com/2012/10/install-broadcom-sta-wireless-driver-in-ubuntu-12-10-12-04/

root@ubuntu:/# sudo apt-get install bcmwl-kernel-source
Reading package lists... Done
Building dependency tree     
Reading state information... Done
bcmwl-kernel-source is already the newest version.
The following packages were automatically installed and are no longer required:
  linux-headers-generic linux-image-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu:/# sudo modprobe -r b43 ssb wl
root@ubuntu:/# sudo modprobe wl


bcmwl-kernel-source文件存在系统镜像中,需要把系统镜像挂载。由于编译产生的信息太多,有价值内容不多,故重新运行上述命令,只为说明如何操作。


administrator@**:~$ sudo mkdir /media/cdrom
administrator@**:~$ sudo mount -o rw,loop /host/ubuntu-13.10-desktop-i386.iso  /media/cdrom
mount: block device /host/ubuntu-13.10-desktop-i386.iso is write-protected, mounting read-only


你可能感兴趣的:(安装,ubuntu,无线驱动)