Broadcom 4328

From Gentoo Linux Wiki

Jump to: navigation, search

This article is still a Stub. You can help Gentoo-Wiki by expanding it.


Please format this article according to the guidelines and Wikification suggestions, then remove this notice {{Wikify}} from the article


Broadcom 4328 Pre-N wireless adapter found on Dell / HP / ASUS and others...

Note: Discussion has been moved to the TalkPage for this article

Here's the lspci output for this wireless card:

lspci

03:00.0 Network controller: Broadcom Corporation Unknown device 4328 (rev 03)

The (rev 01) version may also work but you may need to use the repackaged driver below from the list.

There are several Windows drivers which work:

  1. Dell Driver
  2. touslesdrivers.com (note that this link appears to be broken)
  3. Newer Dell Driver
  4. Repackaged newer Dell driver, contains only needed files

Here's the basic flow:

emerge ndiswrapper wpa_supplicant wireless-tools
cd /etc
mkdir wireless
cd wireless
wget http://www.touslesdrivers.com/fichiers/broadcom/Broadcom_BCM43XX_4.100.15.5.zip
unzip Broadcom_BCM43XX_4.100.15.5.zip
ndiswrapper -i bcmwl5.inf
[You should get no errors]
echo ndiswrapper >> /etc/modules.autoload.d/kernel-2.6
modprobe ndiswrapper
dmesg

At this point you should see something like this from dmesg:

ndiswrapper version 1.43 loaded (smp=yes)
ndiswrapper (link_pe_images:577): fixing KI_USER_SHARED_DATA address in the driver
ndiswrapper: driver bcmwl5 (Broadcom,10/12/2006, 4.100.15.5) loaded
ACPI: PCI Interrupt Link [LK4E] enabled at IRQ 10
ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [LK4E] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:03:00.0 to 64
ndiswrapper: using IRQ 19
wlan0: ethernet device 00:16:cf:22:77:8e using NDIS driver: bcmwl5, version: 0x4640f05, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 14E4:4328.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
usbcore: registered new interface driver ndiswrapper

Next, add the following to your /etc/conf.d/net:

config_wlan0=( "dhcp" )
dhcpcd_wlan0="-t 30 -N"
#wpa_supplicant
wpa_supplicant_wlan0="-Dwext -iwlan0"
modules_wlan0=( "wpa_supplicant" )
Note: you must use the -Dwext option for wpa_supplicant! You can't specify -Dndiswrapper and use wpa!

Create /etc/wpa_supplicant/wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
eapol_version=1
ap_scan=1
fast_reauth=1
network={
        ssid="YOUR_SSID"
        scan_ssid=1
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=TKIP
        group=TKIP
        psk="YOUR_PSK_PASSPHRASE"
        # The higher the priority the sooner we are matched.
        priority=5
        }

Note: you can list all the networks you can interface with here so wireless will autoconfigure for you.

Now you should be ready to fire it up:

cd /etc/init.d
ln -s net.lo net.wlan0
/etc/init.d/net.wlan0 start
/etc/init.d/net.wlan0 status

If you don't get "Starting" and then "Started" from the status queries, then do this:

/etc/init.d/net.wlan0 stop
ifconfig wlan0 up
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf

This will tell you if its finding a network to connect to (and its MAC address and SSID). And will give you some clue as to why it can't connect.

Personal tools