I have Ubuntu 21.04(Had same on 20.04). And randomly my internet disconnects for 1-5 seconds. When this happends I see this in logs.
14:08:18 whoopsie: [14:08:18] online
14:08:18 whoopsie: [14:08:18] Found usable connection: /org/freedesktop/NetworkManager/ActiveConnection/1
14:08:18 whoopsie: [14:08:18] Not a paid data plan: /org/freedesktop/NetworkManager/ActiveConnection/1
14:08:18 whoopsie: [14:08:18] The default IPv4 route is: /org/freedesktop/NetworkManager/ActiveConnection/1
14:08:18 NetworkManager: <info> [1629803298.4232] manager: NetworkManager state is now CONNECTED_GLOBAL
14:08:18 systemd: Started Network Manager Script Dispatcher Service.
14:08:18 dbus-daemon: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
14:08:18 systemd: Starting Network Manager Script Dispatcher Service...
14:08:18 dbus-daemon: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.9' (uid=0 pid=703 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
14:08:18 whoopsie: [14:08:18] offline
14:08:18 NetworkManager: <info> [1629803298.1533] manager: NetworkManager state is now CONNECTED_SITE
I tried reinstalling linux-headers, updating all packages, and ubuntu itself, and upgraded ubuntu from 20.04 to 21.04. Can this also be my network problem and not linux? Because it is in logs and I dont understand whether it network manager problem or my internet problem
sudo lshw -C network
results as someone requested:
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:04:00.0
logical name: enp4s0
version: 15
serial: b0:6e:bf:c8:0e:3f
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.11.0-31-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.242 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:19 ioport:d000(size=256) memory:f7104000-f7104fff memory:f7100000-f7103fff
Also ls -al /var/crash
total 33376
drwxrwsrwt 2 root whoopsie 4096 Aug 23 23:39 .
drwxr-xr-x 14 root root 4096 Feb 9 2021 ..
-rw-r----- 1 root whoopsie 714106 Aug 23 23:38 postfix.0.crash
-rw-r--r-- 1 root whoopsie 0 Aug 23 23:38 postfix.0.upload
-rw------- 1 whoopsie whoopsie 37 Aug 23 23:39 postfix.0.uploaded
-rw-r----- 1 vadim whoopsie 2906719 Aug 23 23:25 _usr_libexec_tracker-extract.1000.crash
-rw-r----- 1 vadim whoopsie 30538240 Aug 23 23:25 _usr_share_apport_apport-gtk.1000.crash