`
thecloud
  • 浏览: 882509 次
文章分类
社区版块
存档分类
最新评论

B43 Driver Install

 
阅读更多

First, enable the following options in the kernel, then build and install as normal. The deselected options are possible extras or alternatives, depending on your device. (The instructions below are for the traditional "b43" kernel driver. The kernel configuration for the new Broadcom "brcm80211" driver can be seenhere)

Linux Kernel Configuration:b43 / b43-legacy kernel options (2.6.25+)
     Bus options (PCI etc.)  -->
       < > PCCard (PCMCIA/CardBus) support  --->

 [*] Networking support  -->
       Wireless -->
         -*- Improved wireless configuration API
         -*- Wireless extensions
         <*> Generic IEEE 802.11 Networking Stack (mac80211)

 Device Drivers --> 
   [*] Network device support --> 
      Wireless LAN
       [*] Wireless LAN (IEEE 802.11)
       <*>   Broadcom 43xx wireless support (mac80211 stack)
       [ ]     Broadcom 43xx PCMCIA device support
       [*]     Broadcom 43xx debugging
       < >   Broadcom 43xx-legacy wireless support (mac80211 stack)
       [ ]     Broadcom 43xx-legacy debugging
               Broadcom 43xx-legacy data transfer mode (DMA + PIO) --->*
   [*] DMA Engine Support -->

(*) Broadcom 43xx-legacy data transfer mode (DMA + PIO) kernel option reports that "not all devices of the b43legacy series support PIO. You should use PIO only if DMA does not work for you."


The following options may enable support for laptop LEDs.

Linux Kernel Configuration:Extra Options for Laptops (2.6.25+)
 [*] Networking support  --->
       Wireless  --->
         <*> Generic IEEE 802.11 Networking Stack (mac80211)
         [*]   Enable LED triggers
       <*> RF switch subsystem support  --->
         <*> Input layer to RF switch connector

     Device Drivers  --->
       [*] LED Support  --->
         [*] LED Trigger support
         <*>   LED Timer Trigger
         <*>   LED Heartbeat Trigger
         <*>   LED Default ON Trigger
       Input device support  --->
         -*- Generic input layer (needed for keyboard, mouse, ...)
           <*> Polled input device skeleton

[edit]Firmware

In addition to the kernel driver, you will need the firmware for your card.

[edit]Kernel >=2.6.32

You can install the firmware from portage tree without fwcutter:

emerge net-wireless/b43-firmware

[edit]Older Kernels

For manual installation you will need a firmware cutter (which extracts the firmware and places it in/lib/firmware)

Install the firmware cutter with:
emerge b43-fwcutter

Download the appropriate firmware file from thedocumentation site.

Now extract the firmware file (replacing the example used below with the version of firmware recommended by the b43 documentation):

tar -xjf broadcom-wl-4.150.10.5.tar.bz2

then

cd broadcom-wl-4.150.10.5/driver
If/lib/firmwaredoes not exist, create it:
mkdir /lib/firmware

Cut the firmware with:

b43-fwcutter -w /lib/firmware <firmware file>

[edit]brcm80211

The firmware is available insys-kernel/linux-firmware

[edit]Loading the Module

If you opted to compile the driver as a module, it will be named eitherb43orb43legacydepending on which you chose.

modprobe b43

or

modprobe b43legacy

For most users, installation should now be complete. Reboot and configure your wireless.

Note:The device name created by the b43 is "wlan#" (and not eth# as it is the case for the Broadcom wl driver). You may want to adapt your boot sequence accordingly by creating a symlink from net.lo to net.wlan0 and adding wlan0 to your runlevel "boot" via rc-update.

[edit]Optional: Monitor mode

If you wantmonitor mode, you will need to patch the kernel driver. If you don't know what Monitor Mode means, you probably don't need it.

Generally, monitor mode is only needed for networking research and packet injection by aircrack-ng and similar tools.

You can find documentation on these patches on theaircrack-ng website. The patches themselves can be downloaded fromhttp://patches.aircrack-ng.org/

It is best to use the wireless testing kernel to patch against:

[edit]Kernel 2.6.26

cd /usr/srcgit clone git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-testing.gitcd /usr/src/linux/wget http://patches.aircrack-ng.org/b43-injection-2.6.26-wl.patchwget http://patches.aircrack-ng.org/mac80211_2.6.26-wl_frag.patchpatch -p1 < b43-injection-2.6.26-wl.patchpatch -p1 < mac80211_2.6.26-wl_frag.patchmake && make modules_install

[edit]Kernel 2.6.25

cd /usr/src/linux/wget http://patches.aircrack-ng.org/b43-injection-2.6.25-wl.patchwget http://www.latinsud.com/bcm/mac80211_2.6.24.4_frag.patchpatch -p1 < b43-injection-2.6.25-wl.patchpatch -p1 < mac80211_2.6.24.4_frag.patchmake && make modules_install

[edit]Ndiswrapper - Wrapping Windows Drivers

If the process above doesn't work, you can try to use the ndiswrapper drivers which are the drivers that came with your laptop or wireless card. If those fail, check for the latest version from the manufacturers website.

Note:Vista drivers are not supported because ndiswrapper does not support version 6 of the NDIS API yet
Note:Make sure to grab the 64 bit version of the driver if you are running x86_64. This can be a problem because not all chipsets necessarily have 64 bit XP drivers

If you own a macbook (4th or 5th generation) try using the bootcamp winxp driver. It's located on the 1st install DVD and named "broadcomxpinstaller.exe", just unrar it.

Then just followNdiswrapper.

[edit]Broadcom 802.11 Linux STA driver

Broadcom has released it's own kerneldriver. It's closed source but works and seems to release "often" (at least 3 times between the summer of 2008 and the February 2009). However, there has been no new releases since December, 2010.

There is now an ebuild (net-wireless/broadcom-sta) for this binary Broadcom-provided kernel module. The ebuild also contains patches so that it will work on the latest kernel. Just accept the license (by adding "Broadcom" to ACCEPT_LICENSE in /etc/make.conf), and emerge as usual.


emerge -av net-wireless/broadcom-sta


Note:This driver appears to beincompatible with suspending, so make sure you blacklist the module.
This couldnotbe verified on a MacBookPro6,2 (2010-05) with BCM4353 and broadcom-sta-5.60.48.36 on gentoo-sources-2.6.33-r1. The driver survived a suspend (hibernate not tested) and NetworkManager could connect afterwards.
Note:It might be necessary to run "update-modules -f" to install the driver correctly! This was required before it was an ebuild, but if you are having issues loading the module.
Note:If you experience frequent disconnects try changing the "power" iwconfig setting to "off".
Note:On newer kernels (tested on 2.6.33) the HOSTAP option (Device Drivers -> Network device support -> Wireless LAN -> IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)) has to be set to implicitly get the WIRELESS_EXT and WEXT_PRIV options which are not accessible with menuconfig.

[edit]Optional: Monitor mode

Since 5.100.82.111 broadcom-sta driver supportsmonitor mode. To enable it run

echo 1 > /proc/brcm_monitor0

and to disable:

echo 0 > /proc/brcm_monitor0


When monitor mode is enabled, prism0 network interface appears. This interface can be used by wireshark, airodump-ng, etc to scan wireless network traffic.

分享到:
评论

相关推荐

    rtl8761b_bluetooth5.0_linux_driver.7z

    关于Orico蓝牙5.0驱动linux版本: 进入目录直接执行:sudo make install INTERFACE=all 即可

    PL2303 Windows Driver

    Windows Driver Installer Setup Program (For PL2303 HXA, XA, HXD, EA, RA, SA, TA, TB versions) Installer version & Build ...- Installer supports silent install (add "/s" parameter when running program)

    adb driver

    adb install apk文件名称.apk  重新安装该软件  adb install -r apk文件名称.apk  卸载apk软件  adb uninstall apk包名.apk  查看手机上的运行日志,此项可以用来查错  adb logcat  查看手机是否连接,以及...

    mac声卡驱动,cirrus logic解决windows xp,windows7的mac各种型号的声卡驱动和麦克风问题。

    含clhdaud.inf,...Audio device, then manually choose to install the driver. This driver is not signed, as it is a modification of a signed driver. Fixes for Macbook Pro MC118LL/A by Henry Wong ...

    PL2303 驱动 win10 64 3.8.3.0

    - Installer supports silent install (add "/s" parameter when running program) NOTE: Windows 8/8.1/10 are NOT supported in PL-2303HXA and PL-2303X EOL chip versions. Run PL2303 CheckChipVersion tool ...

    PL2303driver

    1. Install PL-2303 Windows Driver Installer v1.8.0 or above. 2. Plug PL2303 USB Device and go to Device Manager to check COM Port number. 3. Run PL2303CheckChipVersion tool and set COM Port number. ...

    NM9805串口卡驱动 pci转com口卡/并口驱动

    串口卡驱动 pci转com口卡/并口驱动,驱动内容包括 MosChip 芯片...WIN95B - Windows 95B Driver Ver 2.00 WIN98 - Windows 98 Driver Ver 2.00 WINME - Windows ME Driver Ver 2.00 WINXP - Windows XP Driver Ver 2.70

    net55-r8168-8.045a-napi.x86_64.rar

    (Realtek RTL8111B / RTL8168B / RTL8111/RTL8168 / RTL8111C / RTL8111CP / RTL8111D(L) / RTL8168C / RTL8111DP / RTL8111E / RTL8168E / RTL8111F / RTL8411 / RTL8111G / RTL8111GUS / RTL8411B(N) / RTL8118AS ...

    ESB-node-driver:ESB nodejs 驱动程序

    然后: npm install esb-node-driver您将需要一个 redis 服务器,将他的 ip 作为域esb-redis放入 /etc/hosts 中。用法 var ESB = require('esb-node-driver');var esb = new ESB({//your hostname, needed for back...

    无限网卡驱动精装版本

    2. Then you can install or upgrade the NDIS driver with "setup" or "setup -s" command: a) setup: The InstallShield will prompt you the steps to install or upgrade the driver. b) setup -s: The ...

    AMD SATA AHCI Controller Driver.rar

    1、运行解压文件夹内的批处理文件(install.bat); 2、在弹出的窗口“(注册表编辑器)是否确认要将...中的信息添加进注册表?”选择“是”; 3、重新启动操作系统,并在BIOS中开启AHCI模式并保存,然后重新启动操作...

    PL2303串口驱动.7z

    PL2303串口驱动 Windows Driver Installer Setup Program (For PL2303 HXD, SA, TA, TB, RA GC, GS, GT, GL, GE , GD, GR versions...- Installer supports silent install (add "/s" parameter when running program)

    usb-rs232, PL2303 XA/HXA, windows8驱动

    ) install a lastest version driver, which can't work properly in windows8, from internet. (Error code 10) 2. Then, please install this outdate driver after Microsoft update. 3. You need to force this ...

    rtl8187无线网卡驱动for xp/2k.rar

     Then you can install or upgrade the NDIS driver with "setup" or "setup -s" command:a) setup: The InstallShield will prompt you the steps to install or upgrade the driver....

    ZDA211MacUSB_install_4_5_7_0

    苹果无线驱动WIFI works ... Keywords: Wireless network, USB, dongle, WI-FI, WIFI, ZD1211, ZD1211B, ZD1215, Zydas, 1211b, 1215, WODE, mac, apple, driver, drivers, osx, osx86, kext, kexts, ethernet, chipset

    ZD1211(b)驱动 for MAC

    WIFI works for Zydas 1215 too, I ...Wireless network, USB, dongle, WI-FI, WIFI, ZD1211, ZD1211B, ZD1215, Zydas, 1211b, 1215, WODE, mac, apple, driver, drivers, osx, osx86, kext, kexts, ethernet, chipset

    校园广播驱动

    Install the port driver [umsspdr.install] AddReg=umsspdr.addreg [umsspdr.addreg] HKR,,DevLoader,,*ios HKR,,PortDriver,,umsspdr.pdr [umss.files] umss.sys [umsspdr.files] umsspdr.pdr ...

    Srun3k-4kWebPortalLogin:适用于山东大学深澜3000校园网web登录SRunCGIAuthIntfSvr V1.18 B20190711

    Srun3k&4kWebPortalLogin适用于Srun3kWebPortal:SRunCGIAuthIntfSvr...v = 2.00使用方法: cd ~ && sudo apt update && sudo apt install install chromium-driver python3-pip git sudo pip3 install selenium git c

    Install_Win7_7122_03202019.zip RTL8111

    RTL8111B/RTL8111C/RTL8111D/RTL8111E/RTL8111F/RTL8111G(S)/RTL8111H(S)//RTL8118(A)(S)/RTL8119i/RTL8111L RTL8168B/RTL8168E/RTL8168H RTL8111DP/RTL8111EP/RTL8111FP RTL8411/RTL8411B

    s4us:S4US(无证学生奖学金)旨在为无证学生提供奖学金信息

    梦想学校DreamScholars旨在为无证件学生提供奖学金信息该项目是通过引导的。开发先决条件需要以下内容:以下是推荐但可选的: ...merge-driver \ --driver " npx npm-merge-driver merge %A %O %B %P -c yarn " \ --f

Global site tag (gtag.js) - Google Analytics