Wireless connected - No internet

Questions about WIFI networks and devices
Forum rules
Before you post please read this

Wireless connected - No internet

Postby piecer on Sat Jan 28, 2012 1:12 pm

Hey all, I've basically moved onto Mint this week, after a pretty lengthy stay on Ubuntu. I've got a wireless card that's spelled a lot of problems on Ubuntu, but when it works, it works perfectly. However, in Mint, it doesn't seem to work at all!

In Ubuntu I have to compile and install the driver myself, maybe it's this part I went wrong on, is it any different in Mint?

Basically, it pops up in the Wireless button at the top, showing it's connected. But, when I use my web browser, or any other internet-based program, it gets no-where. No internet connection at all.

I posted the mintwifi.py code from the sticky here - If anything else is required please ask. Thanks!

eddie@eddie-M61PME-S2 ~ $ sudo /usr/lib/linuxmint/mintWifi/mintWifi.py
[sudo] password for eddie:
-------------------------
* I. scanning WIFI PCI devices...
-- Ralink corp. RT3060 Wireless 802.11n 1T/1R
==> PCI ID = 1814:3060
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
lo no wireless extensions.

eth0 no wireless extensions.

ra0 Ralink STA ESSID:"" Nickname:"RT3562STA"
Mode:Auto Frequency=2.467 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=100/100 Signal level:-45 dBm Noise level:-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

-------------------------
* IV. querying ifconfig...
eth0 Link encap:Ethernet HWaddr 00:24:1d:10:e7:e4
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)
Interrupt:41 Base address:0xc000

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:134 errors:0 dropped:0 overruns:0 frame:0
TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10125 (10.1 KB) TX bytes:10125 (10.1 KB)

ra0 Link encap:Ethernet HWaddr c8:3a:35:c7:42:a0
inet6 addr: fe80::ca3a:35ff:fec7:42a0/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:937 errors:0 dropped:0 overruns:0 frame:0
TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:179211 (179.2 KB) TX bytes:57718 (57.7 KB)
Interrupt:17

-------------------------
* V. querying DHCP...
-------------------------
* VI. querying nslookup google.com...
;; connection timed out; no servers could be reached
piecer
Level 1
Level 1
 
Posts: 14
Joined: Fri Jan 27, 2012 5:40 pm

Linux Mint is funded by ads and donations.
 

Re: Wireless connected - No internet

Postby doktornotor on Sat Jan 28, 2012 1:22 pm

Well, when you only have local IPv6 address no wonder it does not work... If it is supposed to get an IP via DHCP then it simply does not.
doktornotor
Level 4
Level 4
 
Posts: 211
Joined: Mon Jan 23, 2012 6:28 pm

Re: Wireless connected - No internet

Postby mads on Sat Jan 28, 2012 2:28 pm

Hi! You could try this. :)

1) Download the driver, RT3062PCI/mPCI/CB/PCIe(RT3060/RT3062/RT3562/RT3592), from here
2) Right-click the archive file, DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.tgz, and select "Extract Here"
3) It will be extracted into a folder called "DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217". Right-click this folder and select "Open in Terminal"

4) Now in Terminal, type in the following command
Code: Select all
gedit os/linux/config.mk

Edit line 12 and 15, and replace 'n' by 'y', like below. Save the file
HAS_WPA_SUPPLICANT=y
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

5) Back in Terminal again, type in the following commands
Code: Select all
sudo su
make
make install
echo "blacklist rt2800pci" | tee -a /etc/modprobe.d/blacklist.conf
echo rt3562sta | tee -a /etc/modules
exit
exit

6) Reboot
User avatar
mads
Level 6
Level 6
 
Posts: 1302
Joined: Wed Nov 03, 2010 3:44 pm

Re: Wireless connected - No internet

Postby doktornotor on Sat Jan 28, 2012 2:40 pm

The driver already is in kernel (rt2800pci since 2.6.33). Since his card is detected, there is obviously no issue with that. The only other thing you need is the firmware file (rt2860.bin) which is in firmware-ralink package in debian (unstable), no idea what is the package called in Ubuntu. Regardless, you can just download the DEB and extract the required file to /lib/firmware/rt2860.bin - if you already have the file there, you do not need it.

You need to find out whether the card gets associated with the AP and why it does not get an IP from DHCP. Messing with out-of-kernel drivers is not needed here at all.
doktornotor
Level 4
Level 4
 
Posts: 211
Joined: Mon Jan 23, 2012 6:28 pm

Re: Wireless connected - No internet

Postby piecer on Sat Jan 28, 2012 2:43 pm

mads - That's what I did in the first place to get the card to actually show up in the wireless menu, and how I get it to work in Ubuntu.

Before I did that, the card didn't even show up in the wireless menu at all.

There's an issue with downloading packages - I have no internet! I'm on my Ubuntu install right now.

Plus the part you said about the rt2800pci driver working - It doesn't, and has never worked in Ubuntu either, I've already compiled and installed the rt3560sta driver that comes with my card on a disk, which is how I've always done it in Ubuntu, and it always results in a working wireless.

"You need to find out whether the card gets associated with the AP and why it does not get an IP from DHCP. Messing with out-of-kernel drivers is not needed here at all."

I'm not sure what you mean by that, or how to find any of that information out :(
piecer
Level 1
Level 1
 
Posts: 14
Joined: Fri Jan 27, 2012 5:40 pm

Re: Wireless connected - No internet

Postby doktornotor on Sat Jan 28, 2012 2:50 pm

piecer wrote:I'm not sure what you mean by that, or how to find any of that information out :(


Code: Select all
sudo iwconfig ra0


If you do not see ESSID there, it is not associated with any AP. Post the output here. Also, you have the firmware in the proper place, as posted above?
doktornotor
Level 4
Level 4
 
Posts: 211
Joined: Mon Jan 23, 2012 6:28 pm

Re: Wireless connected - No internet

Postby mads on Sat Jan 28, 2012 2:57 pm

piecer wrote:mads - ...There's an issue with downloading packages - I have no internet! I'm on my Ubuntu install right now.

Plus the part you said about the rt2800pci driver working - It doesn't, and has never worked in Ubuntu either, I've already compiled and installed the rt3560sta driver that comes with my card on a disk, which is how I've always done it in Ubuntu, and it always results in a working wireless.

Did I say that? I said blacklist rt2800pci, and that is exactly the opposite of what you think. It means don't let this module/driver gets loaded at boot time. :)
The part about Internet. I don't understand how you can read and write here, but not download the driver.
User avatar
mads
Level 6
Level 6
 
Posts: 1302
Joined: Wed Nov 03, 2010 3:44 pm

Re: Wireless connected - No internet

Postby piecer on Sat Jan 28, 2012 3:03 pm

I'm posting from my ubuntu install, thankfully I left it on another partition when I'm on my mint install I use tapatalk. I've blacklisted rt2800pci already.

