WiFi dropping out

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jasper580

WiFi dropping out

Post 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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: WiFi dropping out

Post 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?
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
jasper580

Re: WiFi dropping out

Post 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)
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: WiFi dropping out

Post 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
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
jasper580

Re: WiFi dropping out

Post 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
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: WiFi dropping out

Post 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.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
jasper580

Re: WiFi dropping out

Post 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... :(
Locked

Return to “Networking”