Wifi stops working but stays connected

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
gixslayer

Wifi stops working but stays connected

Post by gixslayer »

Hello, I'm new to Linux (although I have some experience in running it in VMs) and decided to dualboot my laptop (HP Elitebook 8570w, Win8-x64) with Linux Mint 17 x64. Everything seems to be working fine except the wifi. I can see my network and connect to it just fine, but after some time (could be 5 minutes or 1 hour) the wifi will suddenly stop working (as in I can't ping anything, not even my router). The odd thing is that network-manager will say I'm still connected to the network. Manually disconnecting and reconnecting will make the wifi work fine again (for some time until the same thing happens again). The issue is only present when I use Mint (Windows never drops the connection) which makes me believe it's either a driver or configuration problem, but I have no idea how to fix or diagnose either of them.

Here is my mintWifi output:

Code: Select all

sudo /usr/lib/linuxmint/mintWifi/mintWifi.py
-------------------------
* I. scanning WIFI PCI devices...
  -- Intel Corporation Centrino Ultimate-N 6300 (rev 3e)
      ==> PCI ID = 8086:422b (rev 3e)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0      no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"Ziggo85014"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 20:25:64:3F:FF:6E   
          Bit Rate=65 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=45/70  Signal level=-65 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:74   Missed beacon:0

lo        no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr d4:c9:ef:50:8e:8f  
          inet6 addr: fe80::d6c9:efff:fe50:8e8f/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:3352560 errors:0 dropped:0 overruns:0 frame:0
          TX packets:817691 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4937931679 (4.9 GB)  TX bytes:66324861 (66.3 MB)
          Interrupt:17 Memory:d4400000-d4420000 

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:1496 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1496 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:137896 (137.8 KB)  TX bytes:137896 (137.8 KB)

wlan0     Link encap:Ethernet  HWaddr 3c:a9:f4:47:eb:c8  
          inet addr:192.168.178.12  Bcast:192.168.178.255  Mask:255.255.255.0
          inet6 addr: fe80::3ea9:f4ff:fe47:ebc8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:155355 errors:0 dropped:0 overruns:0 frame:0
          TX packets:49299 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:226976239 (226.9 MB)  TX bytes:5251157 (5.2 MB)

-------------------------
* V. querying DHCP...
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
Server:		212.54.44.54
Address:	212.54.44.54#53

Non-authoritative answer:
Name:	google.com
Address: 74.125.136.100
Name:	google.com
Address: 74.125.136.101
Name:	google.com
Address: 74.125.136.138
Name:	google.com
Address: 74.125.136.113
Name:	google.com
Address: 74.125.136.102
Name:	google.com
Address: 74.125.136.139
I'd greatly appreciate any help. As much as I like using Mint having to constantly deal with these wifi issues is beyond frustrating. Perhaps I'll try a different distro, but I'd prefer to get Mint working instead.

Thank you for reading.
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.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi stops working but stays connected

Post by JeremyB »

gixslayer wrote:Hello, I'm new to Linux (although I have some experience in running it in VMs) and decided to dualboot my laptop (HP Elitebook 8570w, Win8-x64) with Linux Mint 17 x64. Everything seems to be working fine except the wifi. I can see my network and connect to it just fine, but after some time (could be 5 minutes or 1 hour) the wifi will suddenly stop working (as in I can't ping anything, not even my router). The odd thing is that network-manager will say I'm still connected to the network. Manually disconnecting and reconnecting will make the wifi work fine again (for some time until the same thing happens again). The issue is only present when I use Mint (Windows never drops the connection) which makes me believe it's either a driver or configuration problem, but I have no idea how to fix or diagnose either of them.

Here is my mintWifi output:

Code: Select all

sudo /usr/lib/linuxmint/mintWifi/mintWifi.py
-------------------------
* I. scanning WIFI PCI devices...
  -- Intel Corporation Centrino Ultimate-N 6300 (rev 3e)
      ==> PCI ID = 8086:422b (rev 3e)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0      no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"Ziggo85014"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 20:25:64:3F:FF:6E   
          Bit Rate=65 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=45/70  Signal level=-65 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:74   Missed beacon:0

lo        no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr d4:c9:ef:50:8e:8f  
          inet6 addr: fe80::d6c9:efff:fe50:8e8f/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:3352560 errors:0 dropped:0 overruns:0 frame:0
          TX packets:817691 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4937931679 (4.9 GB)  TX bytes:66324861 (66.3 MB)
          Interrupt:17 Memory:d4400000-d4420000 

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:1496 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1496 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:137896 (137.8 KB)  TX bytes:137896 (137.8 KB)

wlan0     Link encap:Ethernet  HWaddr 3c:a9:f4:47:eb:c8  
          inet addr:192.168.178.12  Bcast:192.168.178.255  Mask:255.255.255.0
          inet6 addr: fe80::3ea9:f4ff:fe47:ebc8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:155355 errors:0 dropped:0 overruns:0 frame:0
          TX packets:49299 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:226976239 (226.9 MB)  TX bytes:5251157 (5.2 MB)

-------------------------
* V. querying DHCP...
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
Server:		212.54.44.54
Address:	212.54.44.54#53

Non-authoritative answer:
Name:	google.com
Address: 74.125.136.100
Name:	google.com
Address: 74.125.136.101
Name:	google.com
Address: 74.125.136.138
Name:	google.com
Address: 74.125.136.113
Name:	google.com
Address: 74.125.136.102
Name:	google.com
Address: 74.125.136.139
I'd greatly appreciate any help. As much as I like using Mint having to constantly deal with these wifi issues is beyond frustrating. Perhaps I'll try a different distro, but I'd prefer to get Mint working instead.

Thank you for reading.
Do you have mintwifi results from when it doesn't work?

Better yet, we can install pastebin and run a script created by some very smart people on ubuntuforums

Code: Select all

sudo apt-get install pastebinit

Code: Select all

wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && chmod +x wireless_script && ./wireless_script
The script will ask if you want to upload, if you press y and then enter, you will see a URL in terminal that you can copy with the mouse and paste into your next post. And if you happen to lose your access to internet however long after you can run a new script with

Code: Select all

./wireless_script
and choose n when asked about uploading. Wait until you have a connection again and

Code: Select all

pastebinit wireless-info.txt
and paste the url into a new post and tell us script from non-working wifi
gixslayer

Re: Wifi stops working but stays connected

Post by gixslayer »

Here is the mintWifi output for the working wifi

Code: Select all

-------------------------
* I. scanning WIFI PCI devices...
  -- Intel Corporation Centrino Ultimate-N 6300 (rev 3e)
      ==> PCI ID = 8086:422b (rev 3e)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0      no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"Ziggo85014"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 20:25:64:3F:FF:6E   
          Bit Rate=52 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=46/70  Signal level=-64 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:72   Missed beacon:0

lo        no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr d4:c9:ef:50:8e:8f  
          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)
          Interrupt:17 Memory:d4400000-d4420000 

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:167 errors:0 dropped:0 overruns:0 frame:0
          TX packets:167 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:13072 (13.0 KB)  TX bytes:13072 (13.0 KB)

wlan0     Link encap:Ethernet  HWaddr 3c:a9:f4:47:eb:c8  
          inet addr:192.168.178.12  Bcast:192.168.178.255  Mask:255.255.255.0
          inet6 addr: fe80::3ea9:f4ff:fe47:ebc8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:377 errors:0 dropped:0 overruns:0 frame:0
          TX packets:305 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:223439 (223.4 KB)  TX bytes:54553 (54.5 KB)

-------------------------
* V. querying DHCP...
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
Server:		212.54.44.54
Address:	212.54.44.54#53

Non-authoritative answer:
Name:	google.com
Address: 173.194.65.139
Name:	google.com
Address: 173.194.65.100
Name:	google.com
Address: 173.194.65.102
Name:	google.com
Address: 173.194.65.101
Name:	google.com
Address: 173.194.65.138
Name:	google.com
Address: 173.194.65.113
Here is the wireless_script output for the working wifi

http://pastebin.com/kxk6f7C6

When I lost connection and tried to run mintWifi something odd happened. I had no connection at all (couldn't load pages/ping anything). The script hang on the line '* V. querying DHCP...' for about a minute before suddenly finishing. At the same moment it finished my connection was suddenly working again. The output is identical to when it is working (probably as the connection came back for whatever reason while running the script). Perhaps this was just a fluke and I'll continue to stress my network to try and get it to drop again so I can try to run the scrips when it isn't working (ironically when I want the network to stop working so I can run the scripts it seems more stable than ever).
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi stops working but stays connected

Post by JeremyB »

When you lose connection the next time run this in terminal

Code: Select all

cat /var/log/syslog | tail -20
gixslayer

Re: Wifi stops working but stays connected

Post by gixslayer »

After having pretty much an entire day of working wifi (probably downloaded around 15gb of data without it breaking) the internet finally broke again.

Here is the bottom section of the syslog (I'm not sure when exactly the connection dropped but it was somewhere during this time).

Code: Select all

Oct 14 01:31:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:31:26 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 01:32:52 ciske-laptop dhclient: DHCPREQUEST of 192.168.178.12 on wlan0 to 192.168.178.1 port 67 (xid=0x2291d07c)
Oct 14 01:32:52 ciske-laptop dhclient: DHCPACK of 192.168.178.12 from 192.168.178.1
Oct 14 01:32:52 ciske-laptop dhclient: bound to 192.168.178.12 -- renewal in 1543 seconds.
Oct 14 01:32:52 ciske-laptop NetworkManager[1015]: <info> (wlan0): DHCPv4 state changed renew -> renew
Oct 14 01:32:52 ciske-laptop NetworkManager[1015]: <info>   address 192.168.178.12
Oct 14 01:32:52 ciske-laptop NetworkManager[1015]: <info>   prefix 24 (255.255.255.0)
Oct 14 01:32:52 ciske-laptop NetworkManager[1015]: <info>   gateway 192.168.178.1
Oct 14 01:32:52 ciske-laptop NetworkManager[1015]: <info>   nameserver '212.54.44.54'
Oct 14 01:32:52 ciske-laptop NetworkManager[1015]: <info>   nameserver '212.54.40.25'
Oct 14 01:32:52 ciske-laptop dbus[930]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Oct 14 01:32:52 ciske-laptop dbus[930]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Oct 14 01:33:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:33:27 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 01:33:49 ciske-laptop dhclient: DHCPREQUEST of 192.168.178.12 on wlan0 to 192.168.178.1 port 67 (xid=0x174fb3d1)
Oct 14 01:33:49 ciske-laptop dhclient: DHCPACK of 192.168.178.12 from 192.168.178.1
Oct 14 01:33:49 ciske-laptop dhclient: bound to 192.168.178.12 -- renewal in 1416 seconds.
Oct 14 01:35:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:35:26 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 01:37:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:37:26 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 01:38:55 ciske-laptop wpa_supplicant[1086]: wlan0: WPA: Group rekeying completed with 20:25:64:3f:ff:6e [GTK=TKIP]
Oct 14 01:39:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:39:26 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 01:41:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:41:26 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 01:42:31 ciske-laptop dhclient: DHCPREQUEST of 192.168.178.12 on wlan0 to 192.168.178.1 port 67 (xid=0x39f461d1)
Oct 14 01:42:31 ciske-laptop dhclient: DHCPACK of 192.168.178.12 from 192.168.178.1
Oct 14 01:42:31 ciske-laptop dhclient: bound to 192.168.178.12 -- renewal in 1768 seconds.
Oct 14 01:43:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:43:26 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 01:45:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:45:26 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 01:47:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:47:27 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi stops working but stays connected

Post by JeremyB »

gixslayer wrote:After having pretty much an entire day of working wifi (probably downloaded around 15gb of data without it breaking) the internet finally broke again.

Here is the bottom section of the syslog (I'm not sure when exactly the connection dropped but it was somewhere during this time).

Code: Select all

Oct 14 01:31:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:31:26 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 01:32:52 ciske-laptop dhclient: DHCPREQUEST of 192.168.178.12 on wlan0 to 192.168.178.1 port 67 (xid=0x2291d07c)
Oct 14 01:32:52 ciske-laptop dhclient: DHCPACK of 192.168.178.12 from 192.168.178.1
Oct 14 01:32:52 ciske-laptop dhclient: bound to 192.168.178.12 -- renewal in 1543 seconds.
Oct 14 01:32:52 ciske-laptop NetworkManager[1015]: <info> (wlan0): DHCPv4 state changed renew -> renew
Oct 14 01:32:52 ciske-laptop NetworkManager[1015]: <info>   address 192.168.178.12
Oct 14 01:32:52 ciske-laptop NetworkManager[1015]: <info>   prefix 24 (255.255.255.0)
Oct 14 01:32:52 ciske-laptop NetworkManager[1015]: <info>   gateway 192.168.178.1
Oct 14 01:32:52 ciske-laptop NetworkManager[1015]: <info>   nameserver '212.54.44.54'
Oct 14 01:32:52 ciske-laptop NetworkManager[1015]: <info>   nameserver '212.54.40.25'
Oct 14 01:32:52 ciske-laptop dbus[930]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Oct 14 01:32:52 ciske-laptop dbus[930]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Oct 14 01:33:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:33:27 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 01:33:49 ciske-laptop dhclient: DHCPREQUEST of 192.168.178.12 on wlan0 to 192.168.178.1 port 67 (xid=0x174fb3d1)
Oct 14 01:33:49 ciske-laptop dhclient: DHCPACK of 192.168.178.12 from 192.168.178.1
Oct 14 01:33:49 ciske-laptop dhclient: bound to 192.168.178.12 -- renewal in 1416 seconds.
Oct 14 01:35:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:35:26 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 01:37:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:37:26 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 01:38:55 ciske-laptop wpa_supplicant[1086]: wlan0: WPA: Group rekeying completed with 20:25:64:3f:ff:6e [GTK=TKIP]
Oct 14 01:39:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:39:26 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 01:41:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:41:26 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 01:42:31 ciske-laptop dhclient: DHCPREQUEST of 192.168.178.12 on wlan0 to 192.168.178.1 port 67 (xid=0x39f461d1)
Oct 14 01:42:31 ciske-laptop dhclient: DHCPACK of 192.168.178.12 from 192.168.178.1
Oct 14 01:42:31 ciske-laptop dhclient: bound to 192.168.178.12 -- renewal in 1768 seconds.
Oct 14 01:43:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:43:26 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 01:45:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:45:26 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 01:47:20 ciske-laptop wpa_supplicant[1086]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 01:47:27 ciske-laptop wpa_supplicant[1086]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Can you change security/encryption to WPA2-AES only?
gixslayer

Re: Wifi stops working but stays connected

Post by gixslayer »

I've set the security to WPA-2 AES (had to reconnect after, which isn't that surprising) which seems to be working. I'll report back when I start having issues again (or if this fixes it).

Thanks for the help so far.

Edit: Connection just stopped working again.
Here is a syslog (probably dropped between 13:38 and 13:40)

Code: Select all

Oct 14 13:33:25 ciske-laptop dhclient: DHCPREQUEST of 192.168.178.12 on wlan0 to 192.168.178.1 port 67 (xid=0x3aff9046)
Oct 14 13:33:26 ciske-laptop dhclient: DHCPACK of 192.168.178.12 from 192.168.178.1
Oct 14 13:33:26 ciske-laptop dhclient: bound to 192.168.178.12 -- renewal in 1723 seconds.
Oct 14 13:33:26 ciske-laptop NetworkManager[993]: <info> (wlan0): DHCPv4 state changed reboot -> renew
Oct 14 13:33:26 ciske-laptop NetworkManager[993]: <info>   address 192.168.178.12
Oct 14 13:33:26 ciske-laptop NetworkManager[993]: <info>   prefix 24 (255.255.255.0)
Oct 14 13:33:26 ciske-laptop NetworkManager[993]: <info>   gateway 192.168.178.1
Oct 14 13:33:26 ciske-laptop NetworkManager[993]: <info>   nameserver '212.54.44.54'
Oct 14 13:33:26 ciske-laptop NetworkManager[993]: <info>   nameserver '212.54.40.25'
Oct 14 13:33:26 ciske-laptop dbus[886]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Oct 14 13:33:26 ciske-laptop dbus[886]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Oct 14 13:34:10 ciske-laptop wpa_supplicant[1063]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 13:34:17 ciske-laptop wpa_supplicant[1063]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 13:36:10 ciske-laptop wpa_supplicant[1063]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 13:36:17 ciske-laptop wpa_supplicant[1063]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 13:38:10 ciske-laptop wpa_supplicant[1063]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 13:38:17 ciske-laptop wpa_supplicant[1063]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Oct 14 13:40:10 ciske-laptop wpa_supplicant[1063]: wlan0: CTRL-EVENT-SCAN-STARTED 
Oct 14 13:40:18 ciske-laptop wpa_supplicant[1063]: nl80211: send_and_recv->nl_recvmsgs failed: -33
gixslayer

Re: Wifi stops working but stays connected

Post by gixslayer »

http://pastebin.com/CYNSfAVW

Log of the wireless_script output when the connection died.
My router (actually from my neighbors, but they let me use the connection) transmits at both 2.4Gz and 5Gz under the same SSID. I've now set the BSSID (which I hadn't done before). Could that cause some kind of conflict or shouldn't it matter at all? I've also set the 2.4Gz connection to 20/40Mhz as opposed to 20 only.

Would there be any recommended settings for Linux clients?
Also could the problem simply be the case that the signals sometimes takes a dip which causes the connection to stop working, but network-manager simply fails to detect this? Perhaps Windows somehow manages to receive better to a point where it does not fail with a weaker signal as opposed to Mint.

I have no idea what the issue is here and I'd appreciate any help I can get.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi stops working but stays connected

Post by JeremyB »

The 20/40 should be fine, but we could try enabling agg TX, if nothing else you might see a speed increase

Code: Select all

echo "11n_disable=8" | sudo tee -a /etc/modprobe.d/iwlwifi.conf
reboot

If that doesn't make any improvement on the disconnects, I would disable TLP and see what happens
Robroy66

Re: Wifi stops working but stays connected

Post by Robroy66 »

JeremyB wrote:The 20/40 should be fine, but we could try enabling agg TX, if nothing else you might see a speed increase

Code: Select all

echo "11n_disable=8" | sudo tee -a /etc/modprobe.d/iwlwifi.conf
reboot

If that doesn't make any improvement on the disconnects, I would disable TLP and see what happens
I have the same problem with Wifi I have to click on the wifi network to activate it again and than it works for a schort time again.With a Windows system the connection works fine ?
Wat can i do ?
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi stops working but stays connected

Post by JeremyB »

Follow the instructions in this thread to install pastebin and using the wireless script
Locked

Return to “Networking”