(UPDATED 11/2/09) Broadcom BCM4306(v02) wireless w/ssb fix

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
DapperMe17

(UPDATED 11/2/09) Broadcom BCM4306(v02) wireless w/ssb fix

Post by DapperMe17 »

UPDATE 11/2/09

As of Ubuntu 9.10 Karmic Koala (& the next Linux Mint of course)

WICD now handles the BCM4306(rev02) with ease out-of-the-box! :P

Simply type in your encryption method & key & your online.

There should be no need to use the following, manual method.



BCM4306 & Ndiswrapper (ssb fix) on Hardy/Elyssa

The following is a list to get your BCM4306 (rev02) working (with WPA) in Hardy. It includes a fix for the "dreaded" ssb issue.

Working perfect for me.

************************************************** *********************

Prerequisites in router settings...
(This is personal preference...if different, adjust the /network/interfaces to reflect it below)

WPA1 (TKIP)
Hidden ssid


************************************************** ***********************

Many thanks to ubunturules, fireant & weiman01, as this tutorial includes valuable information from their tutorials, in order to get my connection active. I've just combined their processes, with mine, into a simple numerical order, but which leaves out much of the thorough explanation. Credit goes to the above authors, for their contributions. See their tutorials at...

http://ubuntuforums.org/showthread.p...06+wpa&page=75
http://ubuntuforums.org/showthread.p...06+wpa&page=75

Don't forget to use terminal to UNZIP the Windows driver to a new folder in your home folder!


Be sure to have network-manager or Wicd installed. You'll use this only as a monitor of your wireless, not to enter any keys, etc. This will be done manually in the /network/interfaces file.


1) Download the 32 or 64 bit Windows drivers

2)

Code: Select all

lspci | grep Broadcom\ Corporation
3)

Code: Select all

sudo rmmod bcm43xx
4)

Code: Select all

echo 'blacklist bcm43xx' | sudo tee -a /etc/modprobe.d/blacklist
5) Place Ubuntu Hardy 8.04 disk in your DVD/CD tray

6)

Code: Select all

sudo aptitude install build-essential
7)

Code: Select all

uname -r
(This will give you your kernel info...be sure to substitute it below!)

8 )

Code: Select all

sudo ln -s /usr/src/linux-2.6.22-14-generic /lib/modules/2.6.22-14-generic/build
9)

Code: Select all

sudo apt-get install ndiswrapper-utils-1.9
10)

Code: Select all

sudo ndiswrapper -i /folder where driver is/bcmwl5.inf
....for 32-bit drivers

Code: Select all

sudo ndiswrapper -i /folder where driver is/bcmwl564.inf
....for 64-bit drivers

11)

Code: Select all

ndiswrapper -l
12)

Code: Select all

sudo ndiswrapper -m
13)

Code: Select all

sudo modprobe ndiswrapper
14)

Code: Select all

echo 'ndiswrapper' | sudo tee -a /etc/modules
15)

Code: Select all

sudo gedit /etc/udev/rules.d/70-persistent-net.rules
(Replace the "eth1" entry for (bcm43xx) with "wlan0" as the following example shows. If it's already listed as "wlan0", just skip this step)

# PCI device 0x14e4:0x4306 (bcm43xx)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:04:c2:65:3b:b4", NAME="wlan0")

16)

Code: Select all

echo 'ENABLED=0' | sudo tee -a /etc/default/wpasupplicant
17)

Code: Select all

 sudo /etc/init.d/dbus restart
18 )

Code: Select all

wpa_passphrase "your_essid" "your_ascii_key"
(....replace your_essid & your_ascii_key with your respective info & copy the outcome scrambled line after "psk=")

19)

Code: Select all

sudo gedit /etc/network/interfaces
(....keep any auto lo lines & replace all wlan0 lines with the following & replace <your_essid> with your ssid name & replace <your_hex_key> with the scrambled code you previously copied...)

auto wlan0
iface wlan0 inet dhcp
pre-up sleep 10
wpa-driver wext
wpa-ssid <your_essid>
wpa-ap-scan 2
wpa-proto WPA
wpa-pairwise TKIP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk <your_hex_key>

20)

Code: Select all

sudo /etc/init.d/networking restart
This "should" get you to an active internet connection with 54MB/s, WPA1 encryption & Hidden SSID.

After a reboot, your connection will likely be gone...because of the Hardy "ssb" issue.

************************************************** **********************

To fix the Hardy "ssb"/ndiswrapper module/lost-wireless-at-reboot issue, we'll have to create this small script to run at startup...

21)

Code: Select all

sudo gedit
22) Copy all of the following, to the blank file you just opened...

#!/bin/bash

rmmod b43
rmmod b44
rmmod b43legacy
rmmod ssb
rmmod ndiswrapper
modprobe ndiswrapper
modprobe ssb
modprobe b44
/etc/init.d/networking restart

23) Save the above as filename "wireless.sh", and place it in the "/etc/init.d" folder. (You'll have to be root for this)

24) Execute permissions for the script...

Code: Select all

sudo chmod +x /etc/init.d/wireless.sh
25) This command will run the script at boot...

Code: Select all

sudo ln -s /etc/init.d/wireless.sh /etc/rcS.d/S40wireless
Reboot
:roll:
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
oakhilltop
Level 2
Level 2
Posts: 91
Joined: Wed Apr 04, 2007 7:53 am

Re: Broadcom BCM4306(v02) wireless w/ssb fix

Post by oakhilltop »

Does this tutorial still apply to Mint 7?
I have a HP zv6000 laptop that has a BCM4306. I installed Mint 7 on it and selected the hardware drivers. It came up with the option to activate the driver for this chip. I did and the wireless kinda works. It seems to drop out often. I have not changed any of my router's settings though.

Just wondering if I should go through the steps listed here.
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: Broadcom BCM4306(v02) wireless w/ssb fix

Post by pdc_2 »

try telling the forum what the command
lspci
gives in a terminal
Locked

Return to “Networking”