Network disconnect: constantly up and down

I’m having problems with the network manager constantly connecting and disconnecting. It’s not a hardware problem since this does not happen with Debian 11 bulleye.

The network manager connecting and disconnecting every few minutes.

I have search and tried disabling tlp, changing the network manager to unmanage the up/down with [ifupdown] managed=false. Still the same problem.

   2158:Feb 13 19:57:28 manjaro kernel: r8152 2-1.4:1.0 enp4s0f3u1u4: renamed from eth0
   2159:Feb 13 19:57:28 manjaro NetworkManager[668]: <info>  [1644782248.5801] device (eth0): interface index 2 renamed iface from 'eth0' to 'enp4s0f3u1u4'
   2160:Feb 13 19:57:28 manjaro NetworkManager[668]: <info>  [1644782248.5882] device (enp4s0f3u1u4): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
   2161:Feb 13 19:57:28 manjaro NetworkManager[668]: <info>  [1644782248.5956] settings: (enp4s0f3u1u4): created default wired connection 'Wired connection 1'
   2162:Feb 13 19:57:28 manjaro NetworkManager[668]: <info>  [1644782248.6138] device (enp4s0f3u1u4): carrier: link connected
   2163:Feb 13 19:57:28 manjaro NetworkManager[668]: <info>  [1644782248.6149] device (enp4s0f3u1u4): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed')
   2165:Feb 13 19:57:28 manjaro kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0f3u1u4: link becomes ready
   2166:Feb 13 19:57:28 manjaro kernel: r8152 2-1.4:1.0 enp4s0f3u1u4: carrier on
   2167:Feb 13 19:57:28 manjaro NetworkManager[668]: <info>  [1644782248.6167] device (enp4s0f3u1u4): Activation: starting connection 'Wired connection 1' (b947680a-2be0-3b54-9b52-6374c592f5ea)
   2168:Feb 13 19:57:28 manjaro NetworkManager[668]: <info>  [1644782248.6169] device (enp4s0f3u1u4): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
   2170:Feb 13 19:57:28 manjaro NetworkManager[668]: <info>  [1644782248.6173] device (enp4s0f3u1u4): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
   2171:Feb 13 19:57:28 manjaro NetworkManager[668]: <info>  [1644782248.6180] device (enp4s0f3u1u4): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
   2172:Feb 13 19:57:28 manjaro NetworkManager[668]: <info>  [1644782248.6183] dhcp4 (enp4s0f3u1u4): activation: beginning transaction (timeout in 45 seconds)
   2173:Feb 13 19:57:28 manjaro avahi-daemon[661]: Joining mDNS multicast group on interface enp4s0f3u1u4.IPv6 with address fe80::33ad:c79d:8589:83d9.
   2174:Feb 13 19:57:28 manjaro avahi-daemon[661]: New relevant interface enp4s0f3u1u4.IPv6 for mDNS.
   2175:Feb 13 19:57:28 manjaro avahi-daemon[661]: Registering new address record for fe80::33ad:c79d:8589:83d9 on enp4s0f3u1u4.*.
   2176:Feb 13 19:57:28 manjaro NetworkManager[668]: <info>  [1644782248.6240] dhcp4 (enp4s0f3u1u4): state changed unknown -> bound, address=192.168.8.101
   2177:Feb 13 19:57:28 manjaro avahi-daemon[661]: Joining mDNS multicast group on interface enp4s0f3u1u4.IPv4 with address 192.168.8.101.
   2178:Feb 13 19:57:28 manjaro avahi-daemon[661]: New relevant interface enp4s0f3u1u4.IPv4 for mDNS.
   2179:Feb 13 19:57:28 manjaro avahi-daemon[661]: Registering new address record for 192.168.8.101 on enp4s0f3u1u4.IPv4.
   2180:Feb 13 19:57:28 manjaro NetworkManager[668]: <info>  [1644782248.6250] device (enp4s0f3u1u4): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
   2181:Feb 13 19:57:28 manjaro NetworkManager[668]: <info>  [1644782248.6259] policy: set 'Wired connection 1' (enp4s0f3u1u4) as default for IPv4 routing and DNS
   2184:Feb 13 19:57:28 manjaro NetworkManager[668]: <info>  [1644782248.6273] device (enp4s0f3u1u4): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
   2185:Feb 13 19:57:28 manjaro NetworkManager[668]: <info>  [1644782248.6276] device (enp4s0f3u1u4): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
   2187:Feb 13 19:57:28 manjaro NetworkManager[668]: <info>  [1644782248.6284] device (enp4s0f3u1u4): Activation: successful, device activated.
   3908:Feb 13 20:05:39 manjaro avahi-daemon[661]: Interface enp4s0f3u1u4.IPv6 no longer relevant for mDNS.
   3909:Feb 13 20:05:39 manjaro avahi-daemon[661]: Leaving mDNS multicast group on interface enp4s0f3u1u4.IPv6 with address fe80::33ad:c79d:8589:83d9.
   3910:Feb 13 20:05:39 manjaro avahi-daemon[661]: Interface enp4s0f3u1u4.IPv4 no longer relevant for mDNS.
   3911:Feb 13 20:05:39 manjaro avahi-daemon[661]: Leaving mDNS multicast group on interface enp4s0f3u1u4.IPv4 with address 192.168.8.101.
   3912:Feb 13 20:05:39 manjaro avahi-daemon[661]: Withdrawing address record for fe80::33ad:c79d:8589:83d9 on enp4s0f3u1u4.
   3913:Feb 13 20:05:39 manjaro NetworkManager[668]: <info>  [1644782739.3712] device (enp4s0f3u1u4): state change: activated -> unmanaged (reason 'removed', sys-iface-state: 'removed')
   3914:Feb 13 20:05:39 manjaro avahi-daemon[661]: Withdrawing address record for 192.168.8.101 on enp4s0f3u1u4.
   3915:Feb 13 20:05:39 manjaro NetworkManager[668]: <info>  [1644782739.4029] dhcp4 (enp4s0f3u1u4): canceled DHCP transaction
   3916:Feb 13 20:05:39 manjaro NetworkManager[668]: <info>  [1644782739.4030] dhcp4 (enp4s0f3u1u4): state changed bound -> terminated
   3964:Feb 13 20:05:40 manjaro kernel: r8152 2-1.4:1.0 enp4s0f3u1u4: renamed from eth0
   3965:Feb 13 20:05:40 manjaro NetworkManager[668]: <info>  [1644782740.6443] device (eth0): interface index 4 renamed iface from 'eth0' to 'enp4s0f3u1u4'
   3966:Feb 13 20:05:40 manjaro NetworkManager[668]: <info>  [1644782740.6502] device (enp4s0f3u1u4): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
   3968:Feb 13 20:05:40 manjaro NetworkManager[668]: <info>  [1644782740.6564] settings: (enp4s0f3u1u4): created default wired connection 'Wired connection 1'
   3969:Feb 13 20:05:42 manjaro NetworkManager[668]: <info>  [1644782742.5347] device (enp4s0f3u1u4): carrier: link connected
   3970:Feb 13 20:05:42 manjaro NetworkManager[668]: <info>  [1644782742.5358] device (enp4s0f3u1u4): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed')
   3971:Feb 13 20:05:42 manjaro kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0f3u1u4: link becomes ready
   3972:Feb 13 20:05:42 manjaro kernel: r8152 2-1.4:1.0 enp4s0f3u1u4: carrier on
   3974:Feb 13 20:05:42 manjaro NetworkManager[668]: <info>  [1644782742.5379] device (enp4s0f3u1u4): Activation: starting connection 'Wired connection 1' (b947680a-2be0-3b54-9b52-6374c592f5ea)
   3975:Feb 13 20:05:42 manjaro NetworkManager[668]: <info>  [1644782742.5381] device (enp4s0f3u1u4): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
   3977:Feb 13 20:05:42 manjaro NetworkManager[668]: <info>  [1644782742.5386] device (enp4s0f3u1u4): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
   3978:Feb 13 20:05:42 manjaro NetworkManager[668]: <info>  [1644782742.5392] device (enp4s0f3u1u4): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
   3979:Feb 13 20:05:42 manjaro NetworkManager[668]: <info>  [1644782742.5396] dhcp4 (enp4s0f3u1u4): activation: beginning transaction (timeout in 45 seconds)
   3980:Feb 13 20:05:42 manjaro avahi-daemon[661]: Joining mDNS multicast group on interface enp4s0f3u1u4.IPv6 with address fe80::33ad:c79d:8589:83d9.
   3981:Feb 13 20:05:42 manjaro avahi-daemon[661]: New relevant interface enp4s0f3u1u4.IPv6 for mDNS.
   3982:Feb 13 20:05:42 manjaro avahi-daemon[661]: Registering new address record for fe80::33ad:c79d:8589:83d9 on enp4s0f3u1u4.*.
   3983:Feb 13 20:05:42 manjaro NetworkManager[668]: <info>  [1644782742.5440] dhcp4 (enp4s0f3u1u4): state changed unknown -> bound, address=192.168.8.101
   3984:Feb 13 20:05:42 manjaro avahi-daemon[661]: Joining mDNS multicast group on interface enp4s0f3u1u4.IPv4 with address 192.168.8.101.
   3985:Feb 13 20:05:42 manjaro avahi-daemon[661]: New relevant interface enp4s0f3u1u4.IPv4 for mDNS.
   3986:Feb 13 20:05:42 manjaro avahi-daemon[661]: Registering new address record for 192.168.8.101 on enp4s0f3u1u4.IPv4.
   3987:Feb 13 20:05:42 manjaro NetworkManager[668]: <info>  [1644782742.5454] device (enp4s0f3u1u4): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
   3988:Feb 13 20:05:42 manjaro NetworkManager[668]: <info>  [1644782742.5465] policy: set 'Wired connection 1' (enp4s0f3u1u4) as default for IPv4 routing and DNS
   3989:Feb 13 20:05:42 manjaro NetworkManager[668]: <info>  [1644782742.5476] device (enp4s0f3u1u4): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
   3990:Feb 13 20:05:42 manjaro NetworkManager[668]: <info>  [1644782742.5479] device (enp4s0f3u1u4): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
   3992:Feb 13 20:05:42 manjaro NetworkManager[668]: <info>  [1644782742.5488] device (enp4s0f3u1u4): Activation: successful, device activated.

