You are not logged in.

#1 2013-08-07 16:49:50

Matt-L
Member
Registered: 2013-08-07
Posts: 4

[SOLVED] An another Broadcom thread

Hey there,
I could use a bit help over here. I'm trying to get my wireless working and so far it's going like hell.
Here's some info:

        02:00.0 Network controller: Broadcom Corporation BCM4321 802.11a/b/g/n (rev 03)
	Subsystem: Apple Inc. AirPort Extreme
	Kernel driver in use: wl

Ok, let's give the wl driver a go.
iwconfig:

lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11abg  ESSID:off/any  
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

Seems like it's working. Let's try to connect it with my AP through wpa_supplicant.

Successfully initialized wpa_supplicant
eth1: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Operation not supported
eth1: Association request to the driver failed
eth1: Associated with 00:24:b2:4c:f5:35
eth1: WPA: Key negotiation completed with 00:24:b2:4c:f5:35 [PTK=TKIP GTK=TKIP]
eth1: CTRL-EVENT-CONNECTED - Connection to 00:24:b2:4c:f5:35 completed [id=0 id_str=]

Looks ok, but when you execute dhcpcd wpa_supplicant goes crazy:

eth1: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
eth1: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
eth1: Associated with 00:24:b2:4c:f5:35
eth1: WPA: Key negotiation completed with 00:24:b2:4c:f5:35 [PTK=TKIP GTK=TKIP]
eth1: CTRL-EVENT-CONNECTED - Connection to 00:24:b2:4c:f5:35 completed [id=0 id_str=]
eth1: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
eth1: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Operation not supported
eth1: Association request to the driver failed
eth1: Associated with 00:24:b2:4c:f5:35
eth1: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
eth1: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Operation not supported
eth1: Association request to the driver failed
eth1: Associated with 00:00:00:00:00:00
eth1: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
eth1: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Operation not supported
eth1: Association request to the driver failed
eth1: Associated with 00:24:b2:4c:f5:35
eth1: WPA: Key negotiation completed with 00:24:b2:4c:f5:35 [PTK=TKIP GTK=TKIP]
eth1: CTRL-EVENT-CONNECTED - Connection to 00:24:b2:4c:f5:35 completed [id=0 id_str=]
eth1: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
eth1: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Operation not supported
eth1: Association request to the driver failed
eth1: Associated with 00:24:b2:4c:f5:35
eth1: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
eth1: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Operation not supported
eth1: Association request to the driver failed
eth1: Associated with 00:00:00:00:00:00
eth1: WPA: No SSID info found (msg 1 of 4)
eth1: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
eth1: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Operation not supported
eth1: Association request to the driver failed
eth1: Associated with 00:00:00:00:00:00
eth1: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0

Let's give ndiswrapper a go

root@localhost:~[root@localhost ~]# rmmod wl
root@localhost:~[root@localhost ~]# modprobe ndiswrapper
root@localhost:~[root@localhost ~]# iwconfig
wlan0     IEEE 802.11g  ESSID:off/any  
          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated   
          Bit Rate:130 Mb/s   Tx-Power:32 dBm   
          RTS thr:2347 B   Fragment thr:2346 B   
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lo        no wireless extensions.

eth0      no wireless extensions.

Successfully initialized wpa_supplicant
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2447 MHz)
wlan0: Associated with 00:24:b2:4c:f5:35
wlan0: Authentication with 00:24:b2:4c:f5:35 timed out.
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=3 locally_generated=1
wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="netgear01" auth_failures=1 duration=10
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="netgear01"
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2447 MHz)
wlan0: Associated with 00:24:b2:4c:f5:35
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2447 MHz)
wlan0: Associated with 00:24:b2:4c:f5:35
wlan0: Authentication with 00:24:b2:4c:f5:35 timed out.
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=3 locally_generated=1
wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="netgear01" auth_failures=2 duration=20
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="netgear01"
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2447 MHz)
wlan0: Associated with 00:24:b2:4c:f5:35
wlan0: Authentication with 00:24:b2:4c:f5:35 timed out.
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=3 locally_generated=1
wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="netgear01" auth_failures=3 duration=20

b43:

>ifconfig wlan0 down
>rmmod ndiswrapper
>modprobe b43
>ifconfig wlan0 up
>iwconfig
wlan0     IEEE 802.11bg  Mode:Managed  Access Point: Not-Associated   
          Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
lo        no wireless extensions.

eth0      no wireless extensions.

>wpa_supplicant

Successfully initialized wpa_supplicant
ioctl[SIOCSIWSCAN]: Device or resource busy
wlan0: Failed to initiate AP scan
ioctl[SIOCSIWSCAN]: Device or resource busy
wlan0: Failed to initiate AP scan
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
wlan0: Associated with 00:24:b2:4c:f5:35
wlan0: WPA: Key negotiation completed with 00:24:b2:4c:f5:35 [PTK=TKIP GTK=TKIP]
wlan0: CTRL-EVENT-CONNECTED - Connection to 00:24:b2:4c:f5:35 completed [id=0 id_str=]
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:24:b2:4c:f5:35
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:24:b2:4c:f5:35
wlan0: WPA: No SSID info found (msg 1 of 4)
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:24:b2:4c:f5:35
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:24:b2:4c:f5:35
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:24:b2:4c:f5:35
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:24:b2:4c:f5:35
wlan0: WPA: No SSID info found (msg 1 of 4)
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:24:b2:4c:f5:35
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="netgear01" auth_failures=1 duration=10
wlan0: No network configuration found for the current AP
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=3 locally_generated=1
wlan0: No network configuration found for the current AP
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=3 locally_generated=1
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=3 locally_generated=1
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=3 locally_generated=1
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="netgear01"
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
wlan0: Associated with 00:24:b2:4c:f5:35
wlan0: WPA: Key negotiation completed with 00:24:b2:4c:f5:35 [PTK=TKIP GTK=TKIP]
wlan0: CTRL-EVENT-CONNECTED - Connection to 00:24:b2:4c:f5:35 completed [id=0 id_str=]
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:00:00:00:00:00
wlan0: WPA: No SSID info found (msg 1 of 4)
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:00:00:00:00:00
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:00:00:00:00:00
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:24:b2:4c:f5:35
wlan0: WPA: No SSID info found (msg 1 of 4)
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
wlan0: Trying to associate with 00:24:b2:4c:f5:35 (SSID='netgear01' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:00:00:00:00:00
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:24:b2:4c:f5:35 reason=0
^Cwlan0: CTRL-EVENT-TERMINATING 

wpa_supplicant.conf

network={
    ssid="netgear01"
    psk="[password]"
    key_mgmt=WPA-PSK
}

What the heck is going on? The password is right, every time I make sure one driver is loaded at a time. I tried rebooting.
I took down the password on my AP and tried connecting the normal way. It goes like this:
> iwconfig eth1 essid netgear01
> iwconfig - yep it's there
> dhcpcd
> iwconfig
> ssid disappears
Would be very glad if somebody could help me. Wireless is the only way I can access internet right now.

Last edited by Matt-L (2013-08-10 23:24:52)

Offline

#2 2013-08-07 17:19:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,565
Website

Re: [SOLVED] An another Broadcom thread

Welcome to the forums.  Could you replace those [ quote ] blocks with [ code ] blocks please.  Code blocks are presented in a monospace font with scroll bars which makes them much easier to read.  Also, while in these cases I can infer them, including the exact command you used for each bit of output would be important.  Specifically, we have to assume your invocation of wpa_supplicant was correct ... in normal use it will be passed many parameters and you have not shown which parameters you passed.

While we could work on figuring out why dhcpcd is failing, I'd prefer to start from scratch and make sure wl is necessary.  Can you post the output of

lspci -vnn | grep -i net

EDIT: I believe most of the 4321 chipsets will now work with b43 with recent kernels.  But the command above will specify which chip you actually have - the broadcom wireless page on the wiki links to a b43 support chart which lists most 4321's as "partially supported" in kernel 2.6.39, but things have come a long way since then as were at linux 3.10.x now.  I have one of the 4321's that works perfectly with b43 (I think it's the 14e4:4329, but I'm not on that computer now).

EDIT2: my most consistent typo fixed "not"->"now"

Last edited by Trilby (2013-08-07 17:31:36)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2013-08-07 17:42:14

Matt-L
Member
Registered: 2013-08-07
Posts: 4

Re: [SOLVED] An another Broadcom thread

Hey, thanks for your input!
Fixed the quotes, sorry.
Here's the information:

02:00.0 Network controller [0280]: Broadcom Corporation BCM4321 802.11a/b/g/n [14e4:4328] (rev 03)
03:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8058 PCI-E Gigabit Ethernet Controller [11ab:436a] (rev 13)
	Subsystem: Marvell Technology Group Ltd. Imac 8,1 Wired Ethernet Adapter [11ab:00ba] 

As for wpa_supplicant I executed

 wpa_supplicant -ieth1(or wlan0) -c /etc/wpa_supplicant.conf -Dwext 

Tried with wext and the other driver, no luck so far.
When I'm using wl the connection works, can login to my router, but it drops after a few seconds.

Offline

#4 2013-08-07 18:12:34

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,565
Website

Re: [SOLVED] An another Broadcom thread

I think b43 should work with that card.  Wl is an option - but wl can have some "side effects", and that may be part of what you are experiencing.

That wpa_supplicant command looks mostly good, but you shouldn't need to specify the -D option normally.

I didn't notice you tried b43 in your original post (or was that added with the edit), but I'd suggest working on getting that working.  It may seem farther form success now, but when done I suspect it may work better than wl.

Have you followed this page on the wiki?  If not you should.  Spefically note the need to install b43 firmware and remove/blacklist bcma.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2013-08-07 19:02:33

Matt-L
Member
Registered: 2013-08-07
Posts: 4

Re: [SOLVED] An another Broadcom thread

It works! And it's glorious. Thank you, after I blacklisted bcma and modprobed brcmsmac the b43 driver connected to my router without a problem.
So yeah, I will lurk around, hopefully learn some new things. I can enjoy my laptop again.

Offline

#6 2013-08-07 21:18:50

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] An another Broadcom thread

Matt-L wrote:

It works! And it's glorious.

I like this.

Don't forget to mark your thread as [Solved].  For future reference, whenever you run into a broadcom card, I have found this chart to be an amazing resource.  In my short time with a broadcom card, the list has been pretty accurate, but I am not sure how on top of updating it the b43 developers are.  Of course, there are only three different drivers to try (which is admittedly three times most HW situations), so you would always go by process of elimination.

Offline

#7 2013-08-10 23:24:34

Matt-L
Member
Registered: 2013-08-07
Posts: 4

Re: [SOLVED] An another Broadcom thread

Got too excited there. After rebooting it was the same thing all over again.
I solved it by connecting through wicd. Thanks for the help.

Offline

Board footer

Powered by FluxBB