Wi-Fi randomly cuts out. Works fine under Windows 7.

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
kentchristopher
Level 1
Level 1
Posts: 19
Joined: Thu Aug 16, 2012 3:44 pm

Wi-Fi randomly cuts out. Works fine under Windows 7.

Post by kentchristopher » Sun Oct 18, 2015 3:25 pm

I've been having this problem daily and can find no rhyme or reason to it.

Lenovo Thinkpad X230 with Intel 2200 BGN wireless running Linux Mint 17 KDE. Router is an Asus RT-N66U running MerlinWRT.

Things will be running fine and then suddenly, Chrome will get stuck on "Resolving host" trying to load a page, resulting in a "DNS Probe Finished - No Internet" error. I don't believe it's a DNS problem as when the problem strikes, I can't even access the router at 192.168.1.1.

I don't think it's wireless interference. This is a house in the suburbs with fair distance to neighbors. When the problem hits, another laptop in the same location connects just fine. There are no microwaves or cordless phones in use when the problem strikes. In attempt to troubleshoot, I changed the Wi-Fi channel away from that of the nearest neighbor's Wi-Fi network.

I do not encounter the problem running under Windows, and that plus the info above suggests this problem really is specific to Linux Mint and this hardware. I'm not sure what steps to take at this point to troubleshoot.

Please help if you have any suggestions. I really don't want to have to go back to using Windows.

User avatar
Pjotr
Level 21
Level 21
Posts: 13158
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Wi-Fi randomly cuts out. Works fine under Windows 7.

Post by Pjotr » Sun Oct 18, 2015 3:26 pm

Please generate an overview of your system like this:
- Launch a terminal window (this is how to launch a terminal window);
- make the terminal window fullscreen, in order to avoid chopped lines;
- copy/paste this command into the terminal:

Code: Select all

inxi -Fxz
if you type: the letter F is a capital letter

Press Enter.

Copy/paste the output in your next message.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

kentchristopher
Level 1
Level 1
Posts: 19
Joined: Thu Aug 16, 2012 3:44 pm

Re: Wi-Fi randomly cuts out. Works fine under Windows 7.

Post by kentchristopher » Sun Oct 18, 2015 4:14 pm

