ubnt解决方案
楼主: vodka

[原创] eeePC/AspireOne/HP/DELL mini Atheros AR5006x/5007eg 破戒疑难解答

[复制链接]

90

回帖

1万

积分

333 小时

在线时间

上校

注册时间
2009-9-2
金币
10497 个
威望
2 个
荣誉
0 个
累计签到:1037 天
连续签到:0 天
[LV.1095]铁杆粉丝
发表于 2009-9-2 16:14 |显示全部楼层
我用虚拟机,没办法了
回复

使用道具 举报

10

回帖

74

积分

6 小时

在线时间

上等兵

注册时间
2007-7-12
金币
57 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-9-8 11:23 |显示全部楼层
还是要支持一下才行
回复

使用道具 举报

37

回帖

161

积分

2 小时

在线时间

上等兵

注册时间
2009-9-8
金币
114 个
威望
2 个
荣誉
0 个

尚未签到

发表于 2009-9-8 11:30 |显示全部楼层
这是几个意思
回复

使用道具 举报

16

回帖

137

积分

16 小时

在线时间

上等兵

注册时间
2009-9-9
金币
106 个
威望
1 个
荣誉
0 个

尚未签到

发表于 2009-9-10 20:20 |显示全部楼层
usersSupport
) Y; v4 I6 P5 b/ \/ w5 NDrivers
, i+ C: n* [8 ^9 X) i2 W$ O% |& y9 s8 XDevices* Y0 x4 N% ]8 @
Download
) s5 M: I! I6 |5 W3 q- x% fDocumentation
3 a0 z% H6 T# fvendorsdevelopers: F& U8 O* A+ n7 p7 @; r" [
b43 and b43legacy
. t6 B% w' {/ \) ]' HThe b43 drivers (bcm43xx in mainline kernels, b43 and b43legacy in wireless-2.6 and 2.6.24 and later) are drivers for the 802.11 B/G family of wireless chips Broadcom produces. The choice of which driver your card uses depends on the revision level of the 802.11 core. This number is read by driver ssb, and the correct choice for your device is made at that point. Note: If your card is a BCM4306 Rev 2, or only has 802.11b capability, it uses b43legacy. All other models use b43. # k/ O2 @  T6 m; e
0 L% X/ M. u/ l& c  q
4 ~7 {5 ?& Z+ i( K: c
目录
# U" M5 f# D2 {2 Q
- i& \$ z6 {0 e  ^. `( q; Bb43 and b43legacy2 z. K8 W" e$ S8 p. j' i
FAQ - Frequently asked questions5 R- P: F0 X4 C5 @7 R
caveats
/ O* Z( }" [) ?  [! e) ~9 QKnown PCI devices, B* Y" e3 Z  v0 ^# J8 K
Supported chip types
2 [' i5 {! N+ x3 P- B; sSupported in wireless-testing/compat-wireless-2.6% E- d- r$ K$ u2 q% ?0 S
unsupported chips: e2 X/ ], h4 U/ }( ^( Y- a0 _, j
available devices0 C, g5 E/ m2 j, V! \
features
& z! p: b- J  m# L% U: adonations
; K* B0 N! c/ n5 Hsupport! z$ S: [& W: h& G  _' _7 K
device firmware
) [( X* \4 u1 h9 x# efirmware installation4 E9 _( }4 j, Y+ L- D6 e% Q
bug reporting$ R4 Y7 d& _% q- H5 J. Y7 A5 k
bcm43xx, b43legacy, b43, softmac,... the full story# R; O( J% q' }/ d/ |7 @; x
related tools* h" J' y/ |3 y. ]1 G  t& N
external links; Z9 h" ^1 ]1 X  E) }- f. P
7 d9 d3 L( d% Y
2 w* q+ c4 ^: a% L
FAQ - Frequently asked questions
" i7 B& ?( h" l6 |  APlease read this whole document and the FAQ before asking any questions to the developers.
' W9 c6 [, [% R0 E5 a# r) @3 B/ H( y& b3 x- L6 }# Q; U
5 A: B3 n( o. ~) R
caveats% t3 J, ^3 J8 f" b8 m; `) _4 [1 h
All Broadcom chips require firmware that is loaded onto the wireless chip before it can operate. See below.
9 ?- T, [9 @7 e$ b' Q0 D& C( T6 d1 _# a$ N7 t1 J1 E* m
If you have an USB device with Broadcom chip, please try the RNDIS driver. The b43/b43legacy driver will never support this device.
8 Z! m  w3 g9 l1 ]+ s5 X! u' {! ]9 \# o

- H3 H: g% [  r) [Known PCI devices
. r% |: U+ Z! U5 W* [! Q0 z& j) EWhether a PCI device is supported by the b43/b43legacy driver can be found out with the lspci command: 4 V" N3 m* u$ w* K: D0 `

4 H5 e" C6 f/ E' N9 u0 K" E: K( ?, `2 W2 Y
lspci -vnn | grep 14e4The command will result in a string similiar to this example: % a% a  L" i$ U: e: @
; U/ ?! a) Q, J3 c# a8 T3 @
: N  u# m3 }+ x) R6 @* h& J! u- ~1 p  r
0001:01:01.0 Network controller [0280]: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller [14e4:4318] (rev 02)You should ignore anything, except the last part inside of the [ ] brackets. In the table below you can check whether your device is supported. 6 P) Z* b0 S8 ^6 {+ e' s

" U6 h2 C, D: @* G) G% F  EPCI-ID + g# C/ Z) i5 T4 Z. y, @8 C
State / m1 ^# H& ?! u0 _+ ?: N  J
Chip + ~, c/ U+ s' Y! R/ J5 C
Driver + P, L0 E+ p, B0 X* K. b

) D- Y: c8 }" c# u: S" ~5 X14e4:4301 - G' q" D- f6 \1 Q0 N3 B
supported
) c. _; A. _  @ BCM4301?
# |  N4 \8 ~% X0 e) U b43legacy   w: K; g( L6 H" s

- C& T% W# Y! C* [% n) b14e4:4306 " s* }: ~& C/ ~2 ~1 y4 ~
supported 0 l# a: z4 l* f! W; k6 A) {
BCM4306
5 w* q9 K0 Q! B. W) r4 s b43legacy? ) M7 d! q; e4 h
+ a2 }7 `# c, i0 T, }* y4 m
14e4:4307
. ?$ \+ A: q4 I& K% l supported . C! x" T5 ]. F9 b( }: c6 `
BCM4306
  D% m0 {6 c: w4 z/ X4 u- g b43
2 ^& `7 s* A0 ?2 z4 o) O/ \
( y; T/ O$ V" R) M: C14e4:4311
) N3 q9 R0 L9 ?- T* ` supported
; l* J. L& R3 Q$ J. F; A% Y* R7 ? BCM4311
! z! K* p: T" u- N b43
5 {* h: L6 A3 N( r- d+ v
  k3 W5 |. L/ O# q$ r14e4:4312
4 E4 s( r4 Y" Z4 D) `4 Z! ` supported (802.11g only) 3 R, }6 q0 Y# ]
BCM4312 802.11a/b/g
. l2 D* `7 J, L( ^ b43
) ?5 v5 i' j4 c7 j  ^% A3 E1 D
8 X" }5 D& d' Q3 j( W; ^14e4:4312
/ i) S0 ]9 |/ B9 q not supported - ID is duplicated ( ~% J0 b) R) u
BCM4312 802.11b/g
1 u+ o* |0 S* z' ^# W  S9 o b43 9 _: E, U7 B9 u$ }+ e" V

4 m, R4 w' Z* b2 f+ o: y14e4:4315 & E/ U% b2 J1 c2 t! q
in progress
7 M# p7 N2 ?. g9 v BCM4312 802.11b/g - low power
  m, n( X9 {5 L1 n; B b43 ! e% f  O8 o& K) s$ Y& _) q+ ?3 _
( E6 v' t8 z+ w4 I+ ]: X
14e4:4318 $ P, x, O7 L  _" e2 L! L, h; l
supported
: s) {+ S0 E/ ~0 v2 J BCM4318 ! x& h9 u, z. p( Q1 e0 E, f
b43
' n4 m3 n+ b( z. S
; B5 X: W4 @; `7 ?! {14e4:4319
" t4 o+ F( o* N8 N' A' ~ supported
8 y5 ~8 O. }1 Q$ R# t BCM4311? $ P0 V5 g; r# V) y- W8 M
b43 . j" F, |+ E% g* m! f; a- g  C

; K; }$ y! j; q2 m  ~8 B4 A/ d14e4:4320 8 W( F" c  k1 K$ L  I$ f
supported
/ i% ^2 l8 w" M' ^/ n) S. } BCM4306
  |1 q5 }) g  E5 H) i) N  h b43
6 _3 N/ x$ X/ D  o" f' T . a$ e1 W6 C, x% T0 v
14e4:4321
. ?" N' Y# N/ |# V- I) u$ s2 p not supported 1 V6 [, f, W3 H8 Z
?
+ X$ X+ ?: Z) @9 ?( i4 _$ m b43
$ |' ~) s1 Q/ u. b" e  G/ X # ^9 x. [9 [- A! P+ d
14e4:4324   H5 j' C+ V/ h) ^7 i
not supported?
, p7 v5 z4 w0 n ?
) u# C" Q9 W- q8 `( m1 t6 b b43 ; j, N4 f+ h% e' v5 C

/ k4 X* u- g- G2 ^& K14e4:4325
* Q: d. ^5 Z; h) h1 { not supported
* Z  O8 S. r1 V1 w' A ?
, G, I! ]* k, _' a$ z) S! ?$ J% S7 u0 N b43 - ?/ L' X+ k2 |
7 M5 G9 n2 I! t
14e4:4328 . i; x0 f3 r2 H% q0 A
not supported % e2 p+ s' Y' p& f# T$ K
? $ {* P- z2 h  I1 `+ v! G/ a. I5 W
b43
% \3 T/ I" b" D; e- t
1 T4 O, s/ v. @14e4:4329 $ X% r6 p  E) F$ [" m: q8 i: W( V: o
not supported
9 A' v2 \" D) Z  V) g) S1 Z1 ] ? $ s* I* L9 F8 u, y# L
b43 8 }8 s& G, Y" `' k# V
- m  r+ t* G1 e7 x6 E
14e4:432b 6 Y: Z) |& G8 n+ N9 i/ C
not supported?
- U) h: [0 O& w7 }; e ? $ ^6 `$ h9 k6 ?; m- W
b43
9 ^2 g1 E6 L/ a5 M 2 E0 k( [# s! j/ Q" ~" v
& D2 @3 M3 Z) _, Z' \
Note that the PCI-ID is _not_ in direct correlation with the Chip-ID. The Chip-ID is printed to the kernel log by the b43 driver on startup (example): 3 S9 Z7 Y6 x# F, R
! v% e& J$ k3 v# b. }; o7 O
( R9 ?8 y' E$ Q3 P+ _
b43-phy0: Broadcom 4318 WLAN foundOften the PCI-ID equals the Chip-ID, but that's not always the case and it's a constant source of confusion. # Z" D# K% ^+ M! r" ]8 t4 e
" L+ G8 e, r9 y  A
! ?* h5 d  a7 B# X1 I, |/ A( j3 ~
Supported chip types7 p/ T* @0 C. M5 l( [4 K8 `
bcm4303 (802.11b-only chips, uses b43legacy)
1 b% q1 \) T0 Q) Jbcm4306 (Rev. 2 uses b43legacy, Rev. 3 uses b43)
; M7 K+ n+ ^5 H  w1 E( vbcm4309 (only the 2.4GHz part) & ?" v* W% u) X" ]/ a! Z
bcm4311 rev 1 / bcm4312 9 k$ Q7 W- G" ~1 K5 B
bcm4311 rev 2 / bcm4312 (needs patches for 2.6.24)
7 k0 X' a4 V- o. H- Jbcm4312 with a/b/g (only the 2.4GHz part and no low-power LP-PHY devices)
) ^1 I; ^+ x" D( c6 lbcm4318 & q) j0 A' K  m0 x- N( }& K! J# C

