wlan rt3070 not working

Asked by Luke Nuckley

Hi there, first time Ubuntu user -- 1 hour deep -- hope you can help...

I have installed Ubuntu Netbook Edition and have finally managed to connect to my wireless router, but I still can't get on the internet. Everytime I open Firefox, I get the 'Unable to connect - Firefox can't establish a connection to the server at start.ubuntu.com' message, and the same for any other manually entered URL.

I'm sure I've missed something really simple, so apologies in advance if this turns out to be the case, but I'm tearing my hair out here!!

Do please ask any questions back, and I'll do my best to answer them...

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Solved by:
Luke Nuckley
Solved:
Last query:
Last reply:
Revision history for this message
François Tissandier (baloo) said :
#1

Can you right click on the network icon, then "Connection Information", and tell us what you get ?

Also, important question, are you using a proxy ?
Thanks !

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#2

Hi Francois,

So far as I'm aware I'm not using a proxy.

The Connection Information is as follows;

Active Network Connections
SKY64381
Interface: 802.11 WiFi (wlan0)
Hardware Address: 00:1A:13:BC:6D:06
Driver: rt2800usb
Speed: Unknown
Security: WPA/WPA2

IP Adress: 10.42.43.1
Broadcast Address: 10.42.43.255
Subnet Mask: 255.255.255.0

Thanks,
Luke

Revision history for this message
François Tissandier (baloo) said :
#3

Thanks for your feedback.

What is surprising in the output of your wireless connection is that:
-you don't have a gateway, so Firefox doesn't know where to send your requests for webpages...
-you don't have DNS either, meaning that even if you have internet access, the computer cannot translate "www.google.com" into its IP address..

Even the IP address of your network seems weird.

Can you check this: right click the icon again, "Edit connections" (or similar), then find your wireless connection, edit it, and tell me what you have in the IPv4 and IPv6 tabs please. Thanks !

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#4

Thanks Francois.

My IPv4 Settings;
Method: Shared to other computers
[Everything else on this tab is 'greyed out']

My IPv6 Settings;
Method: Ignore
[Everything else on this tab is 'greyed out']

Revision history for this message
François Tissandier (baloo) said :
#5

Heheheh easy easy !

This IPv4 setting is wrong, unless you want to share the internet connection your laptop would have from another interface with other laptops. It's useful for instance in this case:

you have a wired connection to internet, with a single cable, but several laptops to connect to internet... You plug your Ubuntu computer with this wire, then you can create a wireless network on Network Manager, and choose this "shared to other computers" option. Your Ubuntu laptop becomes then a wireless access point, and other computers can connect on it and have internet.

I don't think it's your case, so please choose the first choice HDCP
Reconnect to your wireless routeur, and check if you have internet. If not, right click, connection info plz .

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#6

Hi Francois,

Thanks for this.

I have done as you suggested - this didn't appear to resolve the issue, so I restarted my netbook.

I now appear to be unable to connect to my WiFi at all!!

Previously, my netbook would connect automatically when I enabled my wireless - it hasn't done that this time and ther are no wireless connections listed when I click on the network icon.

Hope I haven't done anything wrong, I just did as suggested above!

Thanks,
Luke

Revision history for this message
François Tissandier (baloo) said :
#7

Mmmm

If you right click on the network icon, do you have the "enable wireless lan" option checked?

And just to make sure: you have a wireless routeur which provides access to internet, right ?

If that's correct, maybe you should simply delete this wireless connection in network manager (right click, edit connections, then delete it there), reboot, and let it find your wireless network again?

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#8

Hi Francois,

Thanks.

The Enable wireless option was checked and I definitely have access to the internet via my router as I'm using it on a Windows laptop to speak with you.

I have deletede the connection and rebooted, as you have suggested - should Ubuntu now find my wireless router automatically? It didn't originally so I had to try to configure it manually (which is probably why I made the mistake with the IPv4 setting) and it doesn't appear to be finding it automatically this time either...?

Thanks,
Luke

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

Can you ping 8.8.8.8 ?

Revision history for this message
François Tissandier (baloo) said :
#10

Oh ok, that's interesting, in fact it cannot see your network, so there must be a problem with your wireless card.. It should see your wireless network, you don't have to create it. Unless your network was invisible, but I imagine it's not.

