LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (http://www.linuxquestions.org/questions/gentoo-87/)
-   -   Can't get online wirelessly after world upgrade (networkmanager/broadcom-sta driver) (http://www.linuxquestions.org/questions/gentoo-87/cant-get-online-wirelessly-after-world-upgrade-networkmanager-broadcom-sta-driver-4175429729/)

rrrssssss 09-30-2012 08:16 AM

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 thr:off Fragment thr:off
Encryption key:off
Power Management:off
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

rrrssssss 10-01-2012 04:22 AM

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.

rrrssssss 10-02-2012 11:54 AM

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


All times are GMT -5. The time now is 10:47 AM.