WiFi stops working after a certain time period

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
DXM1

WiFi stops working after a certain time period

Post by DXM1 »

Hey everyone,

My wifi simply shuts down after a while. The computer keeps trying to connect but is unsuccessful. It keeps asking me to re-enter the password over and over again, but fails to establish a connection. I know its a mint problem because my windows laptop doesnt do that (and neither did this desktop when I had windows).

So the sudo /usr/lib/linuxmint/mintWifi/mintWifi.py results that i got (this is when everything is working fine):

-------------------------
* I. scanning WIFI PCI devices...
-- Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)
==> PCI ID = 10ec:8172 (rev 10)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:"2920 Walnut"
Mode:Managed Frequency:2.412 GHz Access Point: 74:31:70:F5:50:DF
Bit Rate=72.2 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=68/70 Signal level=-42 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:3 Missed beacon:0

eth0 no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0 Link encap:Ethernet HWaddr 00:25:22:9f:43:5c
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:46 Base address:0xa000

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

wlan0 Link encap:Ethernet HWaddr 00:08:54:9e:f4:6b
inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::208:54ff:fe9e:f46b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:852 errors:0 dropped:0 overruns:0 frame:0
TX packets:789 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:577265 (577.2 KB) TX bytes:131613 (131.6 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: 209.18.47.61
Address: 209.18.47.61#53

Non-authoritative answer:
Name: google.com
Address: 74.125.225.4
Name: google.com
Address: 74.125.225.5
Name: google.com
Address: 74.125.225.6
Name: google.com
Address: 74.125.225.7
Name: google.com
Address: 74.125.225.8
Name: google.com
Address: 74.125.225.9
Name: google.com
Address: 74.125.225.14
Name: google.com
Address: 74.125.225.0
Name: google.com
Address: 74.125.225.1
Name: google.com
Address: 74.125.225.2
Name: google.com
Address: 74.125.225.3




Any ideas?
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.
MaverickJester

Re: WiFi stops working after a certain time period

Post by MaverickJester »

I'll try to help with this one with out thinking on it too much.

It seems I had this problem a while back. I was using a Netgear router and WPS was enabled. This proved no problem for Windows but I think it was for the mac's and linux machines in the house. So if you have one of those routers with the button on the front for WPS and by default I think this is configure for "yes" then it could be a problem. Double check the wifi router set up. This would also explain why it didn't work on Linux but it did on windows on the same machine. It may also be expecting a pin and not your set password WPS does this also.

It's just a thought and I am pretty sure this is what nailed me a while ago.

from what you posted it also looks like your wifi card is working fine sending and receiving. This is also why I think it has to do with WPS and the security on the wifi. Just turn of the WPS option. Its just there for "easy" wifi setup.

One more thing, if its not the wifi security please post what version of Mint you are using.

Good luck, if this does not work I will try to help further.
DXM1

Re: WiFi stops working after a certain time period

Post by DXM1 »

I am running Mint 13. EDIT: I looked at the router and it doesnt have any option like what you described. I disabled WPS through software, lets see what happens. This is the result of the log when the connection was NOT working:

* I. scanning WIFI PCI devices...
-- Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)
==> PCI ID = 10ec:8172 (rev 10)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:off

eth0 no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0 Link encap:Ethernet HWaddr 00:25:22:9f:43:5c
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:46 Base address:0xa000

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:21660 errors:0 dropped:0 overruns:0 frame:0
TX packets:21660 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1391815 (1.3 MB) TX bytes:1391815 (1.3 MB)

wlan0 Link encap:Ethernet HWaddr 00:08:54:9e:f4:6b
inet6 addr: fe80::208:54ff:fe9e:f46b/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:264400 errors:0 dropped:0 overruns:0 frame:0
TX packets:180097 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:306414580 (306.4 MB) TX bytes:23754167 (23.7 MB)

-------------------------
* V. querying DHCP...
-------------------------
* VI. querying nslookup google.com...
;; connection timed out; no servers could be reached

PS. I will post with updates to see if WPS disabling worked or not.
DXM1

Re: WiFi stops working after a certain time period

Post by DXM1 »

disabling WPS made no difference... The internet just cut out again. Any ideas?
MaverickJester

Re: WiFi stops working after a certain time period

Post by MaverickJester »

No ideas yet. It seems as though you are transmitting and receiving but just not authenticating....
What is the security setting on the router? WPA2 personal AES/TKIP if so try WPA2 just AES or WPA TKIP. See if this makes a difference. I am confident this is an authentication problem and your card is working fine but for some reason not accepting they type of authentication the router is using or I should say the router is not accepting the clients authentication. It should not matter about AES/TKIP but it can be....quirky. Typically I had this problem on older versions of Linux but not lately. This could depend on your card and how Linux see's it not sure really. Give it a try. Even try lower authentications weak just to see if it can work. Try with no authentication and see if you connect to the wireless if only temporarily just to get to the root of the problem. then you can say for sure if it is an authentication problem.
Locked

Return to “Networking”