: ~( j; V# R: }: p, CSupported in wireless-testing/compat-wireless-2.6- f# m7 G% `9 Z: `1 |2 G& R3 b
BCM4312 802.11b/g, AKA BCM 4310 USB - This device has an LP PHY. Work on this device has begun, and the device now works in wireless-testing (and will be supported in 2.6.32), but performance is sub-par, due to the lack of calibration support. Note: This card uses the PCI-E bus, despite its name.
: ]. P$ }+ V" J- d7 n8 R4 D( ?BCM4313 802.11b/g - This device also has an LP PHY. The same probably applies to other LP-PHY devices.
" P$ x8 f3 m! }" h# T# y, K* e+ ~& t' T. a' w/ U7 G7 B
unsupported chips
! u2 [+ c. J( y. Y. iThe 802.11a part of the 4309 and 4312 is not supported.
+ R- g5 {6 r/ g" {$ V, LBCM 4322 802.11a/b/g/n (Has PCI-ID 0x432B) - This device has an N Phy. There is no support for any Draft 802.11n features. We are working on it. 2 f7 E$ v8 I1 A8 T
BCM 4321 (Has PCI-IDs 0x4328 and 0x4329) - These devices have N Phys. There is no support for any Draft 802.11n features. We are working on it. ! L: u" k. ~+ s0 l' Y. U/ Z
. U/ w) a# J9 e+ [, e
available devices, `9 l- a# s3 e
Please see the device list. # \  J$ A+ A. V. r# q$ q

! d% l& }6 X+ S1 S2 M- I
3 ?5 P+ k+ Z+ V: p! q* A8 Yfeatures- |$ i0 `4 Y! ]+ i) b8 e( u
4 Z0 d7 ?# V0 o/ O. A) d  p
working* w6 E; y7 ?: A
Station mode   ?- r- W5 ?  M( y! y# W
Mesh networking mode (b43 only) ) Q8 W" \' D7 E# r7 P
Access Point mode
# J  U! _* Q* l/ vAd-Hoc (IBSS) mode (b43 only)
, p% s* r& P2 r5 y) XMonitor and Promisc mode.
# S% `  X9 u. p2 ~5 t/ ?"Monitor while operating" and multiple monitor interfaces. ' E9 T5 v9 ^9 m' H2 Z; |: J/ p
In-Hardware traffic de/encryption (relieves your CPU). * c( }' x1 I# U, Z- ?; Y6 L/ L
LEDs to signal card state and traffic.
4 Y2 q4 r  E4 B& c% f- b4 f3 P8 o! z2 [In-Hardware MAC address filter (b43 only; impossible on b43legacy hardware) . P, f1 I: H. r0 T) U6 j" Q  }
Packet injection (with radiotap; no FCS injection currently though hardware supports it - a radiotap flag is being discussed for this)
7 J. e. G! b+ Q8 V2 p: [" wBluetooth coexistance protection, if the bluetooth card is physically connected to the wireless chip. (Does not protect against external BT dongles)
% F& b3 A  ]; ^4 c+ CProbably something we forgot to add here.
$ o% U4 r" m+ Y% w- c4 I3 y% J, ]6 M/ r! h) N  j  v* S
not working yet
3 ]* w8 e9 X2 X3 d; C$ U# S- OIEEE 802.11n
  Z0 p: ~  \" u% }4 _) P  S/ W: TInterference mitigation.
