You are not logged in.

#1 2016-11-13 21:55:35

tostermaize
Member
Registered: 2016-11-13
Posts: 6

Internet connection disappears after some time

Hello,

there is a problem with my arch system. After connecting to wireless network, everything works fine and I have internet connection, but after about 2 hours internet connection stops (Firefox shows 'looking up [site name]' and ping shows 100% packet loss, although it shows i am connected to wireless network).
Executing 'systemctl restart NetworkManager' fixes the problem, but it is a temporary solution, because later Internet connection disappears again.
I have also had the same problem with windows, and rebooting solved the problem.
My PC is Lenovo yoga 2 pro.
What could be a problem?

Offline

#2 2016-11-13 22:07:36

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Internet connection disappears after some time

tostermaize wrote:

What could be a problem?

Power saving, perhaps?

Check the output of `iwconfig` and use this to turn it off (example interface name used):

iw dev wlp2s0 set power_save off

If that helps, set a udev rule, the ArchWiki has an anti-example (change "on" to "off"):

https://wiki.archlinux.org/index.php/Po … interfaces

Otherwise, there are many hardware-specific problems (and their attendant solutions) listed here:

https://wiki.archlinux.org/index.php/Wi … shooting_2

If you require further assistance, please post any relevant journal entries and the full output of:

lspci -knn | grep -iA2 net

Jin, Jîyan, Azadî

Offline

#3 2016-11-14 18:26:27

tostermaize
Member
Registered: 2016-11-13
Posts: 6

Re: Internet connection disappears after some time

Thanks for your reply,

Unfortunately today this problem happened again, so I had to use

systemctl restart NetworkManager

.
Disabling power management didn't help. Here is the output from iwconfig (after I restarted NetworkManager):

wlp1s0    IEEE 802.11  ESSID:"campus-unsecure"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 06:27:22:55:38:91   
          Bit Rate=144.4 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=55/70  Signal level=-55 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:10  Invalid misc:70   Missed beacon:0

lo        no wireless extensions.

Here is the output of lspci -knn | grep -iA2 net  (before restarting NetworkManager):

01:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b2] (rev 6b)
	Subsystem: Intel Corporation Wireless-N 7260 [8086:c262]
	Kernel driver in use: iwlwifi

Personally, I didn't see any useful information in journal entries. Here are some of those before I lost Internet connection (I noticed I lost connection at 19:53):

Nov 14 19:51:53 dators org_kde_powerdevil[505]: powerdevil: Scheduling inhibition from ":1.12" "firefox" with cookie 18 and reason "screen"
Nov 14 19:51:53 dators org_kde_powerdevil[505]: powerdevil: Scheduling inhibition from ":1.12" "/usr/lib/firefox/plugin-container" with cookie 19 and reason "screen"
Nov 14 19:51:57 dators org_kde_powerdevil[505]: powerdevil: Releasing inhibition with cookie  18
Nov 14 19:51:57 dators org_kde_powerdevil[505]: powerdevil: It was only scheduled for inhibition but not enforced yet, just discarding it
Nov 14 19:51:57 dators org_kde_powerdevil[505]: powerdevil: Releasing inhibition with cookie  19
Nov 14 19:51:57 dators org_kde_powerdevil[505]: powerdevil: It was only scheduled for inhibition but not enforced yet, just discarding it
Nov 14 19:51:58 dators org_kde_powerdevil[505]: powerdevil: Enforcing inhibition from ":1.12" "firefox" with cookie 18 and reason "screen"
Nov 14 19:51:58 dators org_kde_powerdevil[505]: powerdevil: By the time we wanted to enforce the inhibition it was already gone; discarding it
Nov 14 19:51:58 dators org_kde_powerdevil[505]: powerdevil: Enforcing inhibition from ":1.12" "/usr/lib/firefox/plugin-container" with cookie 19 and reason "screen"
Nov 14 19:51:58 dators org_kde_powerdevil[505]: powerdevil: By the time we wanted to enforce the inhibition it was already gone; discarding it
Nov 14 19:52:45 dators plasmashell[501]: QXcbConnection: XCB error: 2 (BadValue), sequence: 25126, resource id: 10485790, major code: 142 (Unknown), minor code: 3
Nov 14 19:52:50 dators kactivitymanagerd[527]: Creating the cache for:  "applications:xterm.desktop"
Nov 14 19:52:50 dators kactivitymanagerd[527]: Already in database?  true
Nov 14 19:52:50 dators kactivitymanagerd[527]:       First update :  QDateTime(2016-10-05 22:34:46.000 EEST Qt::TimeSpec(LocalTime))
Nov 14 19:52:50 dators kactivitymanagerd[527]:        Last update :  QDateTime(2016-11-14 16:02:06.000 EET Qt::TimeSpec(LocalTime))
Nov 14 19:52:50 dators kactivitymanagerd[527]: After the adjustment
Nov 14 19:52:50 dators kactivitymanagerd[527]:      Current score :  30.8568
Nov 14 19:52:50 dators kactivitymanagerd[527]:       First update :  QDateTime(2016-10-05 22:34:46.000 EEST Qt::TimeSpec(LocalTime))
Nov 14 19:52:50 dators kactivitymanagerd[527]:        Last update :  QDateTime(2016-11-14 16:02:06.000 EET Qt::TimeSpec(LocalTime))
Nov 14 19:52:50 dators kactivitymanagerd[527]: Interval length is  0
Nov 14 19:52:50 dators kactivitymanagerd[527]:          New score :  31.8568
Nov 14 19:53:17 dators plasmashell[501]: QXcbConnection: XCB error: 2 (BadValue), sequence: 26052, resource id: 12582920, major code: 142 (Unknown), minor code: 3
Nov 14 19:54:05 dators plasmashell[501]: file:///usr/lib/qt/qml/QtQuick/Controls/Button.qml:100: TypeError: Cannot read property of null
Nov 14 19:54:05 dators plasmashell[501]: file:///usr/lib/qt/qml/QtQuick/Controls/Button.qml:100: TypeError: Cannot read property of null
Nov 14 19:54:05 dators plasmashell[501]: trying to show an empty dialog
Nov 14 19:54:06 dators plasmashell[501]: libksysguard: Received UNKNOWN COMMAND for:  "acpi/Thermal_Zone/1-INT3400 Thermal/Temperature?"

What are some other things which can be checked when there is networking problem?

Offline

#4 2016-11-14 22:44:57

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Internet connection disappears after some time

tostermaize wrote:
	Kernel driver in use: iwlwifi

Try https://wiki.archlinux.org/index.php/Wi … on#iwlwifi (as already suggested) & http://forums.debian.net/viewtopic.php?f=16&t=121696.


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB