You are not logged in.

#1 2018-04-27 08:50:25

mani.zaeim
Member
Registered: 2016-12-19
Posts: 24

KDE Plasma 5 Netwrok Issue - PacketLost/Timeout after resume Suspend

Hi all,
I have a serious issue on Network connection and mostly happen after resuming from suspend on WIFI as well as Ethernet. I sometimes face to this issue before but it almost always happen after last update on 24-04-2018 even when I reboot the system and change the access point no matter I was resume from the suspend or after system reboot (I do always keep my system update to date and almost every day I do run yaourt -Syyua.)

Currently I am using KDE plasma 5.

Plasma Shell version: 5.12.4
System updated on 26-04-2017

uname -a output:

Linux hostName 4.16.3-1-ARCH #1 SMP PREEMPT Thu Apr 19 09:17:56 UTC 2018 x86_64 GNU/Linux

lspci -v output:

07:00.0 Ethernet controller: Qualcomm Atheros QCA8171 Gigabit Ethernet (rev 10)
        Subsystem: Lenovo QCA8171 Gigabit Ethernet
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Memory at c2500000 (64-bit, non-prefetchable) [size=256K]
        I/O ports at 3000 [size=128]
        Capabilities: [40] Power Management version 3
        Capabilities: [58] Express Endpoint, MSI 00
        Capabilities: [c0] MSI: Enable- Count=1/16 Maskable+ 64bit+
        Capabilities: [d8] MSI-X: Enable+ Count=16 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [180] Device Serial Number ff-04-a2-65-98-de-d0-ff
        Kernel driver in use: alx
        Kernel modules: alx

08:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
        Subsystem: Lenovo AR9485 Wireless Network Adapter
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at c2400000 (64-bit, non-prefetchable) [size=512K]
        Expansion ROM at c2480000 [disabled] [size=64K]
        Capabilities: [40] Power Management version 2
        Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
        Kernel driver in use: ath9k
        Kernel modules: ath9k

journalctl -u NetworkManager.service output

