Page 1 of 1

WiFi dropping out

Posted: Wed Feb 06, 2013 2:53 pm
by jasper580
Hi folks,
So I trying to get over to linux as main OS (which is hard, but I'll do my best :D). Unfortunately, I'm having a problem what really bothers me. It's this:
When I'm pushing my WiFi USB adapter to it's limits (I guess), it drops the signal after a while. I can't even resolve a host anymore. But here is the point: if I'm downloading a file at a speed higher then 800kb/s, it drops the signal already after a while. Same story for opening multiple tabs at the same time, or listening to internet-radio and browsing. And that bothers me a lot, 'cause I'm often downloading and multitasking. And I don't have that problem in Windows.
I didn't install any drivers, it "worked" out of the box. Any ideas for fixing this issue?
Thanks in advance!

Code: Select all

sudo /usr/lib/linuxmint/mintWifi/mintWifi.py
[sudo] password for ####: 
-------------------------
* I. scanning WIFI PCI devices...
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"####"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: C0:F8:DA:A4:55:04   
          Bit Rate=26 Mb/s   Tx-Power=27 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=38/70  Signal level=-72 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:192   Missed beacon:0

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr 00:25:11:16:23:5e  
          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:16436  Metric:1
          RX packets:10064 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10064 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:922250 (922.2 KB)  TX bytes:922250 (922.2 KB)

wlan0     Link encap:Ethernet  HWaddr 00:22:3f:a5:21:29  
          inet addr:192.168.178.22  Bcast:192.168.178.255  Mask:255.255.255.0
          inet6 addr: fe80::222:3fff:fea5:2129/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1269 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1109 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1027971 (1.0 MB)  TX bytes:199173 (199.1 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:		212.54.40.25
Address:	212.54.40.25#53

Non-authoritative answer:
Name:	google.com
Address: 74.125.136.113
Name:	google.com
Address: 74.125.136.139
Name:	google.com
Address: 74.125.136.101
Name:	google.com
Address: 74.125.136.102
Name:	google.com
Address: 74.125.136.100
Name:	google.com
Address: 74.125.136.138

Re: WiFi dropping out

Posted: Wed Feb 06, 2013 3:28 pm
by AlbertP
The type of wifi chip is not visible in the mintwifi output, could you run inxi -N in terminal and post the output?

Re: WiFi dropping out

Posted: Wed Feb 06, 2013 3:50 pm
by jasper580
AlbertP wrote:The type of wifi chip is not visible in the mintwifi output, could you run inxi -N in terminal and post the output?

Code: Select all

inxi -N
Network:   Card-1: NVIDIA MCP73 Ethernet driver: forcedeth 
           Card-2: NetGear WN111(v2) RangeMax Next Wireless [Atheros AR9170+AR9101] driver: carl9170 
(It's the second one)

Re: WiFi dropping out

Posted: Wed Feb 06, 2013 4:08 pm
by AlbertP
Ok, it's an Atheros chip; we could try disabling hardware crypto on it, which solves all sorts of problems on Atheros chips (mostly slow wifi).

Please run:

Code: Select all

gksudo gedit /etc/modprobe.d/carl9170.conf
In that text editor please put:

Code: Select all

options carl9170 nohwcrypt

Re: WiFi dropping out

Posted: Wed Feb 06, 2013 4:26 pm
by jasper580
AlbertP wrote:Ok, it's an Atheros chip; we could try disabling hardware crypto on it, which solves all sorts of problems on Atheros chips (mostly slow wifi).

Please run:

Code: Select all

gksudo gedit /etc/modprobe.d/carl9170.conf
In that text editor please put:

Code: Select all

options carl9170 nohwcrypt
Ok, it works better already. I can download stuff, and when it gets stuck, it resumes after a short while, but multitasking doesn't work yet. When I tried to send this message, it got stuck-stuck again, and my browser flipped out, and I had to pull out the USB adapter (or wait a long time) again. Nevertheless, my download just continued, so that is a big improvement already. But, ehm, do you have more godfixes? :D

Re: WiFi dropping out

Posted: Thu Feb 07, 2013 5:25 am
by AlbertP
You could try installing a new wifi driver using this package: http://www.kernel.org/pub/linux/kernel/ ... 5-1.tar.xz
After extracting the XZ file, go to the folder where you extracted it, right-click > Open in Terminal, then run these commands to install it:

Code: Select all

./scripts/driver-select carl9170
make
sudo make install
If they finish without errors then you don't need to post the output. Please reboot when it's done.

Re: WiFi dropping out

Posted: Thu Feb 07, 2013 12:09 pm
by jasper580
AlbertP wrote:You could try installing a new wifi driver using this package: http://www.kernel.org/pub/linux/kernel/ ... 5-1.tar.xz
After extracting the XZ file, go to the folder where you extracted it, right-click > Open in Terminal, then run these commands to install it:

Code: Select all

./scripts/driver-select carl9170
make
sudo make install
If they finish without errors then you don't need to post the output. Please reboot when it's done.
Now it works as bad as before again... :(