Wifi disconnecting and slow. [solved]

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

Wifi disconnecting and slow. [solved]

Postby JohnBobSmith on Sun Nov 10, 2013 11:45 pm

Hello everyone! My wifi seems to disconect randomly, and is slow. This is not the case in windows 8. I can web browse and use teamspeak 3 fine in windows 8. In linux, Teamspeak 3 will drop connection and lag horribly. Also, my adapter seems to shut off (drop connection) randomly. Here is the output from mintWifi.py:

Code: Select all
-------------------------
* I. scanning WIFI PCI devices...
  -- Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
      ==> PCI ID = 1814:3290
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"dlink" 
          Mode:Managed  Frequency:2.462 GHz  Access Point: 1C:7E:E5:48:D3:41   
          Bit Rate=1 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=36/70  Signal level=-74 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:118  Invalid misc:82   Missed beacon:0

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr 84:34:97:7d:c9:1b 
          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)

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:65536  Metric:1
          RX packets:93 errors:0 dropped:0 overruns:0 frame:0
          TX packets:93 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:14533 (14.5 KB)  TX bytes:14533 (14.5 KB)

wlan0     Link encap:Ethernet  HWaddr a4:17:31:08:e6:29 
          inet addr:192.168.0.101  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::a617:31ff:fe08:e629/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2144 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2406 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1658636 (1.6 MB)  TX bytes:431466 (431.4 KB)

-------------------------
* V. querying DHCP...
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service smbd reload

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the reload(8) utility, e.g. reload smbd
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
Server:      192.168.0.1
Address:   192.168.0.1#53

Non-authoritative answer:
Name:   google.com
Address: 173.194.33.68
Name:   google.com
Address: 173.194.33.69
Name:   google.com
Address: 173.194.33.70
Name:   google.com
Address: 173.194.33.71
Name:   google.com
Address: 173.194.33.72
Name:   google.com
Address: 173.194.33.73
Name:   google.com
Address: 173.194.33.78
Name:   google.com
Address: 173.194.33.64
Name:   google.com
Address: 173.194.33.65
Name:   google.com
Address: 173.194.33.66
Name:   google.com
Address: 173.194.33.67


I'm running Linux Mint 15 Oliva Gnome with cinnamon desktop, 64 bit. My laptop is running and AMD A4-4300M APU, and the wifi adapter is a Ralink RT3290.
I should note that I am on limited bandwith. < 2 MB mostly. I have not ruled out my router yet either. Everything works relatively fast in windows. Im not looking for blazing speeds, just more consistent internet. So if you guys know of any tweaking guides, let me know. I like tweaking things. I will change my router settings to wireless N only (since I noted my wifi adapter is wireless N) and see if that makes a difference.

P.S. Once I get good internet connectivity that will probably be the last hurdle before I ditch windows 8 entirely. I got my programming in python working in Linux. More use of the terminal :mrgreen: I feel like such a nerd and im proud of it. Thanks for the help everyone!
Last edited by JohnBobSmith on Mon Nov 25, 2013 7:10 pm, edited 2 times in total.
Running on ancient hardware and a mediocre laptop.
User avatar
JohnBobSmith
Level 2
Level 2
 
Posts: 64
Joined: Wed Nov 06, 2013 5:42 pm
Location: Canada

Linux Mint is funded by ads and donations.
 

Re: Wifi disconnecting and slow.

Postby macfflei on Mon Nov 11, 2013 4:59 pm

Hi, I had the same kind of problem, it bugged me for months, I noticed it didn't happen when running on power! I finally found the solution an it never happened again. This may sound strange but here goes. Simple go to your power settings or hover over the battery icon and click on preferences, untick reduce back light brightness under the battery tab, and there you go...

Let me know how you get on.
macfflei
Level 1
Level 1
 
Posts: 20
Joined: Sun Oct 09, 2011 4:07 am

Re: Wifi disconnecting and slow.

Postby JohnBobSmith on Mon Nov 11, 2013 8:14 pm

I suppose I should always mention my Linux distro and DE, and hardware. I'm running Linux Mint 15 Oliva Gnome with cinnamon desktop, 64 bit. My laptop is running and AMD A4-4300M APU, and the wifi adapter is a Ralink RT3290. Will edit original post.

@macfflei
I hovered over my battery icon, and it didnt have any preference options. I noted that when I removed my power chord and ran on battery power my wifi connection dropped from roughly 50% signal strength to 32% and then lost connection! I think this may be a power issue. It could also be the drivers, I havent installed the drivers for my wifi adapter yet. I will do some research and see if I can find something that will work. Thanks for pointing me in the (hopefully) right direction macfflei! :)
Running on ancient hardware and a mediocre laptop.
User avatar
JohnBobSmith
Level 2
Level 2
 