Apr 26 11:55:33 hostName NetworkManager[546]: <info>  [1524714933.6090] device (enp7s0): carrier: link connected
Apr 26 11:55:33 hostName NetworkManager[546]: <info>  [1524714933.6091] device (enp7s0): DHCPv4 lease renewal requested
Apr 26 11:55:33 hostName NetworkManager[546]: <info>  [1524714933.6091] dhcp4 (enp7s0): canceled DHCP transaction
Apr 26 11:55:33 hostName NetworkManager[546]: <info>  [1524714933.6091] dhcp4 (enp7s0): state changed bound -> done
Apr 26 11:55:33 hostName NetworkManager[546]: <info>  [1524714933.6094] dhcp4 (enp7s0): activation: beginning transaction (timeout in 45 seconds)
Apr 26 11:55:36 hostName NetworkManager[546]: <info>  [1524714936.2487] dhcp4 (enp7s0):   address 172.17.28.173
Apr 26 11:55:36 hostName NetworkManager[546]: <info>  [1524714936.2487] dhcp4 (enp7s0):   plen 22
Apr 26 11:55:36 hostName NetworkManager[546]: <info>  [1524714936.2487] dhcp4 (enp7s0):   expires in 86400 seconds
Apr 26 11:55:36 hostName NetworkManager[546]: <info>  [1524714936.2487] dhcp4 (enp7s0):   nameserver '172.16.1.30'
Apr 26 11:55:36 hostName NetworkManager[546]: <info>  [1524714936.2487] dhcp4 (enp7s0):   nameserver '172.16.1.11'
Apr 26 11:55:36 hostName NetworkManager[546]: <info>  [1524714936.2487] dhcp4 (enp7s0):   domain name 'DomainName'
Apr 26 11:55:36 hostName NetworkManager[546]: <info>  [1524714936.2488] dhcp4 (enp7s0):   gateway 172.17.28.4
Apr 26 11:55:36 hostName NetworkManager[546]: <info>  [1524714936.2544] dhcp4 (enp7s0): state changed unknown -> bound
....
....
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1133] Loaded device plugin: NMVxlanDeviceFactory (internal)
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1136] Loaded device plugin: NMAtmManager (/usr/lib/NetworkManager/libnm-device-plugin-adsl.so)
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1190] Loaded device plugin: NMTeamFactory (/usr/lib/NetworkManager/libnm-device-plugin-team.so)
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1192] Loaded device plugin: NMOvsFactory (/usr/lib/NetworkManager/libnm-device-plugin-ovs.so)
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1195] Loaded device plugin: NMWifiFactory (/usr/lib/NetworkManager/libnm-device-plugin-wifi.so)
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1208] Loaded device plugin: NMWwanFactory (/usr/lib/NetworkManager/libnm-device-plugin-wwan.so)
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1215] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/libnm-device-plugin-bluetooth.so)
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1225] device (lo): carrier: link connected
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1231] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1244] manager: (enp7s0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1255] device (enp7s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1267] wifi-nl80211: (wlp8s0): using nl80211 for WiFi device control
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1269] device (wlp8s0): driver supports Access Point (AP) mode
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1276] manager: (wlp8s0): new 802.11 WiFi device (/org/freedesktop/NetworkManager/Devices/3)
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1283] device (wlp8s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1581] device (wlp8s0): set-hw-addr: set MAC address to B6:06:38:4E:0C:A5 (scanning)
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1824] ovsdb: Could not connect: No such file or directory
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1943] bluez: use BlueZ version 5
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1965] supplicant: wpa_supplicant running
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.1965] device (wlp8s0): supplicant interface state: init -> starting
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.2539] sup-iface[0x557d9c376170,wlp8s0]: supports 4 scan SSIDs
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.2550] device (wlp8s0): supplicant interface state: starting -> ready
Apr 27 16:31:28 hostname NetworkManager[9073]: <info>  [1524817888.2551] device (wlp8s0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.2572] policy: auto-activating connection 'MyAccessPoint'
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.2584] device (wlp8s0): Activation: starting connection 'MyAccessPoint' (853d5b17-8753-4079-8817-8a29f1779609)
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.2587] device (wlp8s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.2589] manager: NetworkManager state is now CONNECTING
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.2690] device (wlp8s0): set-hw-addr: set-cloned MAC address to 2A:83:D1:D8:26:D6 (2A:83:D1:D8:26:D6)
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.2918] device (wlp8s0): supplicant interface state: ready -> disabled
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.2921] device (wlp8s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.2923] device (wlp8s0): Activation: (wifi) access point 'MyAccessPoint' has security, but secrets are required.
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.2924] device (wlp8s0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.3136] device (wlp8s0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.3138] device (wlp8s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.3140] device (wlp8s0): Activation: (wifi) connection 'MyAccessPoint' has security, and secrets exist.  No new secrets needed.
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.3141] Config: added 'ssid' value 'MyAccessPoint'
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.3141] Config: added 'scan_ssid' value '1'
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.3141] Config: added 'bgscan' value 'simple:30:-80:86400'
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.3141] Config: added 'key_mgmt' value 'WPA-PSK'
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.3141] Config: added 'psk' value '<hidden>'
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.3483] device (wlp8s0): supplicant interface state: disabled -> inactive
Apr 27 16:31:29 hostname NetworkManager[9073]: <info>  [1524817889.3641] device (wlp8s0): supplicant interface state: inactive -> scanning
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.3576] device (wlp8s0): supplicant interface state: scanning -> authenticating
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.3673] device (wlp8s0): supplicant interface state: authenticating -> associating
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.3828] device (wlp8s0): supplicant interface state: associating -> associated
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.3934] device (wlp8s0): supplicant interface state: associated -> 4-way handshake
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.4098] device (wlp8s0): supplicant interface state: 4-way handshake -> completed
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.4099] device (wlp8s0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 'MyAccessPoint'.
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.4099] device (wlp8s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.4103] dhcp4 (wlp8s0): activation: beginning transaction (timeout in 45 seconds)
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.5669] dhcp4 (wlp8s0):   address 192.168.43.176
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.5669] dhcp4 (wlp8s0):   plen 24
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.5669] dhcp4 (wlp8s0):   expires in 3600 seconds
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.5669] dhcp4 (wlp8s0):   nameserver '192.168.43.1'
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.5669] dhcp4 (wlp8s0):   hostname 'hostname'
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.5670] dhcp4 (wlp8s0):   gateway 192.168.43.1
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.5672] dhcp4 (wlp8s0): state changed unknown -> bound
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.5686] device (wlp8s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.5691] device (wlp8s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.5697] device (wlp8s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.5699] manager: NetworkManager state is now CONNECTED_LOCAL
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.5790] manager: NetworkManager state is now CONNECTED_SITE
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.5791] policy: set 'MyAccessPoint' (wlp8s0) as default for IPv4 routing and DNS
Apr 27 16:31:30 hostname NetworkManager[9073]: <info>  [1524817890.5819] device (wlp8s0): Activation: successful, device activated.
Apr 27 16:31:34 hostname NetworkManager[9073]: <info>  [1524817894.1286] manager: startup complete
Apr 27 16:31:52 hostname NetworkManager[9073]: <info>  [1524817912.1694] manager: NetworkManager state is now CONNECTED_GLOBAL
lines 3904-3969/3969 (END)

sudo lsmod output:

Module                  Size  Used by
cdc_acm                32768  0
ccm                    20480  6
fuse                  118784  3
snd_hda_codec_hdmi     57344  1
bnep                   24576  2
arc4                   16384  2
ath9k                 184320  0
intel_rapl             24576  0
ath9k_common           36864  1 ath9k
ath9k_hw              512000  2 ath9k,ath9k_common
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             180224  0
ath                    32768  3 ath9k_hw,ath9k,ath9k_common
ofpart                 16384  0
8021q                  36864  0
mac80211              905216  2 ath9k_hw,ath9k
mrp                    20480  1 8021q
msr                    16384  0
cmdlinepart            16384  0
kvm                   708608  1 kvm_intel
nouveau              2023424  1
intel_spi_platform     16384  0
intel_spi              20480  1 intel_spi_platform
spi_nor                36864  1 intel_spi
i915                 1986560  97
mtd                    69632  6 spi_nor,ofpart,intel_spi,cmdlinepart
eeprom                 16384  0
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
uvcvideo              106496  0
ghash_clmulni_intel    16384  0
pcbc                   16384  0
videobuf2_vmalloc      16384  1 uvcvideo
mxm_wmi                16384  1 nouveau
snd_hda_codec_realtek   106496  1
videobuf2_memops       16384  1 videobuf2_vmalloc
cfg80211              749568  4 mac80211,ath9k,ath,ath9k_common
ttm                   122880  1 nouveau
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
videobuf2_v4l2         28672  1 uvcvideo
i2c_algo_bit           16384  2 nouveau,i915
ath3k                  20480  0
aesni_intel           188416  4
drm_kms_helper        200704  2 nouveau,i915
aes_x86_64             20480  1 aesni_intel
btusb                  53248  0
crypto_simd            16384  1 aesni_intel
glue_helper            16384  1 aesni_intel
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
snd_hda_intel          45056  7
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel,aesni_intel
btintel                24576  1 btusb
videobuf2_common       49152  2 uvcvideo,videobuf2_v4l2
alx                    49152  0
intel_cstate           16384  0
snd_hda_codec         151552  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
bluetooth             634880  13 btrtl,btintel,bnep,btbcm,ath3k,btusb
drm                   466944  35 nouveau,i915,ttm,drm_kms_helper
intel_uncore          131072  0
mdio                   16384  1 alx
videodev              208896  3 uvcvideo,videobuf2_common,videobuf2_v4l2
snd_hda_core           94208  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
ip6t_REJECT            16384  1
nf_reject_ipv6         16384  1 ip6t_REJECT
intel_rapl_perf        16384  0
nf_log_ipv6            16384  10
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               135168  5 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
media                  45056  2 uvcvideo,videodev
joydev                 24576  0
snd_timer              36864  1 snd_pcm
mousedev               24576  0
intel_gtt              24576  1 i915
snd                    98304  21 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
agpgart                49152  4 intel_gtt,nouveau,ttm,drm
mei_me                 45056  0
input_leds             16384  0
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
ecdh_generic           24576  1 bluetooth
sysimgblt              16384  1 drm_kms_helper
xt_hl                  16384  22
fb_sys_fops            16384  1 drm_kms_helper
mei                   106496  1 mei_me
soundcore              16384  1 snd
i2c_i801               32768  0
shpchp                 40960  0
psmouse               167936  0
ip6t_rt                16384  3
lpc_ich                28672  0
ie31200_edac           16384  0
led_class              16384  3 input_leds,ath9k,nouveau
pcspkr                 16384  0
ideapad_laptop         36864  0
sparse_keymap          16384  1 ideapad_laptop
rfkill                 28672  9 bluetooth,ideapad_laptop,cfg80211
wmi                    28672  3 mxm_wmi,nouveau,ideapad_laptop
nf_conntrack_ipv6      16384  8
ac                     16384  0
evdev                  24576  19
nf_defrag_ipv6         36864  1 nf_conntrack_ipv6
battery                20480  0
rtc_cmos               24576  1
mac_hid                16384  0
ipt_REJECT             16384  1
nf_reject_ipv4         16384  1 ipt_REJECT
nf_log_ipv4            16384  10
nf_log_common          16384  2 nf_log_ipv6,nf_log_ipv4
xt_LOG                 16384  20
xt_multiport           16384  4
xt_limit               16384  3
xt_tcpudp              16384  30
xt_addrtype            16384  4
nf_conntrack_ipv4      16384  8
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
xt_conntrack           16384  16
ip6table_filter        16384  1
ip6_tables             32768  1 ip6table_filter
nf_conntrack_netbios_ns    16384  0
nf_conntrack_broadcast    16384  1 nf_conntrack_netbios_ns
nf_nat_ftp             16384  0
nf_nat                 36864  1 nf_nat_ftp
nf_conntrack_ftp       20480  1 nf_nat_ftp
nf_conntrack          155648  8 nf_conntrack_ipv6,nf_conntrack_ftp,nf_conntrack_ipv4,nf_conntrack_broadcast,nf_nat_ftp,nf_conntrack_netbios_ns,xt_conntrack,nf_nat
libcrc32c              16384  2 nf_conntrack,nf_nat
crc32c_generic         16384  0
iptable_filter         16384  1
vboxnetflt             32768  0
vboxnetadp             28672  0
vboxpci                28672  0
vboxdrv               483328  3 vboxnetadp,vboxnetflt,vboxpci
sg                     40960  0
crypto_user            16384  0
ip_tables              28672  1 iptable_filter
x_tables               45056  14 xt_LOG,xt_multiport,ipt_REJECT,ip_tables,iptable_filter,xt_tcpudp,xt_limit,ip6t_REJECT,ip6table_filter,xt_addrtype,ip6t_rt,xt_conntrack,ip6_tables,xt_hl
ext4                  712704  1
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  122880  1 ext4
fscrypto               32768  1 ext4
hid_generic            16384  0
usbhid                 57344  0
hid                   135168  2 hid_generic,usbhid
sr_mod                 28672  0
sd_mod                 61440  3
cdrom                  69632  1 sr_mod
ahci                   40960  2
libahci                40960  1 ahci
serio_raw              16384  0
atkbd                  32768  0
libps2                 16384  2 atkbd,psmouse
xhci_pci               16384  0
ehci_pci               16384  0
libata                278528  2 ahci,libahci
xhci_hcd              258048  1 xhci_pci
ehci_hcd               94208  1 ehci_pci
crc32c_intel           24576  1
scsi_mod              258048  4 sd_mod,libata,sr_mod,sg
usbcore               290816  9 uvcvideo,usbhid,ehci_hcd,cdc_acm,xhci_pci,ath3k,btusb,xhci_hcd,ehci_pci
usb_common             16384  1 usbcore
i8042                  32768  1 ideapad_laptop
serio                  28672  6 serio_raw,atkbd,psmouse,i8042

Last edited by mani.zaeim (2018-04-27 08:52:40)

Offline

#2 2018-06-13 08:32:15

mani.zaeim
Member
Registered: 2016-12-19
Posts: 24

Re: KDE Plasma 5 Netwrok Issue - PacketLost/Timeout after resume Suspend

I still have the problem with this.
as you can see in below I had multiple rroute entry.

 sudo route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.43.1    0.0.0.0         UG    303    0        0 wlp8s0
172.17.0.0      0.0.0.0         255.255.0.0     U     0      0        0 docker0
192.168.43.0    0.0.0.0         255.255.255.0   U     303    0        0 wlp8s0
192.168.43.0    0.0.0.0         255.255.255.0   U     600    0        0 wlp8s0
192.168.43.0    0.0.0.0         255.255.255.0   U     600    0        0 wlp8s0

after connecting and disconnecting a few times the route table get fixed.

I tried to get connected by th wifi but I did not have any internet access, here is the journalctl output

journalctl -f -u NetworkManager.service

Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.4203] device (wlp8s0): Activation: starting connection 'AccessPoint' (853d5b17-8753-4079-8817-8a29f1779609)
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.4204] audit: op="connection-activate" uuid="853d5b17-8753-4079-8817-8a29f1779609" name="AccessPoint" pid=3659 uid=1000 result="success"
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.4205] device (wlp8s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.4207] manager: NetworkManager state is now CONNECTING
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.4356] device (wlp8s0): set-hw-addr: set-cloned MAC address to 2A:83:D1:D8:26:D6 (2A:83:D1:D8:26:D6)
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.4614] device (wlp8s0): supplicant interface state: disconnected -> disabled
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.4617] device (wlp8s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.4619] device (wlp8s0): Activation: (wifi) access point 'AccessPoint' has security, but secrets are required.
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.4620] device (wlp8s0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.4754] device (wlp8s0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.4756] device (wlp8s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.4758] device (wlp8s0): Activation: (wifi) connection 'AccessPoint' has security, and secrets exist.  No new secrets needed.
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.4758] Config: added 'ssid' value 'AccessPoint'
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.4758] Config: added 'scan_ssid' value '1'
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.4758] Config: added 'bgscan' value 'simple:30:-80:86400'
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.4758] Config: added 'key_mgmt' value 'WPA-PSK'
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.4758] Config: added 'psk' value '<hidden>'
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.5025] device (wlp8s0): supplicant interface state: disabled -> disconnected
Jun 13 16:26:31 laptop NetworkManager[511]: <info>  [1528878391.5146] device (wlp8s0): supplicant interface state: disconnected -> scanning
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.5057] device (wlp8s0): supplicant interface state: scanning -> authenticating
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.5206] device (wlp8s0): supplicant interface state: authenticating -> associating
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.5431] device (wlp8s0): supplicant interface state: associating -> associated
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.5554] device (wlp8s0): supplicant interface state: associated -> 4-way handshake
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.5651] device (wlp8s0): supplicant interface state: 4-way handshake -> completed
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.5651] device (wlp8s0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 'AccessPoint'.
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.5652] device (wlp8s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.5654] dhcp4 (wlp8s0): activation: beginning transaction (timeout in 45 seconds)
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.6713] dhcp4 (wlp8s0):   address 192.168.43.176
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.6713] dhcp4 (wlp8s0):   plen 24
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.6713] dhcp4 (wlp8s0):   expires in 3600 seconds
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.6713] dhcp4 (wlp8s0):   nameserver '192.168.43.1'
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.6713] dhcp4 (wlp8s0):   hostname 'laptop'
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.6714] dhcp4 (wlp8s0):   gateway 192.168.43.1
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.6716] dhcp4 (wlp8s0): state changed unknown -> bound
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.6733] device (wlp8s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.6739] device (wlp8s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.6741] device (wlp8s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.6742] manager: NetworkManager state is now CONNECTED_LOCAL
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.6826] manager: NetworkManager state is now CONNECTED_SITE
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.6827] policy: set 'AccessPoint' (wlp8s0) as default for IPv4 routing and DNS
Jun 13 16:26:32 laptop NetworkManager[511]: <info>  [1528878392.6908] device (wlp8s0): Activation: successful, device activated.
Jun 13 16:26:33 laptop NetworkManager[511]: <info>  [1528878393.7441] manager: NetworkManager state is now CONNECTED_GLOBAL