3 P- P" f, B" l5 h' pProbably something else that's not listed under "Works". # m) A  B$ f$ W
AP mode using 4318 because of packet loss in high transmission rates. Hard to debug & fix. 4 ]2 [7 M/ c) H' e2 Z5 I1 f0 K* R( q

7 M& f/ l0 J) t# O- C. T( w2 q! K3 @$ y3 ~( I) p9 ?
donations
* H4 E$ C; ^# t4 ^! MMany people have donated money, hardware or other services to make this driver possible. Thanks! Please see the donations page for details.
0 W8 F! W9 K2 D+ `$ \* Q- F- [5 a$ _+ z3 g' Q- @1 G
; Y" P8 P. m* _
support
# n; ]* ~, C1 JIRC channel* c6 F$ m, U2 T/ N+ C. ~1 x7 H
irc.freenode.net #bcm-users (English please) 1 g) X! y9 U- v4 y/ [
Mailing list
3 h+ e( Z' l: @5 h* z' y2 Chttp://lists.berlios.de/mailman/listinfo/bcm43xx-dev 6 v0 x" F1 @* m* h

* b9 x3 V( B8 b! Z" A7 c1 B# ?; s) H( x7 U: U7 d
7 |, x( V8 C5 s, I( I8 u
device firmware  D( Y" t  ?" q8 F. B8 H3 N
* H1 i0 {$ A, P/ w
firmware installation! i: P. E  R0 F+ n- V. [. m! {6 S
The Broadcom wireless chip needs software, called "firmware", that runs on the wireless chip itself during operation. This firmware is copyrighted by Broadcom and it must be extracted from Broadcom's proprietary drivers. To get such firmware on your system, you must download the driver from a legal distribution point, as noted below. Then you must extract the firmware from that Broadcom driver by using b43-fwcutter (or bcm43xx-fwcutter) and install it in the special directory for firmware - usually /lib/firmware. Please note that the firmware from the binary drivers is Copyrighted by Broadcom Corporation and must not be redistributed.
7 j3 I0 g4 \6 j
! w& a6 U$ r. b1 JSome distributions have special methods for installing the firmware. In general these consist of a special command entered at a terminal. Because the proprietary driver containing the firmware cannot be included in the distribution, you will need a working connection to the Internet. Please post details for distros that are missed at bcm43xx-dev@lists.berlios.de . * G2 `  h# }" z* b* S  h0 k+ `

/ h  y/ d1 b+ u7 `Fedora 10 and 11 use the following commands:
! ]! m! J% T  j; |( ]: P. B' Osu - 1 n1 x( a! {& _9 `+ y6 A2 S
; K; M( ?) k9 G1 P3 Q
yum install b43-fwcutter wget " M; P0 c7 G8 l3 f8 A/ l

7 |' X! V( C2 A8 S+ wwhen you are asked "Is this ok [y/N]:" answer "Y" (and press "Enter)
& I6 V0 n1 {- Z: [% w% v1 tNow you have installed b43-fwcutter tool for extracting firmware from windows driver and download tool called wget. Now you need to download windows driver. 0 D) G+ y1 ^+ o+ E& V. b  S
wget http://downloads.openwrt.org/sou ... l-4.80.53.0.tar.bz2
) O2 ^6 i  n; S# }0 }7 O) W: J7 b6 C; h8 ~( x
Now decompress, extract and copy firmware to /lib/firmware directory. " e/ l, N7 X$ E9 e; c
tar xjf broadcom-wl-4.80.53.0.tar.bz2
; ^/ D: d5 w9 q& e9 H2 D# P5 b2 S/ e, L% J* Z% ], ]
cd broadcom-wl-4.80.53.0/kmod"
3 u/ `1 N% Y2 `  q7 V: v; I
5 m1 i) z! ~* b# M8 qb43-fwcutter -w /lib/firmware/ wl_apsta.o 1 s. I( `% L- [. [  m
4 C: @$ j/ F( `( z- x1 j
openSUSE 11.0 and 11.1 use the following command: ! t2 d7 y) [" V! Q% r8 F
sudo /usr/sbin/install_bcm43xx_firmware   c" K, C" o' c5 z" t$ Z

* n% a1 t5 ~: p5 Gin latest versions of Ubuntu (all flavors) and Debian just need to install the b43-fwcutter package:
$ P5 J/ s+ u. M1 p+ x: M2 C2 g2 Ksudo apt-get install b43-fwcutter . |  j& Y* ?# _6 C2 m+ l& B* _
7 e' g, M7 D3 _: g. g
when you are asked "Fetch and install firmware?" answer "Yes" (just press "Enter) 8 _; E4 f5 P5 Y6 a5 S5 w- {* t
Gentoo systems supply a pre-compiled binary for b43-fwcutter. You need to "emerge b43-fwcutter", and then follow the instructions below to download the Broadcom driver. The line that invokes b43-fwcutter will need to be changed to execute the program emerged above.
/ ^4 Z" k% H) J/ v+ d2 j# hMandriva's graphical network card configuration tool, drakconnect, will extract the firmware from the Broadcom driver, which must be downloaded before configuring the card. For versions through 2008 Spring, you will need the V3 driver described below. Beginning with 2009, you will need either the V3 or V4 driver depending on whether your device uses b43legacy or b43. Either the wget command below, or a browser download will get the appropriate file. " G/ q6 E" i6 y1 B  |  \& s
Note: If you cannot use your distribution's packages, you need to have a compiler and headers for libc installed. The reason for this requirement is that you will have to build fwcutter.
) _# C. X7 p0 l9 |7 G  }1 \8 l
- f, c( w* R" `( X! p& bThere are different versions of firmware and tools you may need:
  I4 [4 e7 v, s7 A/ l/ Z+ c" ~7 D! W. U/ x$ y5 v
Driver 1 ?5 d  E8 ^/ c& e& K  X' P! m+ f
Kernel
4 @/ o" s" n, F: l; t4 P5 W Firmware 7 M6 G5 q4 K* Q
Firmware extractor
' R5 S- X$ J! d/ t6 Z3 V# x Instructions ' O3 m$ ~9 o* ?. A/ r- A" Z! @8 Y8 ~
& P( }/ }6 N5 h% f# A
b43
) q& t1 h0 U" O0 l Linux-2.6.24, including 2.6.24-rcX and 2.6.24.Y , ~; ]) s/ X( n$ r
4.80.53.0
# h8 I" ~/ J4 m: H7 d b43-fwcutter v. 12 ; r) I  S0 b' \! H& q, i( U5 t
Go
" k. o' a6 r# Z5 h# `
. V% V1 M& R& V) tb43
' f: x; D: {7 k4 y Linux-2.6.25 and newer, compat-wireless-2.6 package, current GIT trees
' U0 z0 \" s( I+ j) N. Y) W, v 4.150.10.5
/ M5 g& M9 u: I5 T# N/ J b43-fwcutter v. 12
# A: A  K+ |, Y; j, Q Go
$ K% C5 }# C% `8 o5 A" p  A1 M, ] 4 n! S8 X$ e% a& a2 q! K3 p
b43legacy
- {) u- S. T7 {% D+ p Any
( }1 {7 X) }" I( ~% v 3.130.20.0 ) V/ t: d8 a+ p* K  U% m' P
b43-fwcutter v. 12
6 [8 w. b0 C5 l8 v9 g Go
3 K$ u0 n! U- h4 O2 y+ @7 Y1 K
6 c, ]  ]) }$ h% E6 rbcm43xx (deprecated)
4 u  f& _9 A9 s& m$ g$ U Any
% Z  Z/ s9 L) q/ _7 z- p 3.130.20.0
% R; H* f1 y5 W! O" m; x5 m bcm43xx-fwcutter v. 6 ( `1 `6 c+ Z) S; M/ e
Go
; w! c5 U# \3 a' P
% j4 j/ {% @; B- U( Y  U3 M
* I7 t1 ]  x# S$ ETo accomplish this task, do the following: 5 y2 C; w7 V  M0 n

% I2 A/ ~8 c  V" V1 h/ K0 n! z
1 q: @5 x7 F* o
* j, H, y9 A$ t: P# [3 i- q7 ]You are using the b43 driver from linux-2.6.24/ D: K2 \) c5 n6 T. ^9 S% ^
If you are using the b43 driver from linux-2.6.24, follow these instructions.
4 j& k& N2 t# h" U5 c- }- c6 e
: m4 h0 n) r) T5 ~- j/ C# C4 JUse version 012 of b43-fwcutter.
, y/ v3 p$ J! i1 f& vDownload, extract the b43-fwcutter tarball and build it:
- u0 l5 X1 q9 l5 e& ~
  u, x2 ?+ C' O" \: Y( S' b