Here’s my manjaro inxi:

System:    Kernel: 5.15.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 
           info: xfce4-panel wm: xfwm4 dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:   Type: Convertible System: LENOVO product: 81X2 v: IdeaPad Flex 5 14ARE05 serial: <filter> Chassis: type: 31 
           v: IdeaPad Flex 5 14ARE05 serial: <filter> 
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: <filter> UEFI: LENOVO v: EECN36WW date: 05/17/2021 
Battery:   ID-1: BAT0 charge: 31.2 Wh condition: 52.5/52.5 Wh (100%) volts: 11.3/11.5 model: Celxpert L19C3PD6 type: Li-poly 
           serial: <filter> status: Unknown cycles: 3 
CPU:       Info: 8-Core model: AMD Ryzen 7 4700U with Radeon Graphics bits: 64 type: MCP arch: Zen 2 rev: 1 L1 cache: 512 KiB 
           L2 cache: 4 MiB L3 cache: 7.8 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 31958 
           Speed: 1453 MHz min/max: 1400/2000 MHz boost: enabled volts: 1.2 V ext-clock: 100 MHz Core speeds (MHz): 1: 1453 
           2: 1397 3: 1397 4: 1551 5: 1661 6: 1397 7: 1397 8: 1396 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Renoir vendor: Lenovo driver: amdgpu v: kernel bus ID: 04:00.0 
           chip ID: 1002:1636 class ID: 0300 
           Device-2: Syntek Integrated Camera type: USB driver: uvcvideo bus ID: 1-4:4 chip ID: 174f:243f class ID: 0e02 
           serial: <filter> 
           Display: x11 server: X.Org 1.21.1.3 driver: loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa 
           resolution: 2560x1080~60Hz s-dpi: 96 
           Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition Audio driver: snd_hda_intel v: kernel 
           bus ID: 04:00.1 chip ID: 1002:1637 class ID: 0403 
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo driver: N/A 
           bus ID: 04:00.5 chip ID: 1022:15e2 class ID: 0480 
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel 
           bus ID: 04:00.6 chip ID: 1022:15e3 class ID: 0403 
           Sound Server: ALSA v: k5.15.16-1-MANJARO 