after less than 5 mins I get disconnected with Ethernet:

Jun 13 16:32:50 laptop NetworkManager[511]: <info>  [1528878770.4704] manager: NetworkManager state is now CONNECTED_SITE
Jun 13 16:32:56 laptop NetworkManager[511]: <info>  [1528878776.4647] device (enp7s0): state change: activated -> unavailable (reason 'carrier-changed', sys-iface-state: 'managed')
Jun 13 16:32:56 laptop NetworkManager[511]: <info>  [1528878776.4648] dhcp4 (enp7s0): canceled DHCP transaction
Jun 13 16:32:56 laptop NetworkManager[511]: <info>  [1528878776.4648] dhcp4 (enp7s0): state changed bound -> done
Jun 13 16:32:56 laptop NetworkManager[511]: <info>  [1528878776.4722] device (enp7s0): set-hw-addr: reset MAC address to 28:D2:44:49:76:8A (deactivate)
Jun 13 16:32:56 laptop NetworkManager[511]: <info>  [1528878776.4811] manager: NetworkManager state is now CONNECTED_LOCAL
Jun 13 16:33:09 laptop NetworkManager[511]: <info>  [1528878789.6524] device (enp7s0): carrier: link connected
Jun 13 16:33:09 laptop NetworkManager[511]: <info>  [1528878789.6526] device (enp7s0): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed')
Jun 13 16:33:09 laptop NetworkManager[511]: <info>  [1528878789.6534] policy: auto-activating connection 'enp7s0'
Jun 13 16:33:09 laptop NetworkManager[511]: <info>  [1528878789.6540] device (enp7s0): Activation: starting connection 'enp7s0' (46384535-69f6-434e-9348-58b5ca58d6d8)
Jun 13 16:33:09 laptop NetworkManager[511]: <info>  [1528878789.6541] device (enp7s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Jun 13 16:33:09 laptop NetworkManager[511]: <info>  [1528878789.6542] manager: NetworkManager state is now CONNECTING
Jun 13 16:33:09 laptop NetworkManager[511]: <info>  [1528878789.6576] device (enp7s0): set-hw-addr: set-cloned MAC address to 98:DE:D0:04:A2:65 (98:DE:D0:04:A2:65)
Jun 13 16:33:09 laptop NetworkManager[511]: <info>  [1528878789.6599] device (enp7s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jun 13 16:33:09 laptop NetworkManager[511]: <info>  [1528878789.6622] device (enp7s0): carrier: link connected
Jun 13 16:33:09 laptop NetworkManager[511]: <info>  [1528878789.6623] device (enp7s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Jun 13 16:33:09 laptop NetworkManager[511]: <info>  [1528878789.6626] dhcp4 (enp7s0): activation: beginning transaction (timeout in 45 seconds)
Jun 13 16:33:12 laptop NetworkManager[511]: <info>  [1528878792.6038] device (enp7s0): carrier: link connected
Jun 13 16:33:14 laptop NetworkManager[511]: <info>  [1528878794.8754] dhcp4 (enp7s0):   address 172.17.28.173
Jun 13 16:33:14 laptop NetworkManager[511]: <info>  [1528878794.8754] dhcp4 (enp7s0):   plen 22
Jun 13 16:33:14 laptop NetworkManager[511]: <info>  [1528878794.8754] dhcp4 (enp7s0):   expires in 86400 seconds
Jun 13 16:33:14 laptop NetworkManager[511]: <info>  [1528878794.8754] dhcp4 (enp7s0):   nameserver '172.16.1.30'
Jun 13 16:33:14 laptop NetworkManager[511]: <info>  [1528878794.8754] dhcp4 (enp7s0):   nameserver '172.16.1.11'
Jun 13 16:33:14 laptop NetworkManager[511]: <info>  [1528878794.8755] dhcp4 (enp7s0):   domain name 'SLAKE.SSSB.COM'
Jun 13 16:33:14 laptop NetworkManager[511]: <info>  [1528878794.8755] dhcp4 (enp7s0):   gateway 172.17.28.4
Jun 13 16:33:14 laptop NetworkManager[511]: <info>  [1528878794.8815] dhcp4 (enp7s0): state changed unknown -> bound
Jun 13 16:33:14 laptop NetworkManager[511]: <info>  [1528878794.8825] device (enp7s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Jun 13 16:33:14 laptop NetworkManager[511]: <info>  [1528878794.8832] device (enp7s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Jun 13 16:33:14 laptop NetworkManager[511]: <info>  [1528878794.8834] device (enp7s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Jun 13 16:33:14 laptop NetworkManager[511]: <info>  [1528878794.8835] manager: NetworkManager state is now CONNECTED_LOCAL
Jun 13 16:33:14 laptop NetworkManager[511]: <info>  [1528878794.8864] manager: NetworkManager state is now CONNECTED_SITE
Jun 13 16:33:14 laptop NetworkManager[511]: <info>  [1528878794.8865] policy: set 'enp7s0' (enp7s0) as default for IPv4 routing and DNS
Jun 13 16:33:14 laptop NetworkManager[511]: <info>  [1528878794.8899] device (enp7s0): Activation: successful, device activated.
Jun 13 16:33:16 laptop NetworkManager[511]: <info>  [1528878796.2657] manager: NetworkManager state is now CONNECTED_GLOBAL
Jun 13 16:34:04 laptop NetworkManager[511]: <info>  [1528878844.9779] manager: NetworkManager state is now CONNECTED_SITE
Jun 13 16:34:10 laptop NetworkManager[511]: <info>  [1528878850.0141] policy: set 'enp7s0' (enp7s0) as default for IPv4 routing and DNS
Jun 13 16:34:10 laptop NetworkManager[511]: <info>  [1528878850.4811] manager: NetworkManager state is now CONNECTED_GLOBAL
Jun 13 16:34:26 laptop NetworkManager[511]: <info>  [1528878866.5068] device (wlp8s0): set-hw-addr: set MAC address to 0A:3D:1A:A3:9D:0B (scanning)
Jun 13 16:34:26 laptop NetworkManager[511]: <info>  [1528878866.5326] device (wlp8s0): supplicant interface state: disconnected -> disabled
Jun 13 16:34:26 laptop NetworkManager[511]: <info>  [1528878866.5562] device (wlp8s0): supplicant interface state: disabled -> disconnected

Last edited by mani.zaeim (2018-06-13 08:36:39)

Offline

#3 2018-06-13 09:09:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 4,981

Re: KDE Plasma 5 Netwrok Issue - PacketLost/Timeout after resume Suspend

FWIW NetworkManager's internal dhcp tends to have issues like that, see if switching to dhclient resolves this: https://wiki.archlinux.org/index.php/Ne … HCP_client

Offline

#4 2018-06-13 12:19:15

mani.zaeim
Member
Registered: 2016-12-19
Posts: 24

Re: KDE Plasma 5 Netwrok Issue - PacketLost/Timeout after resume Suspend

Thanks for the reply,
I am not sure is it correct or not, but in the system I didnt have /etc/dhclient.conf and /etc/NetworkManager/conf.d/dhcp-client.conf files, so i just created it and added the below:

cat /etc/NetworkManager/conf.d/dhcp-client.conf
[main]
dhcp=dhclient
interface "enp7s0" {
   send dhcp-client-identifier MACADDRESS;
}
interface "wlp8s0" {
   send dhcp-client-identifier MACADDRESS;
}

would be appreciated if you let me know whether is correct or I need to add more parameters.

Offline

#5 2018-06-13 12:48:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 4,981

Re: KDE Plasma 5 Netwrok Issue - PacketLost/Timeout after resume Suspend

Should be ok, I've never had issues with  dhclient identifiers so the /etc/dhclient.conf might be redundant, but is likely to not hurt if present either way.

Offline

Board footer

Powered by FluxBB