Thank you for the reply, Pjotr. Here's the output:
System: Host: X230K Kernel: 3.13.0-24-generic x86_64 (64 bit, gcc: 4.8.2)
Desktop: KDE 4.13.3 (Qt 4.8.6) Distro: Linux Mint 17 Qiana
Machine: System: LENOVO product: 2306CTO version: ThinkPad X230
Mobo: LENOVO model: 2306CTO Bios: LENOVO version: G2ETA4WW (2.64 ) date: 04/09/2015
CPU: Dual core Intel Core i5-3210M CPU (-HT-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9976.56
Clock Speeds: 1: 1200.00 MHz 2: 1200.00 MHz 3: 1200.00 MHz 4: 1200.00 MHz
Graphics: Card: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
X.Org: 1.15.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1366x768@60.0hz
GLX Renderer: Mesa DRI Intel Ivybridge Mobile GLX Version: 3.0 Mesa 10.1.0 Direct Rendering: Yes
Audio: Card: Intel 7 Series/C210 Series Chipset Family High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture ver: k3.13.0-24-generic
Network: Card-1: Intel 82579LM Gigabit Network Connection driver: e1000e ver: 2.3.2-k port: 5080 bus-ID: 00:19.0
IF: eth0 state: down mac: <filter>
Card-2: Intel Centrino Wireless-N 2200 driver: iwlwifi ver: in-tree: bus-ID: 03:00.0
IF: wlan0 state: up mac: <filter>
Drives: HDD Total Size: 1128.2GB (74.6% used) 1: id: /dev/sda model: WDC_WD10SPCX size: 1000.2GB
2: id: /dev/sdb model: M4 size: 128.0GB
Partition: ID: / size: 16G used: 11G (73%) fs: ext4 ID: swap-1 size: 4.49GB used: 0.00GB (0%) fs: swap
RAID: No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors: System Temperatures: cpu: 54.0C mobo: N/A
Fan Speeds (in rpm): cpu: 3372
Info: Processes: 286 Uptime: 2 days Memory: 9970.2/15748.9MB Runlevel: 2 Gcc sys: 4.8.4 Client: Shell inxi: 1.8.4

User avatar
Pjotr
Level 21
Level 21
Posts: 13158
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Wi-Fi randomly cuts out. Works fine under Windows 7.

Post by Pjotr » Sun Oct 18, 2015 4:24 pm

You have very new hardware, so you probably need a much newer kernel with newer drivers.

a. Install the latest kernel from the 3.19 series:
https://sites.google.com/site/easylinux ... el-updates
(item 3, right column)

Then reboot.

b. When still no improvement: check for a newer BIOS / UEFI and when available, install it.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

kentchristopher
Level 1
Level 1
Posts: 19
Joined: Thu Aug 16, 2012 3:44 pm

Re: Wi-Fi randomly cuts out. Works fine under Windows 7.

Post by kentchristopher » Sun Oct 18, 2015 5:14 pm

Thank you again, Pjotr. I've decided to try a more conservative approach and first update to the latest kernel in the 3.13 series, as is advised on the page you linked to. If the problem persists I'll go with your advice of jumping to 3.19. If you know a specific reason I would be better off jumping to 3.19, please let me know.

I already have the latest BIOS so let's hope one of these kernels does the trick.

User avatar
Pjotr
Level 21
Level 21
Posts: 13158
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Wi-Fi randomly cuts out. Works fine under Windows 7.

Post by Pjotr » Sun Oct 18, 2015 5:16 pm

kentchristopher wrote:Thank you again, Pjotr. I've decided to try a more conservative approach and first update to the latest kernel in the 3.13 series, as is advised on the page you linked to. If the problem persists I'll go with your advice of jumping to 3.19. If you know a specific reason I would be better off jumping to 3.19, please let me know.

I already have the latest BIOS so let's hope one of these kernels does the trick.
In this particular case I'd go straight for the latest 3.19 kernel. Reason: the newness of your hardware....
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

kentchristopher
Level 1
Level 1
Posts: 19
Joined: Thu Aug 16, 2012 3:44 pm

Re: Wi-Fi randomly cuts out. Works fine under Windows 7.

Post by kentchristopher » Mon Oct 19, 2015 8:12 pm

Ok, the problem occurred under the latest 3.13 kernel so today I upgraded to 3.19.0-30-generic. Unfortunately the problem just struck again. It may have been less severe than previously in that a couple pages partially loaded, hung for a couple minutes, then continued to load. I checked another laptop, and it loaded pages fine, so it seems there's still something wrong.

Anything else I can try? Regressing to intermediate kernels in hopes of finding a good one?

User avatar
Pjotr
Level 21
Level 21
Posts: 13158
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Wi-Fi randomly cuts out. Works fine under Windows 7.

Post by Pjotr » Tue Oct 20, 2015 4:49 am

I would take the jump to an even newer, unsupported kernel from the canonical-kernel-team PPA:
https://sites.google.com/site/easylinux ... ted-kernel
(item 9 b, right column)

I'm testing that kernel (the 4.2) on my own laptop, which is a test box anyway, and I haven't had any problems with it yet. Been using it for weeks.

After installing it, reboot.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

kentchristopher
Level 1
Level 1
Posts: 19
Joined: Thu Aug 16, 2012 3:44 pm

Re: Wi-Fi randomly cuts out. Works fine under Windows 7.

Post by kentchristopher » Mon Nov 02, 2015 7:22 pm

Pjotr wrote:I would take the jump to an even newer, unsupported kernel from the canonical-kernel-team PPA:
https://sites.google.com/site/easylinux ... ted-kernel
(item 9 b, right column)

I'm testing that kernel (the 4.2) on my own laptop, which is a test box anyway, and I haven't had any problems with it yet. Been using it for weeks.

After installing it, reboot.
I made the jump to kernel 4.2.0-16 about 10 days ago and thought it solved the Wi-Fi problem. But just now, the same problem struck again. Just like before, I had no connection problem with another device (this time an Android phone). So frustrating.

Is there anything else I can try, or anywhere else I can look for help on this issue? This really seems mind-boggling that I'd be having this problem with a Thinkpad, known for working well with Linux. I can accept that Linux in general may have occasional quirks, but something as fundamental as this should not be happening, IMO.

Thanks, Pjotr, for all your help thus far. I really do appreciate it.

JeremyB
Level 20
Level 20
Posts: 10857
Joined: Fri Feb 21, 2014 8:17 am

Re: Wi-Fi randomly cuts out. Works fine under Windows 7.

Post by JeremyB » Mon Nov 02, 2015 7:25 pm

Post the result of

Code: Select all

iwconfig; iwlist scan
And also post the name of your wif

kentchristopher
Level 1
Level 1
Posts: 19
Joined: Thu Aug 16, 2012 3:44 pm

Re: Wi-Fi randomly cuts out. Works fine under Windows 7.

Post by kentchristopher » Tue Nov 03, 2015 12:25 am

JeremyB wrote:Post the result of

Code: Select all

iwconfig; iwlist scan
And also post the name of your wif
I've blocked out parts of certain lines for safety. If it matters, after the problem occurred again earlier today I changed the Wi-Fi channel from 11 to 6, even though 11 showed being the most free of interference from other routers. I'm testing the assumption that I may be experiencing some other kind of radio interference from a neighbor, though that doesn't really explain why it affects this laptop but not any other device.

Code: Select all

wlan0     IEEE 802.11bgn  ESSID:"Orange"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: **:**:**:29:B8:98   
          Bit Rate=121.5 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=66/70  Signal level=-44 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:138  Invalid misc:8376   Missed beacon:0

Scan completed :
          Cell 01 - Address: **:**:**:29:B8:98
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=64/70  Signal level=-46 dBm  
                    Encryption key:on
                    ESSID:"Orange"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000*********
                    Extra: Last beacon: 37900ms ago
                    IE: Unknown: 00064F72616*****
                    IE: Unknown: 010882848B96243*****
                    IE: Unknown: 03****
                    IE: Unknown: 2A****
                    IE: Unknown: 2F****
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C1*****
                    IE: Unknown: 2D1AF*****FFFFFF0001000000000000000000000000000000000000
                    IE: Unknown: 3D160*****00000000000000000000000000000000000000
                    IE: Unknown: 7****000000000000040
                    IE: Unknown: DD0900101*****001C0000
                    IE: Unknown: DD180050F2020101840003A4000027A4000042435E006*******


User avatar
z31fanatic
Level 5
Level 5
Posts: 905
Joined: Sat Feb 14, 2015 5:25 pm
Location: Pennsylvania

Re: Wi-Fi randomly cuts out. Works fine under Windows 7.

Post by z31fanatic » Tue Nov 03, 2015 2:23 am

Pjotr wrote:You have very new hardware, so you probably need a much newer kernel with newer drivers.
That's 2012 hardware, not exactly very new.

I'd replace the wireless card with something like the Intel AC3160 and see how it goes.

kentchristopher
Level 1
Level 1
Posts: 19
Joined: Thu Aug 16, 2012 3:44 pm

Re: Wi-Fi randomly cuts out. Works fine under Windows 7.

Post by kentchristopher » Tue Nov 03, 2015 2:43 pm

z31fanatic wrote:
Pjotr wrote:You have very new hardware, so you probably need a much newer kernel with newer drivers.
That's 2012 hardware, not exactly very new.

I'd replace the wireless card with something like the Intel AC3160 and see how it goes.
Unfortunately, Lenovo has a BIOS whitelist allowing only specific cards. I could switch to an Intel Advanced N 6205 card in hopes that it's driver works better than the Linux driver for the Intel 2200. Is that in line with your thinking?

User avatar
z31fanatic
Level 5
Level 5
Posts: 905
Joined: Sat Feb 14, 2015 5:25 pm
Location: Pennsylvania

Re: Wi-Fi randomly cuts out. Works fine under Windows 7.

Post by z31fanatic » Tue Nov 03, 2015 3:09 pm

Lenovo and their shenanigans.
Give it a try. Good thing is that wireless cards are cheap.

Oh and next time buy a Dell Latitude instead :wink:

Post Reply

Return to “Wireless”