Posts: 64
Joined: Wed Nov 06, 2013 5:42 pm
Location: Canada

Re: Wifi disconnecting and slow.

Postby JohnBobSmith on Fri Nov 15, 2013 9:09 pm

Okay, after an unsucessfuly trying to install wireless drivers (which caused a kernel panic) I am back to square one. My wifi is still ungodly slow, and in windows 8 its okay. Does anyone have an ideas as to what could be wrong?
Running on ancient hardware and a mediocre laptop.
User avatar
JohnBobSmith
Level 2
Level 2
 
Posts: 64
Joined: Wed Nov 06, 2013 5:42 pm
Location: Canada

Re: Wifi disconnecting and slow.

Postby macfflei on Fri Nov 22, 2013 6:10 am

Hi I seem to have found a cure for mind after pulling out my hair.
http://forums.linuxmint.com/viewtopic.php?f=53&t=149781

Try this
open terminal and type "iwconfig"
power management should be off.

If it is on "sudo iwconfig wlan0 power off" will switch it off, however on restart it will be back on.

To over come type "sudo nautilus" in terminal, a file manager will appear, be careful, you can do some damage here!
Navigate to /etc/pm/config.d
simply create a text file called blacklist
in the file enter the below and save.
HOOK_BLACKLIST="wireless"

Restart.... it should work
macfflei
Level 1
Level 1
 
Posts: 20
Joined: Sun Oct 09, 2011 4:07 am

Re: Wifi disconnecting and slow.

Postby JohnBobSmith on Mon Nov 25, 2013 4:10 pm

Ah, I think that power management may be a problem. I am currently on an external USB wifi adapter, due to the fact that my ralink adapter is not working up to snuff. I dont want to be on an external wifi adapter though... it sticks out like 3 inches, and I broke one already. Here is the output from iwconfig when connected to my Belkin USB Wifi adapter:

Code: Select all
JBS@JBS-notebook ~ $ iwconfig
wlan1     IEEE 802.11bgn  ESSID:"dlink" 
          Mode:Managed  Frequency:2.462 GHz  Access Point: 1C:7E:E5:48:D3:41   
          Bit Rate=65 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=54/70  Signal level=-56 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:1  Invalid misc:56   Missed beacon:0

eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off


And when on the ralink adapter, with the external USB one unplugged:

Code: Select all
JBS@JBS-notebook ~ $ iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"dlink" 
          Mode:Managed  Frequency:2.462 GHz  Access Point: 1C:7E:E5:48:D3:41   
          Bit Rate=26 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=42/70  Signal level=-68 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:10  Invalid misc:30   Missed beacon:0


It appears that power management is off on the ralink adapter, but not on the external Belkin USB one. If anyone knows how to improve internet for ralink adapter that would be much appreciated. :)
Running on ancient hardware and a mediocre laptop.
User avatar
JohnBobSmith
Level 2
Level 2
 
Posts: 64
Joined: Wed Nov 06, 2013 5:42 pm
Location: Canada

Re: Wifi disconnecting and slow. [solved]

Postby JohnBobSmith on Mon Nov 25, 2013 7:11 pm

I found a very small USB wifi adapter, that matches my router. I know have an amazing internet connection in linux! solved.
Running on ancient hardware and a mediocre laptop.
User avatar
JohnBobSmith
Level 2
Level 2
 
Posts: 64
Joined: Wed Nov 06, 2013 5:42 pm
Location: Canada

Re: Wifi disconnecting and slow. [solved]

Postby aligorith on Mon Dec 09, 2013 2:16 am

Hi,

I'm currently running into similar issues with a Ralink RT3290 on Mint 15 x64 Cinnamon.

When I used the Live CD, the connection would frequently drop and time out, while getting slower and slower as the session wore on. After I installed Linux for real, things settled down for a month or two, with the connection relatively stable and at a decent speed. However, after returning from a 1 week vacation (all devices and access points/routers all powered off for a week), the connection on my laptop has been unstable and unusable. It frequently times out, drops, and goes through multiple connect/disconnect cycles (only manually forcing off the wifi, and then forcing it back on will usually result in the connection working again on the second connection attempt, and for about 30min only).

As the OP mentioned, I've also tried using the drivers from the manufacturer. But, those kept randomly causing kernel panics after a few minutes of usage.

This is so annoying!

The worst part is that this used to somewhat work on this machine on this network (under Linux), and definitely works on this machine under Windows 8.

(ARGH! Just while typing this message, the wifi has just dropped and reconnected once!)

Any other suggestions for how to resolve these issues welcome.

Cheers,
Aligorith
aligorith
Level 1
Level 1
 
Posts: 16
Joined: Thu Oct 03, 2013 8:07 pm

Linux Mint is funded by ads and donations.
 

Return to Wireless

Who is online

Users browsing this forum: No registered users and 9 guests