LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 09-30-2012, 08:16 AM   #1
rrrssssss
Member
 
Registered: Mar 2005
Posts: 288

Rep: Reputation: 34
Can't get online wirelessly after world upgrade (networkmanager/broadcom-sta driver)


Hello Gentoo forum,

After upgrading Gentoo/Gnome (version 2.32.1), I can no longer get online with my laptop, either with a wired connection or with a wireless connection. I am using Networkmanager and I have a IEEE 802.11g/b network card in my laptop. I am using the Broadcom-sta wireless driver installed using Portage.

I could get online fine before the upgrade.

My wireless router is recognized properly in networkmanager and networkmanager tries to get online as the icon on the taskbar twirls around and around but it soon disconnects. While the icon is twirling around, I have Internet access for a few seconds but it soon disconnects and the icon on the taskbar never shows a connected icon (the blue bars icon). The same thing occurs with a wired Ethernet connection.

The world upgrade also upgraded the kernel but this problem persists no matter if I boot into the new kernel or the old kernel.

=====================================================================
The following messages are from the wireless connection, not wired.

Dmesg looks like this:

sky2 0000:09:00.0: eth2: enabling interface
ERROR @__wl_cfg80211_scan : WLC_SCAN error (-22)
ERROR @__wl_cfg80211_scan : WLC_SCAN error (-22)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): eth2: link is not ready
eth1: no IPv6 routers present
ERROR @__wl_cfg80211_scan : WLC_SCAN error (-22)
ERROR @__wl_cfg80211_scan : WLC_SCAN error (-22)
ERROR @__wl_cfg80211_scan : WLC_SCAN error (-22)
ERROR @__wl_cfg80211_scan : WLC_SCAN error (-22)
ERROR @__wl_cfg80211_scan : WLC_SCAN error (-22)
ERROR @wl_cfg80211_get_station : Could not get rssi (-22)
cfg80211: Calling CRDA to update world regulatory domain
eth1: no IPv6 routers present
usb 2-3: USB disconnect, address 3
eth1: no IPv6 routers present
cfg80211: Calling CRDA to update world regulatory domain
eth1: no IPv6 routers present
cfg80211: Calling CRDA to update world regulatory domain
eth1: no IPv6 routers present
cfg80211: Calling CRDA to update world regulatory domain
eth1: no IPv6 routers present
cfg80211: Calling CRDA to update world regulatory domain
eth1: no IPv6 routers present

=====================================================================

ifconfig looks like this (for the short length of time it is online)

roylocalhost roy # ifconfig
eth1 Link encap:Ethernet HWaddr 70:f1:a1:8c:01:41
inet addr:192.168.0.156 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::72f1:a1ff:fe8c:141/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:47 errors:0 dropped:0 overruns:0 frame:25
TX packets:306 errors:65 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5676 (5.5 KiB) TX bytes:173932 (169.8 KiB)
Interrupt:17 Base address:0xc000

=====================================================================

iwconfig looks like this (for the short lengh of time it is online)

roylocalhost roy # iwconfig
lo no wireless extensions.

eth2 no wireless extensions.

eth1 IEEE 802.11abg ESSID:"MBR1400-a2d"
Mode:Managed Frequency:2.412 GHz Access Point: 00:30:44:10:2A:2D
Tx-Power=200 dBm
Retry long limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementff
Link Quality=70/70 Signal level=-33 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

=====================================================================


lspci looks like this:

09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 13)
0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)

=====================================================================

I have b43, ssb, and mac80211 blacklisted in modules.conf but only b43 is turned off in the kernel. The other two are still turned on but they were turned on before the upgrade and I could get online fine then.

I might also add that I tried wicd but got basically the same problems.

Could someone ***please*** steer me in the right direction to getting this fixed?

Thanks much,
Roy

Last edited by rrrssssss; 10-01-2012 at 04:22 AM.
 
Old 10-01-2012, 04:22 AM   #2
rrrssssss
Member
 
Registered: Mar 2005
Posts: 288

Original Poster
Rep: Reputation: 34
I fixed my problem.

I had to generate a new psk string in wpa_supplicant.conf (due to a change in my ssid I made a few months ago) with the command wpa_passphrase. I was under the impression all of that would be done automatically with either networkmanager or wicd but it wasn't done automatically.

Then I had to create a symlink to net.lo called net.eth1. There was already a symlink called net.eth0 but that does not have any wireless extensions according to iwconfig.

Then I had to comment out rc_hotplug="!net.*" in /etc/rc.conf in order to let wicd control everything instead of the hotplug feature.

I don't know how upgrading Gentoo broke all of this but it did.

Now wicd connects fine and I'm sure if I switch to networkmanager it will connect fine also even though I haven't tried it yet since making these changes.

Happy sailing,
Roy

UPDATE
Networkmanager still doesn't work but wicd does work so I'll marked this thread as solved anyway. I may try networkmanager again later. Maybe the reason networkmanager does not work is because I did not remove dhcpcd from the default runlevel like I did with wicd. Wicd is supposed to control dhcpcd, not a runlevel so the same thing might apply to networkmanager also.

Last edited by rrrssssss; 10-01-2012 at 11:49 AM.
 
Old 10-02-2012, 11:54 AM   #3
rrrssssss
Member
 
Registered: Mar 2005
Posts: 288