0 o2 y  w' k( i( S9 C" qwget http://bu3sch.de/b43/fwcutter/b43-fwcutter-012.tar.bz2
0 T# _# H* A6 C  r9 c" Star xjf b43-fwcutter-012.tar.bz2
3 l2 B2 X# P+ }" ]4 Ucd b43-fwcutter-012
$ }  [1 G" b! k' L6 y" S( t! q7 lmake. u; a$ g3 F/ z# _: n
cd ..Use version 4.80.53.0 of Broadcom's proprietary driver. / M% S9 P* |( |. x
Download and extract the firmware from this driver tarball:
8 f9 ~8 n* t$ M7 ]- A8 {3 y/ i. z! P/ G5 b) y& A
/ p/ R1 ?: F  @: L+ r9 j! e
export FIRMWARE_INSTALL_DIR="/lib/firmware", m/ \, B! m" T! S
wget http://downloads.openwrt.org/sou ... l-4.80.53.0.tar.bz2
, d4 w2 q  Q* mtar xjf broadcom-wl-4.80.53.0.tar.bz25 c9 O4 W- Q( p+ b5 g0 V/ ^
cd broadcom-wl-4.80.53.0/kmod
8 }; m' f# E+ ]4 C% n8 m, lsudo ../../b43-fwcutter-012/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta.oNote that you must adjust the FIRMWARE_INSTALL_DIR path to your distribution. The standard place where firmware is installed to is /lib/firmware. However some distributions put firmware in a different place. ' V$ {3 c/ m/ f0 a6 O' t  S4 h) @+ x

  \0 T8 p% _3 w) z: e2 I% P  j+ ]/ l+ s2 L5 x

6 S7 ?- [* U# k7 n3 \# `. v8 LYou are using the b43 driver from linux-2.6.25 or newer" p* t( b! x# }- {! h& C3 W/ q
Follow these instructions if you are using the b43 driver from linux-2.6.25 and newer or compat-wireless-2.6, or from any current GIT tree. 5 Y" a/ s9 j* W' }- G7 h
5 ^  _* P# ]/ f% P7 t$ {
Use version 011 of b43-fwcutter.
+ y5 K" B5 O/ D$ m/ N0 _+ ~: J7 vDownload, extract the b43-fwcutter tarball and build it: 6 P' h4 ~9 H. q
) ?; ?$ H0 z$ Z9 ]& d8 K7 u

- G. `& X" Z; y% E9 c6 s$ o5 ]wget http://bu3sch.de/b43/fwcutter/b43-fwcutter-012.tar.bz2
* [: F- Y- \: Q, J) e* ^tar xjf b43-fwcutter-012.tar.bz27 C# S+ ~8 D9 O; {( H7 x( Z
cd b43-fwcutter-012
8 g0 A$ y( g4 y# mmake0 r7 f. q* g! R/ N# m
cd ..Use version 4.150.10.5 of Broadcom's proprietary driver. - u6 h6 W4 |, i: E- H* A( {+ w! [
Download and extract the firmware from this driver tarball:
" p  w8 Z0 o+ ~4 }+ ^/ e9 C& G8 l+ u0 I$ O* D/ ]1 V! t" a4 i
% W9 q) O' C% L9 |$ Z3 M
export FIRMWARE_INSTALL_DIR="/lib/firmware"
. c2 M, c3 e, _# G% x" W/ T! ^wget http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz24 C. O1 v, v- z6 X  b
tar xjf broadcom-wl-4.150.10.5.tar.bz2
1 q; C  r/ E, }cd broadcom-wl-4.150.10.5/driver
; x! L5 @2 g1 c$ Q2 H4 h. Jsudo ../../b43-fwcutter-012/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta_mimo.oNote that you must adjust the FIRMWARE_INSTALL_DIR path to your distribution. The standard place where firmware is installed to is /lib/firmware. However some distributions put firmware in a different place. ) D" {6 T8 W& i2 d1 o& U/ E2 L. }

, B0 e9 j. a# s! e! ~; _( s
# c0 \* m3 F3 ^2 f) Y+ R, ~) u) o6 N2 }# ]' I4 F& s2 O" R
You are using the b43-legacy driver: q) Y! @/ r! Q/ m; l3 ^3 ^: z
If you are using the b43legacy driver, follow these instructions.
" }$ A7 ~8 ?; {
; h  \1 ~  ?8 Z; FUse version 011 of b43-fwcutter.
# C- Z  O' D' R( n- T4 MDownload, extract the b43-fwcutter tarball and build it: ; R& P9 C. [& h
% v7 Z  P7 @4 [/ w( C6 _/ `

  Y; q6 n# d6 {2 Dwget http://bu3sch.de/b43/fwcutter/b43-fwcutter-012.tar.bz2
4 u4 _: O: D4 d2 ~" Gtar xjf b43-fwcutter-012.tar.bz2/ @4 q8 U  e. R+ S/ S
cd b43-fwcutter-012- O3 a0 l* P$ ^
make
" {5 H- D) T& Q& Ccd ..Use version 3.130.20.0 of Broadcom's proprietary driver. 8 Z) }2 z0 T' b# }1 p# f* t# J  `
Download and extract the firmware from this driver:
4 e2 L+ L* d1 |: t# D, I# y* @
2 G  I+ f6 t; Z$ Y1 h& \. E2 @3 Q( P) P) X: t7 |
export FIRMWARE_INSTALL_DIR="/lib/firmware", a) T. Q5 e+ b3 ^8 k1 c% R  {0 L) n
wget http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o- O/ ^2 c" a. L( r0 r1 N
sudo ./b43-fwcutter-012/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta-3.130.20.0.oNote that you must adjust the FIRMWARE_INSTALL_DIR path to your distribution. The standard place where firmware is installed to is /lib/firmware. However some distributions put firmware in a different place.
$ M. p4 t% V# X) B1 x  D4 L3 R* Z1 G0 V9 {* C4 h8 R& u& T; ?! b) x

: g' a$ U  s6 N
% u/ s1 F. Y, m7 Y/ `9 U0 E4 m8 ?You are using the deprecated bcm43xx driver6 A( i0 E1 G/ E! _
If you are using the old deprecated bcm43xx driver, follow these instructions. 8 F9 N4 c2 ?7 Y1 l: D

- a7 O9 }# M3 k! EUse version 006 of bcm43xx-fwcutter. 3 `& y1 y7 A% e1 C  i
Download, extract the bcm43xx-fwcutter tarball and build it:
8 ?: f3 G! A+ z( L( I
6 N+ @2 W$ d: u" k: R& `7 c# T. F
wget http://bu3sch.de/b43/fwcutter/bcm43xx-fwcutter-006.tar.bz2
- ?& x+ z6 Z7 x; otar xjf bcm43xx-fwcutter-006.tar.bz2
9 m2 v4 @! k4 {0 f- `cd bcm43xx-fwcutter-006  y+ w" B9 M" y6 W
make
4 `5 ^9 ?9 P1 J. pcd ..Use version 3.130.20.0 of Broadcom's proprietary driver. / N5 Q' l8 F5 x- v9 y
Download and extract the firmware from this driver: 2 f3 K& Y6 ^1 F* A

$ F3 d3 x9 o5 r/ G3 R- k
# I# {* ^) e% K( |, |+ }& Fexport FIRMWARE_INSTALL_DIR="/lib/firmware"4 ]2 r0 }+ F9 j2 T* U* o8 P
wget http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o
  Z+ \4 U  D8 R; Ksudo ./bcm43xx-fwcutter-006/bcm43xx-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta-3.130.20.0.oNote that you must adjust the FIRMWARE_INSTALL_DIR path to your distribution. The standard place where firmware is installed to is /lib/firmware. However some distributions put firmware in a different place.
/ {( J& n: p6 D( z2 W) o4 J1 n6 [
" h+ {1 [& v0 y7 s. y0 I7 U  _6 G. t$ L1 y8 E$ K
bug reporting
! {3 G1 t8 o. o7 \& T& WYou should send a message to the b43/b43legacy mailing list at bcm43xx-dev@berlios.de containing ALL of the following:
+ k( B, J1 W, _# }8 M; ?$ e- W7 C7 b9 B9 U+ `' R
A description of the problem at hand ) P1 X0 D& M4 k( o! C
When it happens
+ c# ]. s$ J* s6 k2 g9 JHow to reproduce
% _/ p6 L  K" b8 `. z" P0 TThe output of the following commands:
! k) _: ]3 L: _, D9 k% L2 ^) \8 j# |; `* T& O
uname -a
2 t0 \. ]; x7 P0 l
% _' {' I" ^, c; c' a/ [8 tlspci -vvn|grep 43 -A7' F( y: I- v+ Q! \- M

: h1 n8 Y) R# o% bdmesgwlan configuration, authentication/encryption type
2 e* i# w$ W: T2 ?+ ?3 [In addition the following may be of interest to developers:
/ t0 |7 s+ A* f) r1 g7 X- t( K  U# v& S, y$ D! j
If you have built the kernel from git, tell which tree, and the output of "git describe"
! {8 _, m0 Q2 AIf the driver worked with earlier kernels, but has since stopped working, a bisection is of great value.
" F8 ?0 d  j' R9 f# [" U, v
# w: b# J7 J- K6 Y+ [7 ]  Ybcm43xx, b43legacy, b43, softmac,... the full story
1 s/ k! h$ B: ~  U% q0 _) c7 d2 k# hThe bcm43xx is the old deprecated driver. It is using the ieee80211 + softmac libraries of code shared with other drivers. This stack is deprecated and being replaced by the new mac80211 stack. A new stack implies brand new, re-written driver(s): here come b43 and b43legacy.
) p/ `) I. |/ e2 `  [
9 N7 A, N; N- x# a0 A
$ ?2 E# N  W% ^0 M% jWhat's the difference between b43legacy and b43?
- D9 V, @' |* Hb43 offers a newer codebase and hardware crypto support. Broadcom did not release any version 4 firmware files for some older boards, possibly due to memory constraints on the cards themselves. Stuck with firmware version 3, these cards must use b43legacy which doesn't have hardware crypto support because that has not been reverse engineered completly for version 3 firmware.
5 i4 ?5 u5 l! Q5 E! `  }4 v  a: K
& W% g( q# u2 ^6 R4 ?6 w# R
1 Y4 Q6 |7 h3 T3 C. f5 X bcm43xx
" k$ o& }7 M. J- c+ {, s, [! V b43legacy % v+ G0 Y) J: I
b43
' p1 g& ?6 e& f5 R# G4 c
+ c3 A3 G5 J$ z. z, s9 D  Eneeds firmware
# ]! P- w* K( W version 3 % N# b9 E6 h3 i+ u6 g# [7 o
version 4 % V7 B& b' B  A" @

0 {* o# V5 X3 ^8 Z9 vextracted by 9 {; ~3 z4 S: _3 Y3 B. c+ G
bcm43xx-fwcutter
2 I+ N: U& E" j' w b43-fwcutter
& m# N9 g$ M5 \2 D$ `8 a" [
1 G! N( W  g8 b& x7 i7 Z1 p5 vdepends on
- a% N$ e  K# U! o# f! ` softmac ( x6 g. _  S0 f
mac80211 , P$ ~7 H8 }7 ~" [& S) ]8 n

8 x( R* u6 f2 [$ Y4 q" V/ e4 U. A2 s
b43legacy should be used on all 4301 and 4303 cards. 4306 and 4309 cards with a MAC core revision of 4 or less should also use b43legacy. b43 should be used on all other cards. You can safely have both versions built on the same system. The full MAC core version is printed in the kernel logs when "SSB debugging" is enabled in KConfig and the driver finds a board. Type "dmesg" to see it. If you are unsure and don't know what we are talking about here, always build both b43 and b43legacy (and get firmware for both too). The kernel autoloader will automatically do the right thing and load the correct driver for your device.
, x1 o! I' k# }
) M3 `: F  s2 ]" a8 n
; ]2 h$ e5 U: O! T3 x: brelated tools9 G4 V- _4 h9 F$ r
ssb-sprom * O. F0 l( T* p, E
A tool for the modification of the Broadcom Sonics Silicon Backplane SPROM (e.g. you can permanently change the MAC address or the PCI IDs of your wireless card – useful on some (e.g. Compaq/HP) laptops where the BIOS checks these at boot. It's now part of b43-tools: ( H& a  i8 F  T) x% R
git clone http://git.bu3sch.de/git/b43-tools.gitTo use the sprom tool, it is necessary to get a disk copy of your sprom from the /sys file system. The file path for the sprom contents depends on the bus layout of the specific computer being used and will be something like
" t. x6 c, R7 T$ l: o/sys/devices/pci0000:00/0000:00:0d.0/0000:04:00.0/ssb_spromIt is not recommended that you try to type the name. Instead, you should use the following commands to get the working copy: " ~* P+ l: x' F. N' X, `
SSB_SPROM=$(find /sys/devices -name ssb_sprom)* F/ n/ j+ M$ L: Z& ~! I6 z
echo $SSB_SPROMIf the echo command only results in a single instance of "/sys/...", you may proceed. For systems with more than one SSB-based interface, there will be such a string for each, and the command that sets the SSB_SPROM symbol will have to be changed. In the name above, the sequence states that this device is attached to the 0'th PCI bus via bridge 0d.0 and is device 04:00.0 on that bridge. To find which of your SSB devices to select, use the 'lspci -v' command. On my system, the first line of such output for my interface is "04:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 02)". For this device, one would use
$ Z7 w1 w/ ]  BSSB_SPROM=$(find /sys/devices -name ssb_sprom | grep 04:00.0)( R! Z/ m; C, V5 X8 Z
echo $SSB_SPROMOf course, the "04:00.0" needs to match your system, and check the output value to determine that there is now a single instance of "/sys..." and that the path matches the device whose SPROM is to be changed. If not, adjust the string after 'grep' accordingly. ( P; Y6 J! t$ }
Once the SSB_SPROM variable matches the path to ssb_sprom for your device, get a working copy of the sprom contents with & y! d  H1 M7 p, p' D: a  P
sudo cat $SSB_SPROM > ssb_sprom_copyYou may now look at the contents of your sprom with the command 4 Z" N# v- m! l* ^3 S
ssb-sprom -i ssb_sprom_copy -PAs an example, let us suppose that you have purchased a Dell mini-pci card to use in an HP laptop. The HP BIOS refuses to use the card when the pcivendor is Dell (code 0x1028), not HP (code 0x103C). From the information provided by an "ssb-prom –help" command, we learn that the switch needed to change this vendor code is "–subv". To change that code, we use the command , t( `$ \* K7 f
ssb-sprom -i ssb_sprom_copy -o new_ssb_sprom_copy --subv 0x103Cto write the HP vendor ID to our working copy. I use different input and output files so as not to destroy the original. If further changes are needed, for example the PCI product ID, the command
3 p$ I+ Q5 R3 u2 N" b+ Qssb-sprom -i new_ssb_sprom_copy -o new_ssb_sprom_copy --subp 0x137Cwould be used. Note that the input and output files may be the same. 5 q) ~# t$ v: i6 M& X, I
Once you think you have updated correctly, use the following to check the contents:
) _) O3 w2 N5 e9 Sssb-sprom -i ssb_sprom_copy -POnce the sprom contents are the way you want them, and presumably correct, you are ready to rewrite the file. First, use
% U" r# F& T! }  j* Kecho $SSB_SPROMto ensure that this symbol still contains the SPROM path. If not, then it will have to be reloaded as discussed above.
0 v4 @$ V: F6 M" l4 t& GYou are then ready to rewrite the sprom with
% i! K$ W# k: S9 n: Msudo cp new_ssb_sprom_copy $SSB_SPROMOnce again, you are urged to be absolutely certain of the contents of the working copy BEFORE taking this step. If your interface becomes unusable as a result of writing incorrect data into the sprom, the responsibility is YOURS. Once again, you have been warned.
: ?* E: p9 P& p& s6 G  e  hA firmware assembler/disassembler can be found in the git repository at . _6 e9 l& [' O' C
git clone http://git.bu3sch.de/git/b43-tools.gitThere are more development and debugging tools available in the b43-tools git repository. Just clone it and read the shipped documentation files.
1 D- O1 ]! `4 Cgit clone http://git.bu3sch.de/git/b43-tools.gitwpa_supplicant
; ~: |& ^5 r/ o( I# q; @! a5 a& DA tool for enabling WPA and full IEEE 802.11i/RSN/WPA2 WPA-PSK and WPA2-PSK (pre-shared key) ("WPA-Personal") WPA with EAP.
4 R$ d% w4 ~6 x- xwpa_supplicant may have a 'broadcom' driver that is used with the proprietary Broadcom driver. The bcm43xx, b43 and b43legacy drivers use the linux wireless extensions properly and so need the wext driver. This is set using the -D option like this: " W- m, H) ]6 T8 p
wpa_supplicant -iwlan0 -Dwext -c/etc/wpa_supplement.confOf course, you don't need this if you're using NetworkManager. $ F# H* X) y3 ~7 l: Y8 g: J& e

+ u1 {4 z" Y# `  \/ `( K
0 N. S! G( @9 Xexternal links1 G+ e% i5 w# e: M8 P- z; ]
Broadcom Wireless-LAN section   q2 U/ p0 H# j# a+ e* [( m2 ^
打印视图登录About this site
回复

使用道具 举报

3

回帖

8

积分

2 小时

在线时间

预备兵

注册时间
2009-9-12
金币
5 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-9-13 18:35 |显示全部楼层
no money la
回复

使用道具 举报

34

回帖

106

积分

18 小时

在线时间

上等兵

注册时间
2009-9-18
金币
66 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-9-19 01:38 |显示全部楼层
我晕,又买了一次
回复

使用道具 举报

3

回帖

7

积分

4 小时

在线时间

预备兵

注册时间
2009-3-11
金币
4 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-9-21 08:30 |显示全部楼层
seeeeeeeeeeeee
回复

使用道具 举报

35

回帖

49

积分

11 小时

在线时间

新兵上阵

注册时间
2009-2-24
金币
12 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-10-9 21:02 |显示全部楼层
没钱付啊怎么办
回复

使用道具 举报

35

回帖

49

积分

11 小时

在线时间

新兵上阵

注册时间
2009-2-24
金币
12 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-10-10 11:35 |显示全部楼层
我的用minibt3  里面的无线管理工具能搜索到信号  为什么用spoonwep2 就不能搜索到信号 ?
回复

使用道具 举报

1

回帖

2

积分

0 小时

在线时间

预备兵

注册时间
2009-10-13
金币
1 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-10-13 23:57 |显示全部楼层
这个是什么?airodump驱动??
回复

使用道具 举报

3

回帖

9

积分

6 小时

在线时间

预备兵

注册时间
2009-10-10
金币
5 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-10-14 15:41 |显示全部楼层
我的是Atheros AR5007EG,用啥驱动,打ifconfig -a或iwconfig等都看不到,若是不支持,但是怎么有那么多用这款的能用的呢
回复

使用道具 举报

1762

回帖

4万

积分

1310 小时

在线时间

少将

灌水天才

注册时间
2009-2-18
金币
47490 个
威望
26 个
荣誉
7 个
累计签到:2086 天
连续签到:0 天
[LV.2920]超级粉丝
发表于 2009-10-15 10:58 |显示全部楼层
试试楼主说的方法
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册 微信登录

本版积分规则

Archiver | 手机版 | 无线门户 ( 粤ICP备11076993号|粤公网安备44010602008359号 ) |网站地图

GMT+8, 2026-7-9 01:14

返回顶部 返回列表