Intel Centrino Advanced-N 6230 connection fails after 10 min

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
eihiko

Intel Centrino Advanced-N 6230 connection fails after 10 min

Post by eihiko »

Hi everyone!

I have an Intel Centrino Advanced-N 6230 wifi card and I'm running Mint 17.2 64bit with Linux Kernel 3.16.0-38-generic.

My problem is that about 10 minutes after connecting to my (WPA-protected) wifi network, I will get an error saying "connection failed." I'll lose the connection and all password-protected connections will disappear from my network manager. To fix it, I just disable and re-enable wifi (both the network manager toggle and the hardware toggle work). The result is that I have to toggle my wifi every 10 minutes to stay online, which isn't preferable.

Code: Select all

lspci -vv -s 03:00.0
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6230 [Rainbow Peak] (rev 34)
	Subsystem: Intel Corporation Centrino Advanced-N 6230 AGN
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 54
	Region 0: Memory at f1b00000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
When wifi is working:

Code: Select all

sudo /usr/lib/linuxmint/mintWifi/mintWifi.py 
-------------------------
* I. scanning WIFI PCI devices...
  -- Intel Corporation Centrino Advanced-N 6230 [Rainbow Peak] (rev 34)
      ==> PCI ID = 8086:0091 (rev 34)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0      no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"DosHopper"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:18:E7:C8:2A:28   
          Bit Rate=1 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-39 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:28   Missed beacon:0

lo        no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr 14:fe:b5:b1:9e:e6  
          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:3057 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3057 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:540226 (540.2 KB)  TX bytes:540226 (540.2 KB)

wlan0     Link encap:Ethernet  HWaddr 88:53:2e:12:a8:0e  
          inet addr:192.168.0.135  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::8a53:2eff:fe12:a80e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:114375 errors:0 dropped:0 overruns:0 frame:0
          TX packets:50198 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:123976202 (123.9 MB)  TX bytes:8422984 (8.4 MB)

-------------------------
* V. querying DHCP...
-------------------------
* 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.123.6
Name:	google.com
Address: 173.194.123.8
Name:	google.com
Address: 173.194.123.0
Name:	google.com
Address: 173.194.123.14
Name:	google.com
Address: 173.194.123.4
Name:	google.com
Address: 173.194.123.5
Name:	google.com
Address: 173.194.123.2
Name:	google.com
Address: 173.194.123.9
Name:	google.com
Address: 173.194.123.3
Name:	google.com
Address: 173.194.123.7
Name:	google.com
Address: 173.194.123.1
After wifi fails:

Code: Select all

sudo /usr/lib/linuxmint/mintWifi/mintWifi.py 
-------------------------
* I. scanning WIFI PCI devices...
  -- Intel Corporation Centrino Advanced-N 6230 [Rainbow Peak] (rev 34)
      ==> PCI ID = 8086:0091 (rev 34)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0      no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
lo        no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr 14:fe:b5:b1:9e:e6  
          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:3091 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3091 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:543332 (543.3 KB)  TX bytes:543332 (543.3 KB)

wlan0     Link encap:Ethernet  HWaddr 88:53:2e:12:a8:0e  
          inet6 addr: fe80::8a53:2eff:fe12:a80e/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:116754 errors:0 dropped:0 overruns:0 frame:0
          TX packets:51584 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:125786943 (125.7 MB)  TX bytes:8724552 (8.7 MB)

-------------------------
* V. querying DHCP...
^C-------------------------
* VI. querying nslookup google.com...
^C
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
nukturkler

Re: Intel Centrino Advanced-N 6230 connection fails after 10

Post by nukturkler »

Exactly the same problem here, with the same NIC and the OS version. I googled for it and many results are related to the power management option, which is already in "OFF" position in my case. I would appreciate any help on this.
uberdorf

Re: Intel Centrino Advanced-N 6230 connection fails after 10

Post by uberdorf »

Whenever I have a problem like this, I assume that the wireless adapter is going out and just buy a new one. That always solves the problem for me.
JeremyB
Level 21
Level 21
Posts: 13846
Joined: Fri Feb 21, 2014 8:17 am

Re: Intel Centrino Advanced-N 6230 connection fails after 10

Post by JeremyB »

Linux distros prefer WPA2 encryption on the access point with no WEP or TKIP. I did some testing with my wifi hotspot a year ago and switched it to TKIP and had issues with my Intel and Atheros wifi cards

The one thing to try with Intel wifi cards is

Code: Select all

echo "options iwlwifi 11n_disable=8" | sudo tee -a /etc/modprobe.d/iwlwifi.conf
And reboot, this parameter enables aggressive TX and helps in many cases and if your card has built in bluetooth this may help

Code: Select all

echo "options iwlwifi bt_coex_active=0" | sudo tee -a /etc/modprobe.d/iwlwifi.conf
nukturkler

Re: Intel Centrino Advanced-N 6230 connection fails after 10

Post by nukturkler »

JeremyB wrote:Linux distros prefer WPA2 encryption on the access point with no WEP or TKIP. I did some testing with my wifi hotspot a year ago and switched it to TKIP and had issues with my Intel and Atheros wifi cards

The one thing to try with Intel wifi cards is

Code: Select all

echo "options iwlwifi 11n_disable=8" | sudo tee -a /etc/modprobe.d/iwlwifi.conf
And reboot, this parameter enables aggressive TX and helps in many cases and if your card has built in bluetooth this may help

Code: Select all

echo "options iwlwifi bt_coex_active=0" | sudo tee -a /etc/modprobe.d/iwlwifi.conf
yes, exactly! thanks for the answer. I found a similar solution yesterday and it seems that it works. well, at least it didn't complain today all night.

