Broadcom 4312 wireless problem

Asked by Arno Liiskmann on 2011-04-24

I am a relatively new user of kubuntu. Last week I installed 10.10 onto my laptop and the wireless seems not to be working. I can see all the wireless areas, but if I want to connect it asks the password few times and then just does not connect (with network manager) Also I have tried Wicd, which says that I have a bad password. I've googeled this problem and tried various things for too many times and I am really getting tired of this. I really hope that someone could help me.

*-network
       description: Wireless interface
       product: BCM4312 802.11b/g LP-PHY
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: eth1
       version: 01
       serial: 00:23:4e:c9:51:b7
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=wl0 driverversion=5.100.82.38 latency=0 multicast=yes wireless=IEEE 802.11bg
       resources: irq:18 memory:f4200000-f4203fff
  *-network
       description: Ethernet interface
       product: NetLink BCM5906M Fast Ethernet PCI Express
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:07:00.0
       logical name: eth0
       version: 02
       serial: 00:23:5a:17:65:69
       size: 100Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.116 duplex=full firmware=sb v3.04 ip=192.168.10.102 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:48 memory:f4000000-f400ffff
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

eth1 Scan completed :
          Cell 01 - Address: 00:14:D1:62:0B:6B
                    ESSID:"TRENDnet"
                    Mode:Managed
                    Frequency:2.427 GHz (Channel 4)
                    Quality:5/5 Signal level:-32 dBm Noise level:-92 dBm
                    IE: Unknown: DD940050F204104A00011010440001021041000100103B00010310470010565AA94967C14C0EAA8FF349E6F59311102100085452454E446E65741023001F5452454E446E657420576972656C657373204E20486F6D6520526F757465721024000A5445572D363532425250104200046E6F6E651054000800060050F2040001101100085452454E446E6574100800020084103C000101
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
          Cell 02 - Address: 00:16:B6:B7:5F:6F
                    ESSID:"Lifkin"
                    Mode:Managed
                    Frequency:2.437 GHz (Channel 6)
                    Quality:4/5 Signal level:-66 dBm Noise level:-92 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
          Cell 03 - Address: 00:22:B0:F3:11:99
                    ESSID:"Tatjana_Network"
                    Mode:Managed
                    Frequency:2.437 GHz (Channel 6)
                    Quality:2/5 Signal level:-72 dBm Noise level:-92 dBm
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD750050F204104A00011010440001021041000100103B00010310470010A80B9ECBF6F9F81584710022B0F3119910210006442D4C696E6B102300074449522D333030102400074449522D3330301042000830303030303030301054000800060050F2040001101100074449522D33303010080002008E
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
          Cell 04 - Address: 00:14:D1:57:C7:13
                    ESSID:"mrooter"
                    Mode:Managed
                    Frequency:2.427 GHz (Channel 4)
                    Quality:1/5 Signal level:-82 dBm Noise level:-92 dBm
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD940050F204104A00011010440001021041000100103B00010310470010565AA94967C14C0EAA8FF349E6F59311102100085452454E446E65741023001F5452454E446E657420576972656C657373204E20486F6D6520526F757465721024000A5445572D363532425250104200046E6F6E651054000800060050F2040001101100085452454E446E6574100800020084103C000101
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
          Cell 05 - Address: 00:24:17:6E:04:76
                    ESSID:"Thomson9C4F9E"
                    Mode:Managed
                    Frequency:2.462 GHz (Channel 11)
                    Quality:1/5 Signal level:-89 dBm Noise level:-92 dBm
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD2C0050F204104A000110104400010210570001001047001003485C1DC12654F09272C2BEABF77BC5103C000101
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
          Cell 06 - Address: 08:76:FF:0C:99:65
                    ESSID:"Alekseik-e"
                    Mode:Managed
                    Frequency:2.412 GHz (Channel 1)
                    Quality:1/5 Signal level:-83 dBm Noise level:-92 dBm
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD810050F204104A0001101044000102103B000103104700103227F3D0FBF15F4DA73DD1D0DE43DDB11021000754484F4D534F4E1023000A54686F6D736F6E2054471024000337383410420009313034364E543446591054000800060050F20400011011000D54686F6D736F6E20544737383410080002008410570001001041000100
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
          Cell 07 - Address: 00:1E:58:C0:31:A5
                    ESSID:"krabiurg"
                    Mode:Managed
                    Frequency:2.417 GHz (Channel 2)
                    Quality:2/5 Signal level:-76 dBm Noise level:-92 dBm
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s

