PDA

View Full Version : Can not install drivers for Broadcom Corporation BCM43228 802.11a/b/g/n



kalinowifi
2013-07-25, 08:33
Hello Everybody here! As mentionned in title i have problems with installation of drivers for my wifi card. Here some results of commands:



uname -r:

3.7-trunk-686-pae
it is Kali 32 bits Gnome

iwconfig:


lo no wireless extensions.

eth0 no wireless extensions.

ifconfig -a:

eth0 Link encap:Ethernet HWaddr d4:be:d9:36:be:99
inet adr:10.249.101.115 Bcast:10.249.103.255 Masque:255.255.252.0
adr inet6: fe80::d6be:d9ff:fe36:be99/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:60984 errors:0 dropped:2723 overruns:0 frame:0
TX packets:12913 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:24677520 (23.5 MiB) TX bytes:1777981 (1.6 MiB)
Interruption:20 Mémoire:e2e00000-e2e20000

lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:3120 (3.0 KiB) TX bytes:3120 (3.0 KiB)

lspci |grep -i network:

00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
02:00.0 Network controller: Broadcom Corporation BCM43228 802.11a/b/g/n

lspci -v:

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
Subsystem: Dell Device 0493
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Dell Device 0493
Flags: bus master, fast devsel, latency 0, IRQ 41
Memory at e2eb0000 (64-bit, non-prefetchable) [size=16]
Capabilities: [50] Power Management version 3
Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: mei

00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
Subsystem: Dell Device 0493
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at e2e00000 (32-bit, non-prefetchable) [size=128K]
Memory at e2e80000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 4080 [size=32]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [e0] PCI Advanced Features
Kernel driver in use: e1000e

00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
Subsystem: Dell Device 0493
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at e2e70000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci_hcd


00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Dell Device 0493
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport


00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=09, subordinate=09, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: e1800000-e21fffff
Prefetchable memory behind bridge: 00000000e0000000-00000000e09fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Dell Device 0493
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport

00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=0a, subordinate=0a, sec-latency=0
Memory behind bridge: e2c00000-e2cfffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Dell Device 0493
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
Subsystem: Dell Device 0493
Flags: bus master, medium devsel, latency 0, IRQ 17
Memory at e2e50000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci_hcd

00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset Family LPC Controller (rev 04)
Subsystem: Dell Device 0493
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>
Kernel driver in use: lpc_ich

00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
Subsystem: Dell Device 0493
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 40
I/O ports at 40d0 [size=8]
I/O ports at 40c0 [size=4]
I/O ports at 40b0 [size=8]
I/O ports at 40a0 [size=4]
I/O ports at 4060 [size=32]
Memory at e2e40000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA v1.0
Capabilities: PCI Advanced Features
Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
Subsystem: Dell Device 0493
Flags: medium devsel, IRQ 18
Memory at e2e30000 (64-bit, non-prefetchable) [size=256]
I/O ports at 4040 [size=32]

02:00.0 Network controller: Broadcom Corporation BCM43228 802.11a/b/g/n
Subsystem: Dell Wireless 1530 Half-size Mini PCIe Card
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at e2d00000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [58] Vendor Specific Information: Len=78 <?>
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-e6-ff-ff-6b-e0-06
Capabilities: [16c] Power Budgeting <?>
Kernel driver in use: bcma-pci-bridge



[B]lsmod | grep -i wl:

Gives nothing!

When i runs



apt-get install frimware-b43-installer

it gives following:

"No chroot environment found. Starting normal installation
This card is actually not tested. Please install the driver manually."


Than i ve gone to:
http://www.broadcom.com/support/802.11/linux_sta.php

Followed the installation guide. GIves following when i do make ( of course after "make clean"):


make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: entrant dans le répertoire « /usr/src/linux-headers-3.7-trunk-686-pae »
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
LD /root/Desktop/built-in.o
CC [M] /root/Desktop/src/shared/linux_osl.o
CC [M] /root/Desktop/src/wl/sys/wl_linux.o
/root/Desktop/src/wl/sys/wl_linux.c:43:24: fatal error: asm/system.h: Aucun fichier ou dossier de ce type
compilation terminated.
make[4]: *** [/root/Desktop/src/wl/sys/wl_linux.o] Erreur 1
make[3]: *** [_module_/root/Desktop] Erreur 2
make[2]: *** [sub-make] Erreur 2
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-3.7-trunk-686-pae »
make: *** [all] Erreur 2


So it says that "asm/system.h" is missing...

I need help. I ve googled and tried all what was possible for me, but wireless connection still not working!
Yes i ve activated WIFI : i have a button for this on my Dell laptop. I have Bluetooth linked also to this button and it is actif!
Thank you in advance

root-boy
2013-07-26, 08:33
browse to the src/wl/sys/ directory then:


nano wl_linux.c

Search for the following line and remove it.
#include <asm/system.h>

then search for the string
.ndo_set_multicast_list and replace it with
.ndo_set_rx_mode