Network:   Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: Lenovo driver: rtw_8822ce v: N/A 
           port: 2000 bus ID: 02:00.0 chip ID: 10ec:c822 class ID: 0280 
           IF: wlp2s0 state: down mac: <filter> 
           Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 bus ID: 2-1.4:4 chip ID: 0bda:8153 
           class ID: 0000 serial: <filter> 
           IF: enp4s0f3u1u4 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Bluetooth: Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus ID: 3-4:4 chip ID: 0bda:c123 class ID: e001 
           serial: <filter> 
           Message: Required tool hciconfig not installed. Check --recommends 
Drives:    Local Storage: total: 506.02 GiB used: 88.72 GiB (17.5%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HBJQ-000L2 size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 
           rotation: SSD serial: <filter> rev: 3L1QEXF7 scheme: GPT 
           ID-2: /dev/sda type: USB vendor: Kingston model: DataTraveler 3.0 size: 29.08 GiB serial: <filter> rev: PMAP 
           scheme: MBR 
Partition: ID-1: / size: 11.3 GiB used: 280.6 MiB (2.4%) fs: overlay source: ERR-102 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 41.0 C mobo: 32.0 C gpu: amdgpu temp: 33.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 248 Uptime: 3m wakeups: 7 Memory: 15.07 GiB used: 1.64 GiB (10.9%) Init: systemd v: 250 Compilers: 
           gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1160 Shell: Bash (su) v: 5.1.16 running in: xfce4-terminal inxi: 3.3.01 

Here’s my debian inxi:

System:    Kernel: 5.15.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 
           info: xfce4-panel wm: xfwm4 dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:   Type: Convertible System: LENOVO product: 81X2 v: IdeaPad Flex 5 14ARE05 serial: <filter> Chassis: type: 31 
           v: IdeaPad Flex 5 14ARE05 serial: <filter> 
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: <filter> UEFI: LENOVO v: EECN36WW date: 05/17/2021 
Battery:   ID-1: BAT0 charge: 31.2 Wh condition: 52.5/52.5 Wh (100%) volts: 11.3/11.5 model: Celxpert L19C3PD6 type: Li-poly 
           serial: <filter> status: Unknown cycles: 3 
CPU:       Info: 8-Core model: AMD Ryzen 7 4700U with Radeon Graphics bits: 64 type: MCP arch: Zen 2 rev: 1 L1 cache: 512 KiB 
           L2 cache: 4 MiB L3 cache: 7.8 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 31958 
           Speed: 1453 MHz min/max: 1400/2000 MHz boost: enabled volts: 1.2 V ext-clock: 100 MHz Core speeds (MHz): 1: 1453 
           2: 1397 3: 1397 4: 1551 5: 1661 6: 1397 7: 1397 8: 1396 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Renoir vendor: Lenovo driver: amdgpu v: kernel bus ID: 04:00.0 
           chip ID: 1002:1636 class ID: 0300 
           Device-2: Syntek Integrated Camera type: USB driver: uvcvideo bus ID: 1-4:4 chip ID: 174f:243f class ID: 0e02 
           serial: <filter> 
           Display: x11 server: X.Org 1.21.1.3 driver: loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa 
           resolution: 2560x1080~60Hz s-dpi: 96 
           Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition Audio driver: snd_hda_intel v: kernel 
           bus ID: 04:00.1 chip ID: 1002:1637 class ID: 0403 
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo driver: N/A 
           bus ID: 04:00.5 chip ID: 1022:15e2 class ID: 0480 
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel 
           bus ID: 04:00.6 chip ID: 1022:15e3 class ID: 0403 
           Sound Server: ALSA v: k5.15.16-1-MANJARO 
Network:   Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: Lenovo driver: rtw_8822ce v: N/A 
           port: 2000 bus ID: 02:00.0 chip ID: 10ec:c822 class ID: 0280 
           IF: wlp2s0 state: down mac: <filter> 
           Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 bus ID: 2-1.4:4 chip ID: 0bda:8153 
           class ID: 0000 serial: <filter> 
           IF: enp4s0f3u1u4 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Bluetooth: Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus ID: 3-4:4 chip ID: 0bda:c123 class ID: e001 
           serial: <filter> 
           Message: Required tool hciconfig not installed. Check --recommends 
Drives:    Local Storage: total: 506.02 GiB used: 88.72 GiB (17.5%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HBJQ-000L2 size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 
           rotation: SSD serial: <filter> rev: 3L1QEXF7 scheme: GPT 
           ID-2: /dev/sda type: USB vendor: Kingston model: DataTraveler 3.0 size: 29.08 GiB serial: <filter> rev: PMAP 
           scheme: MBR 
Partition: ID-1: / size: 11.3 GiB used: 280.6 MiB (2.4%) fs: overlay source: ERR-102 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 41.0 C mobo: 32.0 C gpu: amdgpu temp: 33.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 248 Uptime: 3m wakeups: 7 Memory: 15.07 GiB used: 1.64 GiB (10.9%) Init: systemd v: 250 Compilers: 
           gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1160 Shell: Bash (su) v: 5.1.16 running in: xfce4-terminal inxi: 3.3.01 

What should I look at?

Thanks

Hi, I have the same issue with one of my ThinkPads (not with others). Has anyone any idea where to look or what to look for?

Have you solved it @elfroggio ? If so, how did you solve it?

Thanks,
Patrick

You could try the suggestions from this thread

try with a different kernel, with the 5.19 for example, and see if it helps