PDA

View Full Version : [Solved] Wireless not working after upgrade



kln
Nov 27th 2010, 02:12 PM
Hi,
I can't get my wireless to work, it seems, since last upgrade to Maverick. Wired connection works fine, with either Wicd or KNM, but wireless won't. No wireless connections are shown, though I know I have two or three strong wireless networks around (public networks with given password)

I have looked a some similar problems, so thinking of a network switch problem, I tried to boot with switch OFF and turning it on after, and booting with switch ON too, rebooting after disconnecting the wired connection. No results. Cf. the result of rfkill below, which looks normal.

At one point - I was copying the output of commands in Konsole - KNM managed to detect the wireless networks (two, both 100%), but I was unable to connect. It didn't happen twice though.

I have looked at the other posts going on right now. Any idea on what I should try before giving up on MM 10.10 ?

UPDATES:
Wireless works fine with the 9.10 Live CD (the interface used is ra0).
I don't keep both KNM and Wicd at the same time.
I used to connect to the same networks with 9.10 and 10.04 in the past.

Many thanks in advance
kln

Here's the results of a few commands :


$ iwlist scan || iwlist scanning
lo Interface doesn't support scanning. || same
eth0 Interface doesn't support scanning. || same
wlan0 Failed to read scan data : Network is down || Interface doesn't support scanning : Network is down


$ sudo lshw -C network
[sudo] password for:
*-network DISABLED
description: Wireless interface
product: RT2860
vendor: RaLink
physical id: 0
bus info: pci@0000:04:00.0
logical name: wlan0
version: 00
serial: 00:15:af:ee:fa:9d
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=2.6.35-23-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
resources: irq:18 memory:d8200000-d820ffff
*-network
description: Ethernet interface
product: RTL8111/8168B PCI Express Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:05:00.0
logical name: eth0
version: 02
serial: 00:09:df:81:4c:03
size: 10MB/s
capacity: 1GB/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10MB/s
resources: irq:45 ioport:1000(size=256) memory:d7100000-d7100fff memory:d6000000-d600ffff memory:d6020000-d603ffff


$ sudo ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:09:df:81:4c:03
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:27078 errors:0 dropped:0 overruns:0 frame:0
TX packets:13534 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14235448 (14.2 MB) TX bytes:2642960 (2.6 MB)
Interrupt:45 Base address:0xe000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:595 errors:0 dropped:0 overruns:0 frame:0
TX packets:595 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18227 (18.2 KB) TX bytes:18227 (18.2 KB)

wlan0 Link encap:Ethernet HWaddr 00:15:af:ee:fa:9d
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


$ sudo ifconfig wlan0 up
SIOCSIFFLAGS: Device or resource busy


wicd log
2010/11/26 10:52:53 :: ---------------------------
2010/11/26 10:52:53 :: wicd initializing...
2010/11/26 10:52:53 :: ---------------------------
2010/11/26 10:52:53 :: wicd is version 1.7.0 552
2010/11/26 10:52:54 :: setting backend to external
2010/11/26 10:52:56 :: trying to load backend external
2010/11/26 10:52:56 :: successfully loaded backend external
2010/11/26 10:52:56 :: trying to load backend external
2010/11/26 10:52:56 :: successfully loaded backend external
2010/11/26 10:52:56 :: Automatically detected wireless interface wlan0
2010/11/26 10:52:56 :: setting wireless interface wlan0
2010/11/26 10:52:57 :: automatically detected wired interface eth0
2010/11/26 10:52:57 :: setting wired interface eth0
2010/11/26 10:52:58 :: setting wpa driver wext
2010/11/26 10:52:58 :: setting use global dns to False
2010/11/26 10:52:58 :: setting global dns
2010/11/26 10:52:58 :: global dns servers are None None None
2010/11/26 10:52:58 :: domain is None
2010/11/26 10:52:58 :: search domain is None
2010/11/26 10:52:58 :: setting automatically reconnect when connection drops True
2010/11/26 10:52:58 :: Setting dhcp client to 0
2010/11/26 10:52:58 :: Wireless configuration file found...
2010/11/26 10:52:58 :: Wired configuration file found...
2010/11/26 10:52:58 :: chmoding configuration files 0600...
2010/11/26 10:52:58 :: chowning configuration files root:root...
2010/11/26 10:52:58 :: Using wireless interface...wlan0
2010/11/26 10:52:58 :: Using wired interface...eth0


$ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

Content of the file /etc/network/interfaces :

auto wlan0
iface wlan0 inet loopback

Content of the file /var/lib/NetworkManager/NetworkManager.state

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

Content of the file /etc/wicd/wired-settings.conf

[DEFAULT]
lastused = True


$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation ICH9M/M-E 2 port SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
00:1f.5 IDE interface: Intel Corporation ICH9M/M-E 2 port SATA IDE Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9600M GT] (rev a1)
04:00.0 Network controller: RaLink RT2860
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)

claydoh
Nov 27th 2010, 10:07 PM
http://ubuntuforums.org/showthread.php?t=1617290

It looks like the wrong driver is trying to be loaded, you may have to 'blacklist' the offending driver module. Please post the output of :

lsmod | grep rt2
And we can see what needs to be blacklisted (the things listed in the link may incorrect or overkill for your specific card)

kln
Nov 28th 2010, 02:08 AM
Here it is :
I'm looking at the thread you've linked to.


$ lsmod | grep rt2
rt2860sta 559618 0
rt2800pci 10233 0
rt2800lib 31970 1 rt2800pci
rt2x00usb 11316 1 rt2800lib
rt2x00pci 6993 1 rt2800pci
crc_ccitt 1699 2 rt2860sta,rt2800pci
rt2x00lib 31575 4 rt2800pci,rt2800lib,rt2x00usb,rt2x00pci
led_class 3393 1 rt2x00lib
mac80211 266657 3 rt2x00usb,rt2x00pci,rt2x00lib
cfg80211 170293 2 rt2x00lib,mac80211
eeprom_93cx6 1789 1 rt2800pci

I've been using RT2860 so far.

claydoh
Nov 28th 2010, 02:19 AM
you may have to blacklist the list, though perhaps trying one at a time so you don't loose anything suspend-wise.

kln
Nov 28th 2010, 02:36 AM
Except the one that are linked with RT2860 ?
such as the 1st and the 6th one ...
What do you mean suspend-wise ?

Should I try to suspend to RAM each time to check ?

claydoh
Nov 28th 2010, 02:44 AM
naw, just start with the first one in the list on the ubuntuforum post, and see if it works after a reboot, and keep adding until it does work. I *think* the rt2860sta may be the one you want to keep, the ones in the forum post I think are causing the conflict.

I have a different rt usb adapter that I actually had to blacklist the sta one (opposite of what everyone else was) in 10.04 - now working fine in 10.10 with no mods

kln
Nov 28th 2010, 03:03 AM
Wow, it worked with the first line ... blacklist rt2800pci

So the hint was in the configuration line of the $ sudo lshw -C network command ? "driver=rt2800pci" means the wrong driver was loaded, I take it.

Thank you very much, that was a really fast solving. You guys are really good at spotting the cause of the problems !
I try another two days to check that there are no other problems then will mark the post as solved.

NB : I'm glad not to go back to 10.04 as the upgrade to 10.10 has at last solved the built-in mic problem on my laptop

kln
Nov 28th 2010, 03:15 AM
Ok I got the same problem as Castor_fou, it doesn't resume after suspend to RAM. I check the post.

NB : now I got

$ lsmod | grep rt2
rt2860sta 559618 0
crc_ccitt 1699 1 rt2860sta -- which makes sense.

claydoh
Nov 28th 2010, 03:17 AM
well, it shows which driver was loaded, wrong or not :)
sometimes one module loads others as well and you had a number of them loaded (from the output of lsmod I gave you) but exactly which one was causing it ??

I suspected the first one in the list, so thats where I had you start :), with others to try if I was wrong.


Anyway glad you are up and running. I wonder if it worth a bug report - there was one for my particular usb stick in 10.04,but i didn't quickly see one for yours in 10.10

claydoh
Nov 28th 2010, 03:28 AM
I did find some (https://launchpad.net/ubuntu/+bugs?field.searchtext=rt2860&orderby=-datecreated&search=Search&field.status%3Alist=NEW&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.assignee=&field.bug_reporter=&field.omit_dupes=on&field.has_patch=&field.has_no_package=) but with varying ages Ubuntu versions, but no 100% solutions after a quick glance :(

kln
Nov 28th 2010, 03:33 AM
in the thread you've linked (http://ubuntuforums.org/showthread.php?t=1617290&page=2), castor_fou did a BIOS update -- Zepto released one last year (mostly correcting - but not really correcting - an overheating issue) and has gone bankrupt since then >:(
I have no Fn-F2 wireless on/off command and any tricks, like switching on/off the switch and/or wicd, did not show any result.

kln
Nov 28th 2010, 03:48 AM
Ok, I checked some of the bugs, but none offer an answer for failing to resume after startup.
$sudo rfkill unblock wifi doesn't work.

I will try more another time. By now, having wireless on startup is already a huge progress! Thanks a lot.

claydoh
Nov 28th 2010, 09:04 PM
Actually one thing to try is to actually blacklist the rt2860sta driver as well, forcing the use of the 'normal' rt2860

though you may have to use

sudo modprobe rt2860 if the lsmod | grep rt2 output does not show the rt2860

just a longshot, but it actually worked for me in Lucid

kln
Nov 29th 2010, 01:01 AM
$ sudo modprobe rt2860
[sudo] password for :
FATAL: Module rt2860 not found.

So when I blacklist rt2860, nothing is left in lsmod | grep rt2 output, and no driver nor wireless is loaded.

When I installed the driver in April 2009 for the first time (built, installed and added to etc/modules), it was already the STA version, v1.8.0.0

claydoh
Nov 29th 2010, 01:12 AM
it was a long
shot :(

kln
Dec 4th 2010, 06:05 AM
The problem of wireless not resuming after suspending to RAM doesn't happen anymore. Could be the result of recent updates.

Actually, during a few days, resuming after suspending to RAM wasn't working. Only black screen and pointer, nothing else. Perhaps both problems where solved in the same time.