And no mads, someone else said rt2800pci is the one already in the kernel suggesting it should work (which it doesn't)

Edit - plusI already have the driver on a disk, which I have already made and installed, as I am well used to having to do it in ubuntu.

2nd edit- iwonfig shows my essid, and it's the correct one - Tp-link_3e094f.

Sent from my YP-G70 using Tapatalk
piecer
Level 1
Level 1
 
Posts: 14
Joined: Fri Jan 27, 2012 5:40 pm

Re: Wireless connected - No internet

Postby doktornotor on Sat Jan 28, 2012 3:13 pm

piecer wrote:2nd edit- iwonfig shows my essid, and it's the correct one - Tp-link_3e094f.


On Mint? Well, then the only problem you have is that there is no IP assigned. Does it work when you configure one manually?
doktornotor
Level 4
Level 4
 
Posts: 211
Joined: Mon Jan 23, 2012 6:28 pm

Re: Wireless connected - No internet

Postby piecer on Sat Jan 28, 2012 3:17 pm

Yes on mint, I have to say I haven't tried configuring manually, I will edit this post with the results.

nothing extra from manual config - I got a couple of seconds where I managed to connect to an IRC server but it went off again in seconds. It doesn't seem to let me lock it to a MAC address either, when I do that the save button is greyed. Is there any way to completely remove my saved wireless network config and start over?

Ok I tried removing and re adding it manually, still no internet.

Sent from my YP-G70 using Tapatalk
piecer
Level 1
Level 1
 
Posts: 14
Joined: Fri Jan 27, 2012 5:40 pm

Re: Wireless connected - No internet

Postby doktornotor on Sat Jan 28, 2012 3:34 pm

piecer wrote:I got a couple of seconds where I managed to connect to an IRC server but it went off again in seconds. It doesn't seem to let me lock it to a MAC address either, when I do that the save button is greyed. Is there any way to completely remove my saved wireless network config and start over?


I still do not know how are you configuring this thing in the first place. Not really sure what you mean by "lock it to a MAC address" either. The perpetual editing of posts is rather confusing. What do you mean by no Internet? Can you ping your router? Can you ping 8.8.8.8 e.g.?

Also, I asked you to configure IP address manually. Please explain exactly in detail where and how are you configuring the networking.
doktornotor
Level 4
Level 4
 
Posts: 211
Joined: Mon Jan 23, 2012 6:28 pm

Re: Wireless connected - No internet

Postby piecer on Sat Jan 28, 2012 3:42 pm

Sorry for constant editing, easier than Posting multiples I guess. I click the wireless icon in mint, press network settings, go to wireless, choose network name from the dropdown, press configure, nothing is wrong there. The device Mac address box is the bit I couldn't get right but that's ok now. I tried to ping google.com and got nothing. How do I ping my router?

Sent from my YP-G70 using Tapatalk
piecer
Level 1
Level 1
 
Posts: 14
Joined: Fri Jan 27, 2012 5:40 pm

Re: Wireless connected - No internet

Postby doktornotor on Sat Jan 28, 2012 3:51 pm

Press configure? What do you mean by that? Are you using network manager? There is no need to set the MAC address nor BSSID there. Just set SSID and choose infrastructure. Then go to IPv4 settings tab and manually add the IP, netmask, GW and DNS.

If you have working network on Ubuntu, you can get those by

Code: Select all
ip a s ra0 | grep inet (to find out IP, netmask)
ip r s | grep default (to find out the default gateway)
grep nameserver /etc/resolv.conf (to find out the DNS)


or even easier by right-clicking the network icon and displaying the connection info in Ubuntu.

Note those and configure manually in Mint.

You ping your router by ping <ip of the router> obviously.
Last edited by doktornotor on Sat Jan 28, 2012 3:57 pm, edited 1 time in total.
doktornotor
Level 4
Level 4
 
Posts: 211
Joined: Mon Jan 23, 2012 6:28 pm

Re: Wireless connected - No internet

Postby piecer on Sat Jan 28, 2012 3:55 pm

Doing ping 8.8.8.8 in terminal first returned '56 bytes of data' followed by a whole host of 'from 192.168.1.3 icmp_seq_22 destination host unreachable' with the number 22 going up with each line, up until it connected (it appears to be online right now, irc connected but then pinged out)

It's gone back off now, and this time the wireless itself disconnected.

Yes I'm using network manager.

Sent from my YP-G70 using Tapatalk
piecer
Level 1
Level 1
 
Posts: 14
Joined: Fri Jan 27, 2012 5:40 pm

Re: Wireless connected - No internet

Postby doktornotor on Sat Jan 28, 2012 3:59 pm

Well, looks like the WLAN card is [problematic]. You can try with the other driver suggested above if manual configuration does not help. Failing that, there is ndiswrapper + XP driver. After that, [consider buying another card]
doktornotor
Level 4
Level 4
 
Posts: 211
Joined: Mon Jan 23, 2012 6:28 pm

Re: Wireless connected - No internet

Postby piecer on Sat Jan 28, 2012 4:03 pm

As I've already said, I am currently using the driver suggested, it being the one I've always used in ubuntu. The card works great in ubuntu thanks for your constructive post.

Edit: I went into ubuntu network manager and there isn't anything in the ipv4 tab, and that works fine, I will try your suggestion and ignore your last post for now.

Sent from my YP-G70 using Tapatalk
piecer
Level 1
Level 1
 
Posts: 14
Joined: Fri Jan 27, 2012 5:40 pm

Re: Wireless connected - No internet

Postby doktornotor on Sat Jan 28, 2012 4:12 pm

Erm... you copied over the driver from Ubuntu? Like, the rt3562sta.ko file? I hope not.
doktornotor
Level 4
Level 4
 
Posts: 211
Joined: Mon Jan 23, 2012 6:28 pm

Re: Wireless connected - No internet

Postby piecer on Sat Jan 28, 2012 4:14 pm

I compiled under mint,I have it on a disk.

Sent from my YP-G70 using Tapatalk
piecer
Level 1
Level 1
 
Posts: 14
Joined: Fri Jan 27, 2012 5:40 pm

Re: Wireless connected - No internet

Postby doktornotor on Sat Jan 28, 2012 4:20 pm

Not sure what disk we are talking about, anyway... All I can suggest is testing your Ubuntu kernel and initramfs in Mint and see if it helps. (If you are sharing /boot for both, you just need to copy the /lib/modules/$(uname -r) directory to Mint. Otherwise, copy the kernel and initramfs from /boot as well. Run sudo update-grub after that and reboot, choosing your Ubuntu kernel.
doktornotor
Level 4
Level 4
 
Posts: 211
Joined: Mon Jan 23, 2012 6:28 pm

Re: Wireless connected - No internet

Postby piecer on Sat Jan 28, 2012 4:22 pm

I'm taking about a CD that came with my card that has the drivers posted on page 1.

My ubuntu is on another kernel to mint, does that matter?

Sent from my YP-G70 using Tapatalk
piecer
Level 1
Level 1
 
Posts: 14
Joined: Fri Jan 27, 2012 5:40 pm

Linux Mint is funded by ads and donations.
 
Next

Return to Wireless

Who is online

Users browsing this forum: rimbaum and 7 guests