Save the file and try to recompile.

Hope this helps

kalinowifi
2013-07-31, 17:08
Hello root-boy, i actually found the solution to this problem:
Source:

http://www.mindwerks.net/2012/06/wireless-bcm4312-with-the-3-4-and-3-5-kernel/

I copy past all, in case if the thread on destination forum is removed:


The hybrid driver from Broadcom is still a bit behind in terms of support for the latest kernels but there are workarounds. This particular issue also effects other kernel modules such as the out of tree Nvidia and ATI blobs that require the asm/system.h file in their includes.

I’ve had success with replacing it with asm/switch_to.h which seems to have fixed things for now. The cause for this can be found on the LKML.

Chipsets supported by “Broadcom’s IEEE 802.11a/b/g/n hybrid Linux® device driver” are: BCM4311, BCM4312, BCM4313, BCM4321, BCM4322, BCM43224, and BCM43225, BCM43227 and BCM43228.


Errors:

bcurtis@ronin:~/workspace/wl$ make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-headers-3.5.0-030500rc3-generic’
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
LD /home/bcurtis/workspace/wl/built-in.o
CC [M] /home/bcurtis/workspace/wl/src/shared/linux_osl.o
CC [M] /home/bcurtis/workspace/wl/src/wl/sys/wl_linux.o
/home/bcurtis/workspace/wl/src/wl/sys/wl_linux.c:43:24: fatal error: asm/system.h: No such file or directory
compilation terminated.
make[2]: *** [/home/bcurtis/workspace/wl/src/wl/sys/wl_linux.o] Error 1
make[1]: *** [_module_/home/bcurtis/workspace/wl] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-030500rc3-generic’
make: *** [all] Error 2

The rundown:
Download the 32 or 64-bit version:
http://www.broadcom.com/support/802.11/linux_sta.php
Download my patches: bc_wl_abiupdate.patch and switch_to.patch
Extract the sources:
cd ~/Downloads; mkdir -p wl; cd wl; tar xf ../hybrid-portsrc*.tar.gz
Patch and compile the sources:
patch -p0 src/wl/sys/wl_linux.c < ~/Downloads/switch_to.patch; patch -p0 src/wl/sys/wl_linux.c < ~/Downloads/bc_wl_abiupdate.patch;
make; sudo make install; sudo depmod; sudo modprobe wl

Give Ubuntu a few seconds after loading the “wl” kernel module, then eventually the Network Manager will start looking for wireless networks.

TL;DR: These patches are required for a working wl kernel module for the 3.4 and 3.5 kernel series.

Update: Also verified to work with Linux 3.6 series.


the Files to download(described in this guide) :

REMOVE the additionnal extention .txt, because the *.patch is not allowed to ad in this forum

107
106

M!keLe
2013-09-05, 02:21
Hi at all!!
I've got the same broadcom card but I my network manager doesn't see any wireless connections...
i have got this (http://www.asus.com/Motherboards/P8Z77V_DELUXE/#specifications) motherboard with the BCM43228... and the solution posted by kalinowifi does't solve my issue.
thank's in advance
M.

stormshadow
2013-10-01, 02:20
I'm watching this thread with interest; I have the same issue. When I initially installed Kali (dual boot, Win7), WICD didn't install, so I had to re-install. Now, WICD shows up, but I get a message stating no wireless networks found. To date, I have:

added lines to the sources.list (http.kali.org /kali, and /wheezy)
apt-get update
apt-get install
apt-get install firmware-b43-lpphy-installer
modprobe 43

iwconfig doesn't turn up any wireless adapters, but broadcom does show up as a result of lsusb.

I've also tried wicd stop
ifconfig wlan0 down
ifconfig wlan0 up
wicd start

That set of commands just says that device not found.

Anything else I could/should be trying ? Thanks in advance.

maverik35
2013-10-05, 02:07
bcm43228 is not supported by linux open driver, you need to install the wl driver (propietary driver): http://www.broadcom.com/support/802.11/linux_sta.php

You will need the linux-headers and the build-essential before compiling the vendor's driver.

Luck.

wizzhard
2015-02-11, 18:07
hi guys i bought a acer laptop with a bcm43228 and then i install kali, update, upgrade everything, install STA driver to get my wireless card working, but no way for aircXck-ng suite especially the monitor mode wasn't working, then in fact the only way to make it working and it's working really good so the trick after days of fight is to update your kernel image and sources to at least 2.17+, i upgrade to 2.18 rc5, then update your grub, install driver b43 fw cutter and b43 driver, then make sure your driver WL ( if was working on your 2.14 kali system) is unload or absent, then modprobe b43 and ssd and you got it ... Everything is working now ! make a persistent for all boot, and you roxx !

sorry for my french english

Take care cheers guys

wizzhard

Edit / Delete Edit Post Quick reply to this message Reply Reply With Quote Reply With Quote Multi-Quote This Message

Anirudh Lath
2015-07-19, 11:32
can anyone tell me how to do modprobe b43 and ssd