the one I found is:

Code: Select all

echo "options iwlwifi bt_coex_active=N" | sudo tee -a /etc/modprobe.d/iwlwifi.conf
Moonfrost

Re: Intel Centrino Advanced-N 6230 connection fails after 10

Post by Moonfrost »

Hi, I was having the exact same issue with the exact same wireless Intel Centrino Advanced N6230 card, I've used the solutions provided by JeremyB, after rebooting the connection seemed to work at full speed and did not drop at all...for about half an hour, and then now it either won't connect at all, not detect my wifi (but will detect the neighbor's no problem) and IF it works at all, it is SUPER SLOW!!.

I've been having these issues with Linux Mint 17.2 with Cinnamon since I installed it about 5 days ago, the rest of the OS works wonders but I'm thinking on giving up, seeing how common the wifi problems are and that NO ONE has a permanent solution...I'm dual booting Windows 10 and have to use it to write in this forum, otherwise I have no or shaky internet.
User avatar
Pjotr
Level 24
Level 24
Posts: 20072
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Intel Centrino Advanced-N 6230 connection fails after 10

Post by Pjotr »

Things to try (some of them already indicated by JeremyB):

- set the optimal channel in your router:
https://sites.google.com/site/easylinux ... st-channel
(item 1, left column)

- disable IPv6:
https://sites.google.com/site/easylinux ... onnection-
(item 8, right column)

- in the router, set your Wifi security to WPA2 with "AES only";

- ensure that your SSID (network name) is publically visible and not hidden. Hiding it doesn't increase security anyway: see these four popular myths about wireless security: https://sites.google.com/site/easylinux ... tywireless
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Moonfrost

Re: Intel Centrino Advanced-N 6230 connection fails after 10

Post by Moonfrost »

Pjotr wrote:Things to try (some of them already indicated by JeremyB):

- set the optimal channel in your router:
https://sites.google.com/site/easylinux ... st-channel
(item 1, left column)

- disable IPv6:
https://sites.google.com/site/easylinux ... onnection-
(item 8, right column)

- in the router, set your Wifi security to WPA2 with "AES only";

- ensure that your SSID (network name) is publically visible and not hidden. Hiding it doesn't increase security anyway: see these four popular myths about wireless security: https://sites.google.com/site/easylinux ... tywireless
Thanks for your reply but none of this options seem to work for me, it's as if I had done nothing, I've seen lots of people with this problem and there is no concrete permanent solution, everything else about the latest Linux Mint works beautifully for me, even better than Windows 10...but without being able to use the internet it's almost useless to me.
JeremyB
Level 21
Level 21
Posts: 13846
Joined: Fri Feb 21, 2014 8:17 am

Re: Intel Centrino Advanced-N 6230 connection fails after 10

Post by JeremyB »

Moonfrost wrote:
Pjotr wrote:Things to try (some of them already indicated by JeremyB):

- set the optimal channel in your router:
https://sites.google.com/site/easylinux ... st-channel
(item 1, left column)

- disable IPv6:
https://sites.google.com/site/easylinux ... onnection-
(item 8, right column)

- in the router, set your Wifi security to WPA2 with "AES only";

- ensure that your SSID (network name) is publically visible and not hidden. Hiding it doesn't increase security anyway: see these four popular myths about wireless security: https://sites.google.com/site/easylinux ... tywireless
Thanks for your reply but none of this options seem to work for me, it's as if I had done nothing, I've seen lots of people with this problem and there is no concrete permanent solution, everything else about the latest Linux Mint works beautifully for me, even better than Windows 10...but without being able to use the internet it's almost useless to me.
What does

Code: Select all

iwconfig
show?
Moonfrost

Re: Intel Centrino Advanced-N 6230 connection fails after 10

Post by Moonfrost »

JeremyB wrote:
Moonfrost wrote:
Pjotr wrote:Things to try (some of them already indicated by JeremyB):

- set the optimal channel in your router:
https://sites.google.com/site/easylinux ... st-channel
(item 1, left column)

- disable IPv6:
https://sites.google.com/site/easylinux ... onnection-
(item 8, right column)

- in the router, set your Wifi security to WPA2 with "AES only";

- ensure that your SSID (network name) is publically visible and not hidden. Hiding it doesn't increase security anyway: see these four popular myths about wireless security: https://sites.google.com/site/easylinux ... tywireless
Thanks for your reply but none of this options seem to work for me, it's as if I had done nothing, I've seen lots of people with this problem and there is no concrete permanent solution, everything else about the latest Linux Mint works beautifully for me, even better than Windows 10...but without being able to use the internet it's almost useless to me.
What does

Code: Select all

iwconfig
show?

Code: Select all

eth0      no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"OneUp"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: B0:B2:DC:AD:45:E8   
          Bit Rate=18 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=35/70  Signal level=-75 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:10  Invalid misc:29   Missed beacon:0

lo        no wireless extensions.
That's my result.
Moonfrost

Re: Intel Centrino Advanced-N 6230 connection fails after 10

Post by Moonfrost »

I also gotta say, my battery actually lasted longer with linux mint than Windows 10, now suddenly it lasts a seriously short time!, it depletes 1-2% percentage points every minute non-stop, and the time remaining is insanely low, even for this i7 from 2011 (i7 2630qm), I have not changed anything besides any network settings or whatever trying to fix this, I'm thinking on re-installing everything.
User avatar
Pjotr
Level 24
Level 24
Posts: 20072
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Intel Centrino Advanced-N 6230 connection fails after 10

Post by Pjotr »

You might try a BIOS update: check for a newer BIOS / UEFI and when available, install it.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Locked

Return to “Networking”