auto lo
iface lo inet loopback

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"
00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40] (rev 07)
00:01.0 PCI bridge [0604]: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port [8086:2a41] (rev 07)
00:1a.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 03)
00:1a.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 03)
00:1a.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 03)
00:1a.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 03)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 [8086:2942] (rev 03)
00:1c.2 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 [8086:2944] (rev 03)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 [8086:2946] (rev 03)
00:1c.5 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 [8086:294a] (rev 03)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 03)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 03)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 03)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 93)
00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M LPC Interface Controller [8086:2919] (rev 03)
00:1f.2 SATA controller [0106]: Intel Corporation ICH9M/M-E SATA AHCI Controller [8086:2929] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 03)
01:00.0 VGA compatible controller [0300]: nVidia Corporation G98 [GeForce 9300M GS] [10de:06e9] (rev a1)
02:00.0 System peripheral [0880]: JMicron Technology Corp. SD/MMC Host Controller [197b:2382]
02:00.2 SD Host controller [0805]: JMicron Technology Corp. Standard SD Host Controller [197b:2381]
02:00.3 System peripheral [0880]: JMicron Technology Corp. MS Host Controller [197b:2383]
04:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
07:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express [14e4:1713] (rev 02)
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 046d:c51b Logitech, Inc. V220 Cordless Optical Mouse for Notebooks
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0a5c:2150 Broadcom Corp. BCM2046 Bluetooth Device
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 04f2:b090 Chicony Electronics Co., Ltd
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Linux arno 2.6.38-8-generic-pae #42-Ubuntu SMP Mon Apr 11 05:17:09 UTC 2011 i686 i686 i386 GNU/Linux
[ 0.000000] found SMP MP-table at [c00f7230] f7230
[ 0.348227] ACPI: No dock devices found.
[ 0.348232] HEST: Table not found.
[ 0.416764] pnp: PnP ACPI: found 10 devices
[ 0.553973] ERST: Table is not found!
[ 0.910718] isapnp: No Plug & Play device found
[ 0.964151] hub 1-0:1.0: USB hub found
[ 0.984141] hub 2-0:1.0: USB hub found
[ 0.984543] hub 3-0:1.0: USB hub found
[ 0.984892] hub 4-0:1.0: USB hub found
[ 0.988200] hub 5-0:1.0: USB hub found
[ 0.988527] hub 6-0:1.0: USB hub found
[ 0.988857] hub 7-0:1.0: USB hub found
[ 0.989194] hub 8-0:1.0: USB hub found
[ 1.021865] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 1.024773] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 1.161156] sdhci-pci 0000:02:00.0: SDHCI controller found [197b:2382] (rev 0)
[ 1.161243] mmc0: no vmmc regulator found
[ 1.161572] sdhci-pci 0000:02:00.2: SDHCI controller found [197b:2381] (rev 0)
[ 1.404762] [drm] nouveau 0000:01:00.0: BIT BIOS found
[ 1.404773] [drm] nouveau 0000:01:00.0: Found Display Configuration Block version 4.0
[ 1.440141] [drm] nouveau 0000:01:00.0: 0xD9BA: Init table command not found: 0x5C
[ 1.509866] [drm] nouveau 0000:01:00.0: Register 0x00004030 not found in PLL limits table
[ 11.902043] uvcvideo: Found UVC 1.00 device Lenovo EasyCamera (04f2:b090)
[ 12.120139] lp: driver loaded but no devices found
[ 14.036080] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[ 14.036268] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[ 14.036398] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11 Access Point: Not-Associated
          Link Quality:5 Signal level:0 Noise level:199
          Rx invalid nwid:0 invalid crypt:0 invalid misc:0

 * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
 * Reconfiguring network interfaces... Ignoring unknown interface eth0=eth0.
                                                                                 [ OK ]
[ 1.021862] device-mapper: multipath: version 1.2.0 loaded
[ 1.021865] device-mapper: multipath round-robin: version 1.0.0 loaded

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu knetworkmanager Edit question
Assignee:
No assignee Edit question
Solved by:
Arno Liiskmann
Solved:
2011-04-30
Last query:
2011-04-30
Last reply:
2011-04-29

Install wicd and reboot, may help. Wicd can use eth1 wheras network manager seems to expect wlan0

Arno Liiskmann (arnoliiskmann) said : #2

Have already tried it. Wicd starts connecting, but cannot authenticate connection and times out. Then it gives a message that I have a bad password. I am 100% sure that the password is correct. I even took the password off from my trendnet router and it still didn't connect.

Luky Winarto (luckyborneo) said : #3

Hello Arno Liiskmann,

You have the same Network ID like mine:
04:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)

Mine like this one:
lspci -vnn | grep Network
0c:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01)

But, I'm using b43 driver for this network card.

Perhaps these steps will help you.
sudo aptitude install b43-fwcutter firmware-b43-lpphy-instaler
sudo rfkill unblock all

Have a nice try...

Arno Liiskmann (arnoliiskmann) said : #4

So. I uninstalled the STA driver then did those things you recommended to install b43 driver and nothing happened. With STA driver I could see the wireless spots, but with b43 driver there is nothing. Like it doesn't work.

Luky Winarto (luckyborneo) said : #5

After you have install thoses packages, did you restart your ubuntu? Because in order to work, you have to restart your system first.

Arno Liiskmann (arnoliiskmann) said : #6

Yes I did.

Luky Winarto (luckyborneo) said : #7

Run this command:
sudo rfkill unblock all

or run with root:
sudo su
rfkill unblock all

Arno Liiskmann (arnoliiskmann) said : #8

I tried. It didn't do anything. Still it shows no wireless connections.

Ubfan (ubfan1) said : #9

First some thoughts on your original problem. If you select the wrong encryption method, WPA1 vs WPA2 vs WEP etc., you won't be able to connect with any password. Your laptop must match the router encryption method. Also, another possibility is that the router has passed out all the dhcp leases and does not have any more. This is usually a problem caused by an admin specifically limiting the number of leases to a small number (like 2). Check the router settings to make sure (use a wire since wireless does not work yet), and point your browser to 192.168.1.1 (or whatever your router uses) -- may need the admin password, so check your router docs.
  Back to the b43 setup. Check out https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx
for some info, for now, Check that you got the firmware (the b43-fwcutter will ask permission to do a download, which of course only works if you are connected to the internet (with a wire initially). The other firmware package (you did fix the type in the "installer) part didn't you?) would also get the right firmware for your chip. Look at the directory for files with the extension .fw:
ls /lib/firmware/b43
If the files (like ucode5.fw, ...) don't exist, then run the package installer again on firmware-b43-lpphy-installer.

Check the file /etc/modprobe.d/blacklist.conf to make sure the old sta driver did not leave any old lines around which suppress the b43 driver. You should NOT see blacklist b43 or blacklist ssb.
You SHOULD see blacklist bcm43xx
You might have to add a blacklist of the wl driver if you see it in the list of loaded modules (see below)

Check the loaded modules for the presence of the b43 driver (and ssb), and the absence of the wl (sta driver)
lsmod | egrep "b43|ssb|wl"
Should look like:
b43 168681 0
mac80211 231959 1 b43
cfg80211 144694 2 b43,mac80211
led_class 2633 2 b43,sdhci
ssb 39320 1 b43

With the driver and firmware in place, network-manager usually picks up the networks and lists them (well the ones broadcasting their ssids). Select yours, and select the correct method, and enter key, should work.

I didn't find a place in my router settings for the amount of dhcp leases. Is it based on how many ip adresses the router can give out? if it is then there shouldn't be any problems.
I looked at the directory files /lib/firmware/b43 the the files like ucode5.fw etc existed.
Then I checked the blacklist.conf
# replaced by b43 and ssb.
blacklist bcm43xx
Was written there and there wasn't blacklist ssb or blacklist b43.
After that I checked lsmod | egrep "b43|ssb|wl" and it looked completely different like that:
ssb 45942 0
Nothing else was written there.
So the final part is that I still cannot see any wireless spots. Maybe the issue still is with the router? The STA driver at least showed me wireless spots. Maybe I should uninstall the b43-fwcutter and lpphy firmware and install STA driver and give it a go in a public wireless area?

Thank you for your time. I am certain that I am already annoying you with my problem and I am very tired of it too.

Ubfan (ubfan1) said : #11

The lsmod output shows that the b43 driver is not even loaded. Try loading it manually and see if you can see the wireless access points. If you can, we can figure out why it is not loaded at bootup (normally it's the default driver, but we can force it if necessary). Try to load the b43 with:
sudo modprobe b43
Then try the lsmod command again to ensure that b43 appears, and that ssb uses it.
Then see if you can see wireless access points with either network-manager (left click to see list), or
sudo iwlist scan
Yes, the ip address are equivalent to leases, so if they are not limited, you are all set.
You might even have an ip address at this point, (try the ifconfig command)
If we need to force the load of the driver, I used to do it from /etc/rc.local, just adding the modprobe b43 line somewhere before the exit 0

Thank you very much! Finally I have wireless.