Original Poster
Rep: Reputation: 34
I finally got networkmanager to work. I had to change the symlink net.eth1 back to where it originally was which was net.eth0 and most importantly I had to stop dhcpcd from starting at boot time. Networkmanager is supposed to start it and the same rule applies to wicd.

So with networkmanager it is supposed to be net.eth0 and with wicd it is supposed to be net.eth1 in /etc/init.d.

So I guess the Gentoo upgrade must have put dhcpcd in the default runlevel or else I did and can't remember.

But anyway, I'm glad it is working again.

Roy
 
Old 11-24-2014, 11:25 PM   #4
Trevud0
LQ Newbie
 
Registered: Nov 2014
Distribution: > Slackware (3.17.2) : SMP : x86_64 Intel(R) Core(TM) i3-2375M CPU @ 1.50GHz GenuineIntel GNU/Linux
Posts: 6

Rep: Reputation: Disabled
Thumbs up Solves on Slackware x86_64

Quote:
Originally Posted by rrrssssss View Post
Hello Gentoo forum,

After upgrading Gentoo/Gnome (version 2.32.1), I can no longer get online with my laptop, either with a wired connection or with a wireless connection. I am using Networkmanager and I have a IEEE 802.11g/b network card in my laptop. I am using the Broadcom-sta wireless driver installed using Portage.

I could get online fine before the upgrade.

My wireless router is recognized properly in networkmanager and networkmanager tries to get online as the icon on the taskbar twirls around and around but it soon disconnects. While the icon is twirling around, I have Internet access for a few seconds but it soon disconnects and the icon on the taskbar never shows a connected icon (the blue bars icon). The same thing occurs with a wired Ethernet connection.

The world upgrade also upgraded the kernel but this problem persists no matter if I boot into the new kernel or the old kernel.

=====================================================================
The following messages are from the wireless connection, not wired.

Dmesg looks like this:

sky2 0000:09:00.0: eth2: enabling interface
ERROR @__wl_cfg80211_scan : WLC_SCAN error (-22)
ERROR @__wl_cfg80211_scan : WLC_SCAN error (-22)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): eth2: link is not ready
eth1: no IPv6 routers present
ERROR @__wl_cfg80211_scan : WLC_SCAN error (-22)
ERROR @__wl_cfg80211_scan : WLC_SCAN error (-22)
ERROR @__wl_cfg80211_scan : WLC_SCAN error (-22)
ERROR @__wl_cfg80211_scan : WLC_SCAN error (-22)
ERROR @__wl_cfg80211_scan : WLC_SCAN error (-22)
ERROR @wl_cfg80211_get_station : Could not get rssi (-22)
cfg80211: Calling CRDA to update world regulatory domain
eth1: no IPv6 routers present
usb 2-3: USB disconnect, address 3
eth1: no IPv6 routers present
cfg80211: Calling CRDA to update world regulatory domain
eth1: no IPv6 routers present
cfg80211: Calling CRDA to update world regulatory domain
eth1: no IPv6 routers present
cfg80211: Calling CRDA to update world regulatory domain
eth1: no IPv6 routers present
cfg80211: Calling CRDA to update world regulatory domain
eth1: no IPv6 routers present

=====================================================================

ifconfig looks like this (for the short length of time it is online)

roylocalhost roy # ifconfig
eth1 Link encap:Ethernet HWaddr 70:f1:a1:8c:01:41
inet addr:192.168.0.156 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::72f1:a1ff:fe8c:141/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:47 errors:0 dropped:0 overruns:0 frame:25
TX packets:306 errors:65 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5676 (5.5 KiB) TX bytes:173932 (169.8 KiB)
Interrupt:17 Base address:0xc000

=====================================================================

iwconfig looks like this (for the short lengh of time it is online)

roylocalhost roy # iwconfig
lo no wireless extensions.

eth2 no wireless extensions.

eth1 IEEE 802.11abg ESSID:"MBR1400-a2d"
Mode:Managed Frequency:2.412 GHz Access Point: 00:30:44:10:2A:2D
Tx-Power=200 dBm
Retry long limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementff
Link Quality=70/70 Signal level=-33 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

=====================================================================


lspci looks like this:

09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 13)
0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)

=====================================================================

I have b43, ssb, and mac80211 blacklisted in modules.conf but only b43 is turned off in the kernel. The other two are still turned on but they were turned on before the upgrade and I could get online fine then.

I might also add that I tried wicd but got basically the same problems.

Could someone ***please*** steer me in the right direction to getting this fixed?

Thanks much,
Roy
Update to kernel (3.17 last estable) solves the problem for my Slack x86_64 using ath9k driver.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Strange behavior of broadcom-sta driver. davepi Linux - Hardware 2 08-01-2012 12:45 PM
Broadcom STA driver loops on make killgriff Linux - Networking 1 12-07-2011 10:04 AM
SlackBuild broadcom-sta driver in Salix mikefranklet Linux - Newbie 6 12-04-2011 05:42 PM
Broadcom 802.11 Linux STA driver (broadcom-wl) - Problems (Fed15) Rian79 Linux - Wireless Networking 1 08-09-2011 10:10 AM
How to install broadcom 4322 sta driver for backtrack 3? klienes Linux - Wireless Networking 1 11-12-2009 07:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 07:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration