You are not logged in.

#26 2012-10-07 01:46:05

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

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Hahahahahahahaha. I actually have a dual boot with Vista (Which is why I want this to work so bad!), and wireless works fine on there.

Offline

#27 2012-10-07 01:46:19

nomorewindows
Member
Registered: 2010-04-03
Posts: 2,947

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Hmm...right now I'm running kernel 3.5.4 (before rebooting to 3.5.5), and I used wireless_tools and it's working at the moment, but still not with wicd.
I've been tired of trying to figure out what is going on that I just plugged into the wired.  It doesn't seem that 3.5.3 was a terribly good one.  Whenever I get a good reason to reboot I'll try to see if anything changes in 3.5.5.


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

Offline

#28 2012-10-07 02:33:53

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

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

I tried not using Wicd and only using wpa_supplicant, but the same thing happened. Please, someone find a fix. I'm desperate.

Offline

#29 2012-10-07 13:33:57

nomorewindows
Member
Registered: 2010-04-03
Posts: 2,947

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

thetech438 wrote:

I tried not using Wicd and only using wpa_supplicant, but the same thing happened. Please, someone find a fix. I'm desperate.

Can you do iwconfig/dhcpcd?


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

Offline

#30 2012-10-07 16:58:17

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,280

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

All I can say is that my HP DV4 and its BCM4312 work perfectly with the b43 driver.  I mean rock solid.

I have seen some APs that don't play nicely with dhcpcd.  You might try dhclient instead.

When you are connected, please run iwconfig and post the results.  Maybe that will tell us something.

Also, what is the AP?  Do you own it? Can you get to it's logs and status reports?  If so what does it think about the connection and its quality?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Offline

#31 2012-10-07 21:17:35

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

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Okay this is the output of my iwconfig while it is connected and after it drops connection:

While its connected:

eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"jacked"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:18:4D:80:3B:18   
          Bit Rate=11 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=5 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:19   Missed beacon:0

-----------------------------------------------------------
After it drops:

eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:off/any  
          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated   
          Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

And this is the output of dhcpcd.

dhcpcd[1821]: version 5.6.2 starting
dhcpcd[1821]: wlan0: sending IPv6 Router Solicitation
dhcpcd[1821]: wlan0: rebinding lease of 10.0.0.12
dhcpcd[1821]: eth0: waiting for carrier
dhcpcd[1821]: wlan0: reject NAK via 10.0.0.1
dhcpcd[1821]: wlan0: sending IPv6 Router Solicitation
dhcpcd[1821]: wlan0: reject NAK via 10.0.0.1
dhcpcd[1821]: wlan0: broadcasting for a lease
dhcpcd[1821]: wlan0: offered 10.0.0.16 from 10.0.0.1
dhcpcd[1821]: wlan0: sending IPv6 Router Solicitation
dhcpcd[1821]: wlan0: acknowledged 10.0.0.16 from 10.0.0.1
dhcpcd[1821]: wlan0: checking for 10.0.0.16
dhcpcd[1821]: wlan0: sending IPv6 Router Solicitation
dhcpcd[1821]: wlan0: no IPv6 Routers available
dhcpcd[1821]: wlan0: leased 10.0.0.16 for 86400 seconds
dhcpcd[1821]: forked to background, child pid 1883

I do own the AP, and according to the logs it is allowing all of the connections from the PC, and doesn't seem to have a problem with it. Also, in case it helps, when the connection drops wlan0 goes down.

Thanks again for helping!

Offline

#32 2012-10-07 21:53:58

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,280

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Well, it certainly is not for lack of signal quality.  Are you currently using B43, or are you using wl?

Maybe you could post the output of ps -e.  Let's see if there is something unexpected trying to 'help' in the background.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Offline

