You are not logged in.

#1 2012-10-06 04:18:17

thetech438
Member
Registered: 2012-10-06
Posts: 18

[SOLVED] WiFi keeps disconnecting - BCM4312

This is my first install of Arch Linux (well, I re installed 3 times to try to get this to work) and I am having wireless troubles. I have a Broadcom BCM4312 wireless card and I'm using the b43 driver. The internet works fine from the terminal, i can ping website, download from pacman, and even use links. But when I start Xfce and use chromium, it loads most of the website then wlan0 goes down and wicd reconnects to the network after a few seconds. Before it wasn't working at all, like I go to a website and it just won't load, but after disabling TCP Window Scaling, I came to where I am now. Please let me know what log files you want me to post. I've tried everything I can think of doing, so please help if you can. Thanks!

Last edited by thetech438 (2012-10-13 00:15:11)

Offline

#2 2012-10-06 04:30:53

yungtrizzle
Member
Registered: 2011-04-24
Posts: 139

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Start by posting your /var/log/everything.log for the relevant times.

Offline

#3 2012-10-06 04:46:50

ontobelli
Member
From: Mexico City
Registered: 2011-02-06
Posts: 127

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

thetech438 wrote:

I have a Broadcom BCM4312 wireless card

I have the same card and found broadcom-wl driver a better one.

Install it from AUR

http://aur.archlinux.org/packages.php?ID=19514

Offline

#4 2012-10-06 05:01:56

thetech438
Member
Registered: 2012-10-06
Posts: 18

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Okay, here is the link to everything.log:
http://dl.dropbox.com/u/13134954/everything.log

Also, I found this section interesting from dmesg, here is the link:
http://dl.dropbox.com/u/13134954/log.txt

Thanks!

Offline

#5 2012-10-06 05:33:49

yungtrizzle
Member
Registered: 2011-04-24
Posts: 139

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

@thetech438 It would be much more helpful if you posted logs directly on the forums.

@ontobelli That package seems to be a bit unmaintained.

Offline

#6 2012-10-06 06:08:14

ontobelli
Member
From: Mexico City
Registered: 2011-02-06
Posts: 127

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

yungtrizzle wrote:

@ontobelli That package seems to be a bit unmaintained.

Why?

I use it and find it useful and well maintained.

Offline

#7 2012-10-06 06:12:30

thetech438
Member
Registered: 2012-10-06
Posts: 18

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

I tried the wl driver and the same result occurred. I can't post the everything.log directly to the forum, because it is too large. Please just view the file on dropbox. Thank you very much!

Offline

#8 2012-10-06 06:33:44

ontobelli
Member
From: Mexico City
Registered: 2011-02-06
Posts: 127

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

thetech438 wrote:

I tried the wl driver and the same result occurred. I can't post the everything.log directly to the forum, because it is too large. Please just view the file on dropbox. Thank you very much!

Download the tarball http://aur.archlinux.org/packages/br/br … -wl.tar.gz

And edit the PKGBUILD

From:

	make -C /usr/lib/modules/"${_kernver}"/build M=`pwd`

To:

	make API=WEXT -C /usr/lib/modules/"${_kernver}"/build M=`pwd`

And then  in the dir run

$ makepkg -csi

The default API cfg80211 doesn't work fine for me on that card.

You have to include wl in the kernel modules you need to load at boot time.

Further info there http://wiki.archlinux.org/index.php/Broadcom_wireless

Last edited by ontobelli (2012-10-06 06:35:04)

Offline

#9 2012-10-06 07:11:23

yungtrizzle
Member
Registered: 2011-04-24
Posts: 139

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

@ontobelli huge gaps between updates and special compiler directives don't makes me think otherwise. However, if it works then kudos.

Offline

#10 2012-10-06 08:02:53

ontobelli
Member
From: Mexico City
Registered: 2011-02-06
Posts: 127

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

yungtrizzle wrote:

@ontobelli huge gaps between updates and special compiler directives don't makes me think otherwise. However, if it works then kudos.

Why you need frequent updates if the driver is dated 10/25/2011?

http://www.broadcom.com/support/802.11/linux_sta.php

Offline

#11 2012-10-06 12:57:53

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

ontobelli wrote:
thetech438 wrote:

I have a Broadcom BCM4312 wireless card

I have the same card and found broadcom-wl driver a better one.

Install it from AUR

http://aur.archlinux.org/packages.php?ID=19514

Are you using it instead of the b43-firmware package?

What's this openfwwf package?


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#12 2012-10-06 16:34:32

thetech438
Member
Registered: 2012-10-06
Posts: 18

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Okay, I tried ontobelli way of installing it and my connection still drops. And yes I was using b43 firmware, that is, before I tried the wl, but both still drop my connection. Could the issue possibly my router? I don't think it could, because when I connected to another network the same thing happened.

Offline

#13 2012-10-06 18:49:14

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

I had problems when I changed from linux-3.4.9 to 3.5.3.
I haven't rebooted since today's upgrade.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#14 2012-10-06 22:41:04

ontobelli
Member
From: Mexico City
Registered: 2011-02-06
Posts: 127

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

nomorewindows wrote:

Are you using it instead of the b43-firmware package?

What's this openfwwf package?

Yes, for me wl works better than b43.

Further info there http://wiki.archlinux.org/index.php/Broadcom_wireless

nomorewindows wrote:

I had problems when I changed from linux-3.4.9 to 3.5.3.
I haven't rebooted since today's upgrade.

You have to compile the kernel module for every kernel update.

Offline

#15 2012-10-06 22:53:12

ontobelli
Member
From: Mexico City
Registered: 2011-02-06
Posts: 127

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

thetech438 wrote:

Okay, I tried ontobelli way of installing it and my connection still drops. And yes I was using b43 firmware, that is, before I tried the wl, but both still drop my connection. Could the issue possibly my router? I don't think it could, because when I connected to another network the same thing happened.

Maybe power management is dropping the connection.

For me wl is very stable on BCM4312. But I use NetworkManager instead Wicd

I can't think in something else.

Offline

#16 2012-10-06 23:06:26

thetech438
Member
Registered: 2012-10-06
Posts: 18

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Its not power managment, because I have disabled that. The first time I tried I used netcfg and the same problem occured. I am using Wicd because I want a GUI, but don't want all the Gnome dependencies of NetworkManager. Should I try re-installing Arch (Yet again....), but trying ontobelli's method first? Any help will be appreciated, because I'm loosing hope.
Thanks!

Offline

#17 2012-10-06 23:13:55

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

ontobelli wrote:
thetech438 wrote:

Okay, I tried ontobelli way of installing it and my connection still drops. And yes I was using b43 firmware, that is, before I tried the wl, but both still drop my connection. Could the issue possibly my router? I don't think it could, because when I connected to another network the same thing happened.

Maybe power management is dropping the connection.

For me wl is very stable on BCM4312. But I use NetworkManager instead Wicd

I can't think in something else.

Wicd was so unreliable that I was digging down to wireless_tools and I'm still not sure that I was still having a happy day with it.
I haven't had to recompile the kernel modules for b43 with every kernel update, I've gone from kernel update to kernel update with little change.  Maybe, you're talking about the broadcom-wl package.  The firmware on b43-firmware and broadcom-wl is only one side of the same year or the other.

Last edited by nomorewindows (2012-10-06 23:15:12)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#18 2012-10-06 23:28:04

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

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Reinstalling is not a solution

Offline

#19 2012-10-06 23:30:35

thetech438
Member
Registered: 2012-10-06
Posts: 18

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Okay, well then what should I try next? Could Wicd be the issue, even though netcfg had the same problem?

Offline

#20 2012-10-06 23:47:44

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

thetech438 wrote:

Okay, well then what should I try next? Could Wicd be the issue, even though netcfg had the same problem?

Won't make any difference.  Just try the linux-3.4.9 kernel and see if it just magically comes back to life.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#21 2012-10-06 23:54:56

thetech438
Member
Registered: 2012-10-06
Posts: 18

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Okay, I will try downgrading. I already tried downgrading to 3.5.3, but that didn't work.

Offline

#22 2012-10-07 00:51:54

thetech438
Member
Registered: 2012-10-06
Posts: 18

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Okay, I downgraded to 3.4.9 and it still didn't work. Also the error I get from dmesg right after it drops connection is:
ieee80211 phy0: wlan0: No probe response from AP [...] after 500ms, disconnecting.

Offline

#23 2012-10-07 01:13:25

ontobelli
Member
From: Mexico City
Registered: 2011-02-06
Posts: 127

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

thetech438 wrote:

Okay, I downgraded to 3.4.9 and it still didn't work. Also the error I get from dmesg right after it drops connection is:
ieee80211 phy0: wlan0: No probe response from AP [...] after 500ms, disconnecting.

https://bbs.archlinux.org/viewtopic.php?pid=780128


lubo777 wrote:

after spending some time trying to fix the problem with my b43 card (Broadcom Corporation BCM4312 802.11b/g (rev 01) on HP ProBook 5310m) I found the solution and now the card is working pretty stable.
The problem was that each time 6 seconds after each AP association  the connection was dropped with this error in the dmesg:

No probe response from AP xxxxxxxxxxxxx after 500ms, disconnecting

The fix is to disable the QOS of the driver.

sudo touch /etc/modprobe.d/b43.conf
echo "options b43 pio=1 qos=0" | sudo tee -a /etc/modprobe.d/b43.conf

thanks to chenxiaolong


P.S. The QOS setting depends of the processor, for some it have to be 1

QOS on --> Intel Core Duo, Intel Atom
QOS off --> Intel Core Solo, Intel Core 2 Duo, Intel Core i3/i5/i7, and AMD

Offline

#24 2012-10-07 01:18:20

thetech438
Member
Registered: 2012-10-06
Posts: 18

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

I already tried that and it didn't work sad  Any other suggestions?

Offline

#25 2012-10-07 01:25:20

ontobelli
Member
From: Mexico City
Registered: 2011-02-06
Posts: 127

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

thetech438 wrote:

I already tried that and it didn't work sad  Any other suggestions?

Try Windows. lol

Offline

Board footer

Powered by FluxBB