Hello to everyone,
I’m using Manjaro for about 6 months and I can say that it’s one of my favorite distro. Now I have a problem and I would like to know which is the cause.
Until now, my internet connection was through WiFi using a Wireless adapter. Some days ago I decided to buy a Ethernet/USB dongle (with chipset Realtek RTL8153) to improve the connection performance. The connection with the WiFi works well while the wired connection does not work: the connection deactivates itself or the speed becomes zero after a random period of time (may be after 1 minute, may be 10 minutes).
What I did:
- I tested the connection with other distros (Pop OS, Ubuntu). The wired connection works properly without any issue.
- I installed and selected the same Kernel (5.4) used with other distros, checking the driver version (it is r8152 v1.10.11). Nope.
- I downgraded the NetworkManager selecting the same version running on Pop OS (v1.22.10, while the latest is the v1.26.2-1). Nope.
- I tried to debug the log of the NetworkManager with journalctl but I did not find any error or problems.
- I installed dhclient and configured the NetworkManager to use it. Nope.
In addition when the connection drops or deactivates the NetworkManager can not be restarted. The laptop hangs on the shutdown waiting for the NetworkManager service and I had to poweroff the computer with the power button.
➜ ~ inxi -N
Network: Device-1: Broadcom and subsidiaries BCM4352 802.11ac Wireless Network Adapter driver: wl
Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
➜ ~ journalctl -u NetworkManager.service -f
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6258] device (enp0s20u2u4): Activation: starting connection 'Wired connection 1' (ccdf6e0f-9eb6-3375-8822-6eee7c72bb33)
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6259] audit: op="connection-activate" uuid="ccdf6e0f-9eb6-3375-8822-6eee7c72bb33" name="Wired connection 1" pid=1125 uid=1000 result="success"
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6261] device (enp0s20u2u4): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6265] manager: NetworkManager state is now CONNECTING
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6269] device (enp0s20u2u4): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6283] device (enp0s20u2u4): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6287] dhcp4 (enp0s20u2u4): activation: beginning transaction (timeout in 45 seconds)
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6299] dhcp4 (enp0s20u2u4): dhclient started with pid 6834
set 25 14:48:59 mylap13 dhclient[6834]: DHCPREQUEST for 192.168.1.199 on enp0s20u2u4 to 255.255.255.255 port 67
set 25 14:48:59 mylap13 dhclient[6834]: DHCPACK of 192.168.1.199 from 192.168.1.1
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6662] dhcp4 (enp0s20u2u4): address 192.168.1.199
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6663] dhcp4 (enp0s20u2u4): plen 24 (255.255.255.0)
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6663] dhcp4 (enp0s20u2u4): gateway 192.168.1.1
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6663] dhcp4 (enp0s20u2u4): lease time 4294967295
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6664] dhcp4 (enp0s20u2u4): nameserver '8.8.8.8'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6664] dhcp4 (enp0s20u2u4): nameserver '8.8.4.4'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6664] dhcp4 (enp0s20u2u4): option broadcast_address => '192.168.1.255'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6664] dhcp4 (enp0s20u2u4): option dad_wait_time => '0'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6664] dhcp4 (enp0s20u2u4): option dhcp_lease_time => '4294967295'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6665] dhcp4 (enp0s20u2u4): option dhcp_message_type => '5'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6665] dhcp4 (enp0s20u2u4): option dhcp_server_identifier => '192.168.1.1'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6665] dhcp4 (enp0s20u2u4): option domain_name_servers => '8.8.8.8 8.8.4.4'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6665] dhcp4 (enp0s20u2u4): option expiry => '5896005434'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6665] dhcp4 (enp0s20u2u4): option ip_address => '192.168.1.199'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6665] dhcp4 (enp0s20u2u4): option network_number => '192.168.1.0'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6665] dhcp4 (enp0s20u2u4): option next_server => '0.0.0.0'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6666] dhcp4 (enp0s20u2u4): option requested_broadcast_address => '1'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6666] dhcp4 (enp0s20u2u4): option requested_domain_name => '1'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6666] dhcp4 (enp0s20u2u4): option requested_domain_name_servers => '1'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6666] dhcp4 (enp0s20u2u4): option requested_host_name => '1'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6666] dhcp4 (enp0s20u2u4): option requested_ms_classless_static_routes => '1'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6667] dhcp4 (enp0s20u2u4): option requested_ntp_servers => '1'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6667] dhcp4 (enp0s20u2u4): option requested_rfc3442_classless_static_routes => '1'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6667] dhcp4 (enp0s20u2u4): option requested_root_path => '1'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6667] dhcp4 (enp0s20u2u4): option requested_routers => '1'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6667] dhcp4 (enp0s20u2u4): option requested_static_routes => '1'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6667] dhcp4 (enp0s20u2u4): option requested_subnet_mask => '1'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6667] dhcp4 (enp0s20u2u4): option requested_time_offset => '1'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6668] dhcp4 (enp0s20u2u4): option requested_wpad => '1'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6668] dhcp4 (enp0s20u2u4): option routers => '192.168.1.1'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6668] dhcp4 (enp0s20u2u4): option subnet_mask => '255.255.255.0'
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6668] dhcp4 (enp0s20u2u4): state changed unknown -> extended
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6702] device (enp0s20u2u4): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6736] device (enp0s20u2u4): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6740] device (enp0s20u2u4): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6752] manager: NetworkManager state is now CONNECTED_LOCAL
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6763] manager: NetworkManager state is now CONNECTED_SITE
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6764] policy: set 'Wired connection 1' (enp0s20u2u4) as default for IPv4 routing and DNS
set 25 14:48:59 mylap13 dhclient[6834]: Timeout too large reducing to: 2147483646 (TIME_MAX - 1)
set 25 14:48:59 mylap13 dhclient[6834]: bound to 192.168.1.199 -- renewal in 2147483648 seconds.
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.6812] device (enp0s20u2u4): Activation: successful, device activated.
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.7115] audit: op="statistics" arg="refresh-rate-ms" pid=1125 uid=1000 result="success"
set 25 14:48:59 mylap13 NetworkManager[457]: <info> [1601038139.7977] manager: NetworkManager state is now CONNECTED_GLOBAL
set 25 14:49:02 mylap13 NetworkManager[457]: <info> [1601038142.4527] dhcp6 (enp0s20u2u4): activation: beginning transaction (timeout in 45 seconds)
set 25 14:49:02 mylap13 NetworkManager[457]: <info> [1601038142.4546] dhcp6 (enp0s20u2u4): dhclient started with pid 6862
set 25 14:49:03 mylap13 dhclient[6862]: XMT: Info-Request on enp0s20u2u4, interval 1020ms.
set 25 14:49:04 mylap13 dhclient[6862]: XMT: Info-Request on enp0s20u2u4, interval 2010ms.
set 25 14:49:06 mylap13 dhclient[6862]: XMT: Info-Request on enp0s20u2u4, interval 4170ms.
set 25 14:49:10 mylap13 dhclient[6862]: XMT: Info-Request on enp0s20u2u4, interval 8380ms.
set 25 14:49:18 mylap13 NetworkManager[457]: <info> [1601038158.1160] audit: op="statistics" arg="refresh-rate-ms" pid=1125 uid=1000 result="success"
set 25 14:49:19 mylap13 dhclient[6862]: XMT: Info-Request on enp0s20u2u4, interval 17230ms.
set 25 14:49:36 mylap13 dhclient[6862]: XMT: Info-Request on enp0s20u2u4, interval 36160ms.
set 25 14:49:47 mylap13 NetworkManager[457]: <warn> [1601038187.9852] dhcp6 (enp0s20u2u4): request timed out
set 25 14:49:47 mylap13 NetworkManager[457]: <info> [1601038187.9852] dhcp6 (enp0s20u2u4): state changed unknown -> timeout
set 25 14:49:47 mylap13 NetworkManager[457]: <info> [1601038187.9861] dhcp6 (enp0s20u2u4): canceled DHCP transaction, DHCP client pid 6862
set 25 14:49:47 mylap13 NetworkManager[457]: <info> [1601038187.9861] dhcp6 (enp0s20u2u4): state changed timeout -> done
➜ ~ ifconfig -a
enp0s20u2u4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.199 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::505e:a85d:a2fb:10ae prefixlen 64 scopeid 0x20<link>
ether 00:e0:4c:68:75:72 txqueuelen 1000 (Ethernet)
RX packets 17258 bytes 17284140 (16.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12522 bytes 1463864 (1.3 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 18 bytes 2244 (2.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 18 bytes 2244 (2.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp2s0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 06:a5:20:02:5c:03 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 19
Thank you for your support!