Can you check in the hardware drivers utility (in system>administration) if you have a driver installed for this wireless card ?

Also, could you tell us the name of your wireless card plz ?

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#11

Thanks for your replies.

Francois - I have opened the Hardware Drivers and it says that "No proprietary drivers are in use on this system". I did also get an error before I got to that, which stated, "Downlaoding package indexes failed, please check your network status Most drivers will not be available" but I assume that was to be expected given that I can't get online!!

Am I able to check the name of the wireless card from within Ubuntu? If so, how? It is a brand new netbook, purchased this afternoon but I can't find anything in the documentation that names the wireless card...

actionparsnip - could you give me heads up as to how to "ping" please? I've pinged IP addresses in Windows before but under direction and I don't want to guess how to do it on my brand new netbook and potentially screw things up!!

Thanks both,
Luke

Revision history for this message
François Tissandier (baloo) said :
#12

Ok, if it's a netbook, just give us the brand & model

To ping, open "terminal" in the accessories, and type your command there.

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#13

OK, it's a Novatech X10-TP according to the box.

I've typed ping 8.8.8.8 into the Terminal, pressed Enter, and received "connect: Network is unreachable"

Revision history for this message
François Tissandier (baloo) said :
#14

Mmm apparently the wireless driver is the problem here, Novatech must be using a wireless card without an official driver from the manufacturer. However, I'm not so sure how to find the brand & model of your wireless card. actionparsnip, maybe you know this part better than me ? Novatech has a technical support also, they could probably tell you which wireless card is included.

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#15

Does it help if I mention that I've just found the below on the spec published on the Novatech website...?

Wireless 802.11 b/g/n
Chipset Intel PineTrail

I have also had a look on the Novatech support forums and another user had a similar issue with a different model and was able to resolve by downloading all Ubuntu software updates via a wired (Ethernet) connection. I am trying this now too, will find out in twelve minutes whether this has been a success...!

Revision history for this message
François Tissandier (baloo) said :
#16

The info on the Novatech website doesn't help much, it's not detailed enough.
Maybe the updates will indeed solve your problem, keep us updated plz.

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#17

Will do, thanks.

While I'm waiting for the Package Files to download, are you able to explain how there is 307 files to update when I only downloaded the OS itself on Tuesday? Also, I understand that 10.10 is due out on the weekend - will the Update Manager pick this up and install it or do I need to do something different?

(Am very happy to move my questions above elsewhere if I need to as I appreciate that they're not part of the original query!)

Thanks,
Luke

Revision history for this message
François Tissandier (baloo) said :
#18

You are using a release candidate, so there are a LOT of updates to fix the most annoying bugs before Sunday.

If you installed the RC, and keep doing all the updates, on Sunday you will be running Maverick, no need to download the CD or anything. So just keep updating, and you will be fine.

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#19

I don't *think* I'm running a RC, I downloaded 10.04...? Or is that what you're saying - that for netbooks 10.04 is RC, to be replaced by 10.10...?

Anyway, all the files downloaded - am just waiting for them to install. Again, will let you know how I get on...

Revision history for this message
François Tissandier (baloo) said :
#20

If you download 10.04, you are not running Maverick but Lucid. You have so many updates to download because the CDs are not updated, so you are running the same system as in April. That's why you have so many updates.

To upgrade to Maverick, you will have a new option on Sunday. But it could be slow, you'd better wait a day or two I think.

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#21

Ok, thanks for the heads up.

I've now finished downloading and installing all the package files and have restarted but, having clicked on the Network icon, I still can't see my router...

Revision history for this message
François Tissandier (baloo) said :
#22

If you are not in a rush, you can wait until Maverick release to see if the driver will be included in this new version.

Revision history for this message
Daniel Dräs (g-kar) said :
#23

Hi Luke,

can you do a lspci in the terminal window and post the output? That could help to figgure out which type of wlan device is in your netbook.

Cheers,
Daniel

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#24

Hi Daniel,

Thanks for getting involved.

Please see output below;

00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)

Hope this helps...? Am now online on the netbook but only with a very short Ethernet cable - which rather defeats the point of the whole thing!!

Cheers,
Luke

Revision history for this message
Daniel Dräs (g-kar) said :
#25

Hi Luke,

hmm, there is no wlan device listed. So seems not to be an pci card as expected. Please do a lsusb instead. Also the mentioned driver above suggests it is a usb device.

But may be we are digging to deep already as it looks that the driver is loaded properly. You get the wlan icons and functions.

Let's ask a stupid question :) How do connect from your windows laptop to the router? Wireless? If so how are the settings there??

In case your wireless is a hidden network you will need to click the wireless icon and select 'connect to a hidden network'. Don't click 'create new network'. May be that was the initial problem?

Cheers,
Daniel

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#26

Hi Daniel,

The utput of lsusb is;

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 148f:3070 Ralink Technology, Corp.
Bus 001 Device 002: ID 0ac8:3343 Z-Star Microelectronics Corp. Sirius USB 2.0 Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

There's nothing unusual about how we connect to the internet on our other three laptops and one desktop, and I've never gotten around to making the network hidden. It just seems really strange that (manually) I can wirelessly connect to the router itself but not to the internet.

Thanks,
Luke

Revision history for this message
François Tissandier (baloo) said :
#27

Luke, when you manually created this network, you manually created a wireless network on your laptop, you didn't create a manual connection to your wireless routeur, do you see the difference? You had then 2 wireless networks with the same name, one on your routeur, one on your laptop. So ubuntu was saying that it was connected to this network, as it was hosting it ! :)

Another question: do you see more than one wireless network on your Windows computers? I mean, networks of your neighbours for instance ? If that's the case, do you see them on Ubuntu ?

If you see several networks on Windows, and none on ubuntu, I think it's a driver problem.

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#28

Hi Francois,

I tend to see several networks in Windows but I don't see any at all in Ubuntu.

Assuming that it is a driver problem...

I figured out from the lsusb output that my wireless card is a Ralink 3070 and went to the Ralink website (using my wired connection!) and downloaded 'Firmware RT28XX/RT30XX USB series (RT2870/RT2770/RT3572/RT3070)' from http://www.ralinktech.com/support.php?s=2

How do I now go about installing this to see if it resolves the issue...?

Thanks,
Luke

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#29

I can see that I need gto extract the .zip, but where to...?

Revision history for this message
François Tissandier (baloo) said :
#30

Ok Luke, that seems indeed like a driver problem if you don't see any wireless networks at all.
It's also good to know which wireless chipset you are using

However, Ralink is providing the source code for their drivers I think, or "unpackaged" drivers.

There seems to be an easier solution, could you try this plz ?
http://ubuntuforums.org/showthread.php?t=1547195&highlight=3070

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#31

Hmm, still no joy I'm afraid.

Here's what my terminal looked like before I restarted but I still can't see any networks

luke@luke-netbook:~$ sudo su
[sudo] password for luke:
root@luke-netbook:/home/luke# echo "rt2870sta" >> /etc/modules
root@luke-netbook:/home/luke# modprobe rt2870sta
root@luke-netbook:/home/luke# exit
exit

Revision history for this message
Daniel Dräs (g-kar) said :
#32

Hi Luke,

somehow I am still now convinced it is a driver issue as the system has loaded the rt2800usb. Adding an additional kernel module for rt2870 will probably not help.

Can you try a ifconfig in the terminal? This should list the active network devices. Afterwards try to scan for wlan routers with 'iwlist wlan0 scanning' (replace wlan0 with whatever your wlan device is).

Let's see if we get any closer to the root cause.

Cheers,
Daniel

Revision history for this message
Daniel Dräs (g-kar) said :
#33

Just found another page listing the same wlan-device and describing that the originating lucid driver may only be able to connect to draft-n (54mbit). A manual compilation should help.

Sorry, the page is only german :) Let me know if you need help translating:
http://www.loggn.de/ubuntu-draft-n-ralink-technology-148f3070-rt3070/

Revision history for this message
Daniel Dräs (g-kar) said :
#34

Another interessting tip, blacklisting rt2800usb could solve the propblem:
http://ubuntuforums.org/showthread.php?t=1378782

Short summary:
For the benefit of the searchers, here is the issue. This device has the vendor and product code, or pciid of 148f:3070, as shown in the original post. Both the module rt2800usb:
Quote:
modinfo rt2800usb | grep 3070
--- snip ---
alias: usb:v148Fp3070d*dc*dsc*dp*ic*isc*ip*
As well as the module rt2870sta:
Quote:
modinfo rt2870sta | grep 3070
--- snip ---
alias: usb:v148Fp3070d*dc*dsc*dp*ic*isc*ip*
Both claim the device! One has to be blacklisted for the device to work correctly. I have read suggestions elsewhere that rt2870sta is the module that should be blacklisted. I believe you should first try blacklisting rt2800usb and, if you are not successful, try the other.

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#35

Thanks Daniel - the output of your first suggestion is below. I will have a look at your second suggestion but I've not read the German language for over ten years now so may need some help!!

luke@luke-netbook:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1a:13:bd:f7:04
          inet addr:192.168.0.8 Bcast:192.168.0.255 Mask:255.255.255.0
          inet6 addr: fe80::21a:13ff:febd:f704/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:468193 errors:0 dropped:0 overruns:0 frame:0
          TX packets:317241 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:634662750 (634.6 MB) TX bytes:28176102 (28.1 MB)
          Interrupt:28 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:88725 errors:0 dropped:0 overruns:0 frame:0
          TX packets:88725 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:24824188 (24.8 MB) TX bytes:24824188 (24.8 MB)

wlan0 Link encap:Ethernet HWaddr 00:1a:13:bc:6d:06
          inet6 addr: fe80::21a:13ff:febc:6d06/64 Scope:Link
          UP 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)

luke@luke-netbook:~$ iwlist wlan0 scanning
wlan0 No scan results

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#36

Right, I was ok with the German I think, but the coding looks very complicated - too complicated for me!!

I've tried blacklisting both the rt2870sta and rt2800usb modules but neither has worked. Could you please confirm that I'm doing it right. What I have done in Terminal is;

sudo gedit /etc/modprobe.d/blacklist.conf

This opened a text file and at the bottom of the file I typed;

blacklist rt2800usb

I then saved the file, closed it and restarted my netbook.

As this didn't work, I then repeated the above replacing 'blacklist rt2800usb' with 'blacklist rt2870sta' but still, after a restart, no wireless connections are shown in the network list.

Revision history for this message
François Tissandier (baloo) said :
#37

What if... Monday it's solved ?

Maybe worth downloading the RC of Maverick and try it from a USB stick ?

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#38

Hi Francois,

I wasn't going to try this - I thought, if anything I would wait until after the weekend. Then I thought, I'm just sat watching TV anyway so I have just downloaded the Maverick RC and run it from USB. I like the look and feel of the new OS, but I still have no wireless networks... : (

Really appreciate all the time that you've spent/are spending helping me out with this!!

Cheers,
Luke

Revision history for this message
Daniel Dräs (g-kar) said :
#39

hmm, strange.

When the interface is listed I would assume it should work. Also the output of ifconfig looks good.

Try some more iwlist options like iwlist wlan0 channel.

You could also check /proc/net/wireless. Without a real connection there is probably not to much info, but let's see.

You can check the blacklisting of modules with lsmod. This will list the modules currently loaded and should state either rt2800usb or rt2870sta.

Revision history for this message
Daniel Dräs (g-kar) said :
#40

I changed description and module as this is neither firefox nor nettool related.

Revision history for this message
Daniel Dräs (g-kar) said :
#41

Did you see this bug discussion?
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/524867

What type of security do you use on your network?

Revision history for this message
Tormod Volden (tormodvolden) said :
#42

FYI, this has nothing to do with linux-wlan-ng (which should not be installed in any case).

Revision history for this message
Luke Nuckley (luke-nuckley) said :
#43

Guys,

Thank you all for all your help - it has been hugely appreciated - and sorry I've not been in touch over the last couple of days, busy weekend!!

It looks like, fingers crossed, that this is now fixed - hurrah!!

I found this bug linked through from the link that Daniel provided to bug 524867 - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/589342 - as a result, I tried blacklisting rt2800pci and after a restart, I could suddenly see my wireless network and a bunch of others nearby and as I type I am connected to my router wirelessly! : )

Thanks again for all your help - I don't know what I would have done otherwise!!

Luke