#33 2012-10-07 22:10:27

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

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Okay here is the output of ps -e

 PID TTY          TIME CMD
    1 ?        00:00:00 init
    2 ?        00:00:00 kthreadd
    3 ?        00:00:00 ksoftirqd/0
    5 ?        00:00:00 kworker/u:0
    6 ?        00:00:00 migration/0
    7 ?        00:00:00 watchdog/0
    8 ?        00:00:00 cpuset
    9 ?        00:00:00 khelper
   10 ?        00:00:00 kdevtmpfs
   11 ?        00:00:00 netns
   12 ?        00:00:00 sync_supers
   13 ?        00:00:00 bdi-default
   14 ?        00:00:00 kblockd
   15 ?        00:00:00 kworker/0:1
   16 ?        00:00:00 khungtaskd
   17 ?        00:00:00 kswapd0
   18 ?        00:00:00 ksmd
   19 ?        00:00:00 khugepaged
   20 ?        00:00:00 fsnotify_mark
   21 ?        00:00:00 crypto
   24 ?        00:00:00 kthrotld
   25 ?        00:00:00 kworker/0:2
   26 ?        00:00:00 deferwq
   50 ?        00:00:00 khubd
   51 ?        00:00:00 ata_sff
   52 ?        00:00:00 scsi_eh_0
   53 ?        00:00:00 scsi_eh_1
   54 ?        00:00:00 scsi_eh_2
   55 ?        00:00:00 scsi_eh_3
   56 ?        00:00:00 kworker/u:2
   60 ?        00:00:00 scsi_eh_4
   65 ?        00:00:00 scsi_eh_5
   80 ?        00:00:00 jbd2/sda5-8
   81 ?        00:00:00 ext4-dio-unwrit
  124 ?        00:00:00 systemd-udevd
  214 ?        00:00:00 kpsmoused
  215 ?        00:00:00 flush-8:0
  216 ?        00:00:00 edac-poller
  219 ?        00:00:00 kworker/0:4
  221 ?        00:00:00 kvm-irqfd-clean
  223 ?        00:00:00 ttm_swap
  224 ?        00:00:00 cfg80211
  226 ?        00:00:00 hd-audio0
  256 ?        00:00:00 jbd2/sda6-8
  257 ?        00:00:00 ext4-dio-unwrit
  317 ?        00:00:00 syslog-ng
  318 ?        00:00:00 syslog-ng
  343 ?        00:00:00 dbus-daemon
  371 ?        00:00:01 wicd
  410 ?        00:00:00 wicd-monitor
  422 ?        00:00:00 crond
  430 tty2     00:00:00 agetty
  431 tty3     00:00:00 agetty
  432 tty4     00:00:00 agetty
  433 tty5     00:00:00 agetty
  434 tty6     00:00:00 agetty
  511 ?        00:00:00 login
  514 ?        00:00:00 console-kit-dae
  581 ?        00:00:00 polkitd
  591 tty1     00:00:00 bash
  612 tty1     00:00:00 xinit
  613 tty7     00:00:00 X
  620 tty1     00:00:00 sh
  625 tty1     00:00:00 xfce4-session
  628 tty1     00:00:00 dbus-launch
  629 ?        00:00:00 dbus-daemon
  631 ?        00:00:00 xfconfd
  634 ?        00:00:00 gpg-agent
  636 tty1     00:00:00 xfwm4
  640 tty1     00:00:00 xfce4-panel
  642 tty1     00:00:00 Thunar
  644 tty1     00:00:00 xfdesktop
  647 ?        00:00:00 xfce4-power-man
  649 tty1     00:00:00 wicd-client
  653 ?        00:00:00 xfsettingsd
  655 ?        00:00:00 upowerd
  658 ?        00:00:00 tumblerd
  669 tty1     00:00:00 panel-6-systray
  671 tty1     00:00:00 panel-2-actions
  775 ?        00:00:00 irq/18-b43
  789 ?        00:00:00 wpa_supplicant
  829 ?        00:00:00 dhcpcd
  881 tty1     00:00:00 Terminal
  885 tty1     00:00:00 gnome-pty-helpe
  886 pts/0    00:00:00 bash
  901 ?        00:00:00 anacron
  908 pts/0    00:00:00 sudo
  912 pts/0    00:00:00 ps

I am currently using the b43. Also, something weird, my router sees the PC as some weird name, even though I changed the hostname to ArchLinux.

Thanks again!

Offline

#34 2012-10-07 23:33:10

yungtrizzle
Member
From: Nanjing, China
Registered: 2011-04-24
Posts: 130

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Where do you set your hostname?


