Linux无线网卡驱动安装

1.确定自己的网卡驱动

https://lug.ustc.edu.cn/sites/opensuse-guide/wlan.php

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

下载网卡驱动:hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz

2.解压编译网卡驱动:

解压出目录lib srcMakefile文件,执行:

make

这样会编译报错:

/home/xxx/packages/driver/src/wl/sys/wl_cfg80211_hybrid.c:2122: error: too few arguments to function ‘cfg80211_roamed’

make[2]: *** [/home/xxx/packages/driver/src/wl/sys/wl_cfg80211_hybrid.o] Error 1

make[1]: *** [_module_/home/xxx/packages/driver] Error 2

make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.el6.x86_64′

make: *** [all] Error 2

注意:添加编译参数 make API=WEXT

OK!

make API=WEXT

CC /home/xxx/packages/driver/wl.mod.o

LD [M] /home/xxx/packages/driver/wl.ko.unsigned

NO SIGN [M] /home/xxx/packages/driver/wl.ko

make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.el6.x86_64′

3.安装

# make install

install -D -m 755 wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless

4.加载新的驱动程序

# modprobe lib80211

# insmod wl.ko

5.重新启动网络服务

# service network restart

Shutting down interface p5p1: Device state: 3 (disconnected)

[ OK ]

Shutting down loopback interface: [ OK ]

Bringing up loopback interface: [ OK ]


转载自:http://linben.blog.51cto.com/6205951/1388721

你可能感兴趣的:(Linux无线网卡驱动安装)