我的电脑是HP nx6325集成的无线网卡是bcm4312,在Ubuntu 7.10下安装了bcm43xx受限驱动(firmware)驱动后,开启无线驱动后在重启计算机或是关机时会出现宕机。很奇怪的是这个问题在Ubuntu6.10,Ubuntu7.04上我没有遇到过此类问题。
LUPA开源社区}eT
J/B-R1Q^`
T]5x?I'f0为了解决bcm43xx驱动的问题,我使用了ndiswrapper驱动。
LUPA开源社区8R z,j/SL
~6yH现在我就说说在Ubuntu7.10上安装ndiswrapper驱动的过程:
LUPA开源社区D+il}'iO4aN0d9W|
bLUPA开源社区wr"^'y#I
e1Xp第一步:安装NDISWrapper软件包
{
k rl5D0su}b1o0,B9}0IH)~0$ sudo apt-get install ndiswrapper-utils-1.9
:\S H0z.v,J9g,b{Tg0$ mkdir ~/bcm43xx; cd ~/bcm43xx
FDoig/M`Z0LUPA开源社区&hb5c9G,|\
j第二步:过滤掉bcm43xx(将bcm43xx列入黑名单)
LUPA开源社区3s~
[ ?kib0N*s.l2MKim!Q0$ echo 'blacklist bcm43xx' | sudo tee -a /etc/modprobe.d/blacklist
{9Zw2l+hUc6x0LUPA开源社区1sxmR)De/}$s~"d第三步:下载驱动
LUPA开源社区K:K#Pi%e;uJA&Ax_$ sudo apt-get install cabextract
LUPA开源社区4u%Z9u4u$E4ZqG/~!^x
n$ wget ftp://ftp.hp.com/pub/softpaq/sp36501-37000/sp36684.exe
LUPA开源社区(f/eCo(u C$ cabextract sp33008.exe
LUPA开源社区g4KS&pp{*A2n}as;`d/D0第四步:配置 NDISWrapper (and WPA Supplicant)
9D.@o)zUn,?j0LUPA开源社区2Gz0Xo;Mi*K$ sudo ndiswrapper -i bcmwl5.inf
.`#Ab!E H(o4n$W:a G0$ ndiswrapper -l
a3a3NS.reOFz0$ sudo depmod -a
Z'PNI{w-Uxg+F|7y0$ sudo modprobe ndiswrapper
7D
NjM!g0$ sudo cp /etc/network/interfaces /etc/network/interfaces.orig
i1b7xf{G/y]z0$ echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces
D+z3T7h7B0$ sudo ndiswrapper -m
LUPA开源社区n&l~4VL'T$ echo 'ndiswrapper' | sudo tee -a /etc/modules
LUPA开源社区?o*A6u.QWtj.^0z$ echo 'ENABLED=0' | sudo tee -a /etc/default/wpasupplicant
A~'o MO.E8M0F#_vU3E%NUq0现在重启计算机,无线网卡就能工作了,而且解决了宕机的问题。
1ZP.by6Fig$f0ps^V%wAdT%H0移除 Ndiswrapper
LUPA开源社区#To
u4v;m-f
yN8`yE8V$ sudo modprobe -r ndiswrapper
LUPA开源社区yAl8N;J2?*C{}$ sudo ndiswrapper -r bcmwl5
quD
Ly1Z.hs,s0$ sudo apt-get remove ndiswrapper-utils
8xW#vZXJ0$ sudo rm -r /etc/ndiswrapper/
LUPA开源社区TXBDw,x:OkL$ sudo rm -r /etc/modprobe.d/ndiswrapper