No trees No codes : equal exchange

Offline

#35 2012-10-07 23:35:14

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

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

/etc/hosts and /etc/hostname. But it seems the right hostname is appearing now.

Offline

#36 2012-10-08 05:43:47

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

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Hmmm, I can browse the web all that I want using links command line in Xfce. But once I start links GUI and try to browse the web, it drops my connection. Could my problem have to do with Xorg? Does anyone know why that would happen? Also the PC is an Acer Aspire 5516 and acer_wmi modules loads at boot, but I have blacklisted it and nothing changed.
Thanks!

Offline

#37 2012-10-08 12:39:33

nomorewindows
Member
Registered: 2010-04-03
Posts: 2,947

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Another day, another kernel, and I haven't even rebooted the last one.
I say I had it going, but overnight, it dropped the wireless and didn't want to go at least by wicd.  I can connect to the network manually, and it shows up in wicd, but not from wicd directly.  My previous attempts were to disable wicd by stopping it, but it didn't seem to have any difference on manually connecting. 

ewaller wrote:

All I can say is that my HP DV4 and its BCM4312 work perfectly with the b43 driver.  I mean rock solid.

I don't know about you but the Broadfailure Kmart blue light special has been tempermental except under something called Windows.  OpenBSD's airforce driver has a bite that stays with it, but is a tremendously unbearable slow dog.  If you ever want to know what devices are flaky, *BSD will sort them out for you.

Last edited by nomorewindows (2012-10-08 12:57:15)


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

Offline

#38 2012-10-08 20:09:10

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

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Offline

#39 2012-10-09 02:34:48

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

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

So I found out that I had my /etc/hosts all wrong. Could that cause the drop? If I wanted my hostname to be ArchLinux what would my /etc/hosts look like? Also, I will try a static IP if fixing /etc/hosts doesn't work.

Thank you!

Offline

#40 2012-10-09 02:55:53

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

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

thetech438 wrote:

So I found out that I had my /etc/hosts all wrong. Could that cause the drop? If I wanted my hostname to be ArchLinux what would my /etc/hosts look like? Also, I will try a static IP if fixing /etc/hosts doesn't work.

Thank you!

/etc/hosts

127.0.0.1 localhost.localdomain localhost ArchLinux
::1       localhost.localdomain localhost ArchLinux

Offline

#41 2012-10-12 22:24:32

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

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Okay, I finally got it working. The solution is to use dhclient with wpa_supplicant. For some reason dhcpcd doesn't hold the connection. Even using Wicd with dhclient doesn't work, or netcfg. I think Network Manager would work since it does on Ubuntu, but I don't want all those gnome dependencies. Thank you guys so much, I know someone said use dhclient, and another said wpa_supplicant, and combining them was the answer. Also, I can use either b43 or the wext version of wl, both work fine with dhclient and wpa_supplicant.

P.S. Do I mark this as solved or does a moderator?

Offline

#42 2012-10-12 22:51:29

nomorewindows
Member
Registered: 2010-04-03
Posts: 2,947

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

thetech438 wrote:

Okay, I finally got it working. The solution is to use dhclient with wpa_supplicant. For some reason dhcpcd doesn't hold the connection. Even using Wicd with dhclient doesn't work, or netcfg. I think Network Manager would work since it does on Ubuntu, but I don't want all those gnome dependencies. Thank you guys so much, I know someone said use dhclient, and another said wpa_supplicant, and combining them was the answer. Also, I can use either b43 or the wext version of wl, both work fine with dhclient and wpa_supplicant.

P.S. Do I mark this as solved or does a moderator?

You mark as solved.


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

Offline

#43 2012-10-12 23:31:44

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,280

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

The moderators do not mark them as solved as we do not really know when you consider them solved.  Just edit your first post and add [SOLVED] to the beginning of the thread title.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Offline

#44 2012-10-16 18:10:51

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

Re: [SOLVED] WiFi keeps disconnecting - BCM4312

Hey, just an update. I can use netcfg fine if in /etc/conf.d/netcfg I add the line DHCLIENT=yes. Then it uses dhclient instead of dhcpcd, which results in it working perfectly.

Offline

Board footer

Powered by FluxBB