You are not logged in.

#1 2021-10-13 21:52:45

aa24kk
Member
Registered: 2018-12-27
Posts: 3

Slow wired connection

Hello everyone,

I did a fresh installation of arch on my machine and noted extremely slow download speed on my wired connection (25/50 kib/s, sometimes dropping to 0, with both youtube-dl and pacman).

On a previous Ubuntu machine the same connection ran very fast without any problems, so I suppose there is something to fix in my installation.

My wired connection requires authentication (username and password). With Ubuntu I had to give it decently often (more than once per session). With arch I am asked only roughly once a day. The issue might be related to this.

If some more information could be useful, let me know. Posting here the results of some network-related commands.

ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wlp0s20f3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 8a:88:55:89:c2:72 brd ff:ff:ff:ff:ff:ff permaddr 7c:70:db:41:d4:67
3: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether a0:29:19:0d:ad:d5 brd ff:ff:ff:ff:ff:ff
    inet 10.30.168.76/21 brd 10.30.175.255 scope global dynamic noprefixroute enp0s31f6
       valid_lft 687804sec preferred_lft 687804sec
    inet6 fda0:dec8:78d6::971/128 scope global noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fda0:dec8:78d6:0:dec0:7fc9:6ac3:139a/64 scope global noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fe80::ba65:6bdc:2b37:ab6f/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
ethtool enp0s31f6
Settings for enp0s31f6:
	Supported ports: [ TP ]
	Supported link modes:   10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Full
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Full
	Advertised pause frame use: No
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: 100Mb/s
	Duplex: Full
	Auto-negotiation: on
	Port: Twisted Pair
	PHYAD: 1
	Transceiver: internal
	MDI-X: off (auto)
netlink error: Operation not permitted
        Current message level: 0x00000007 (7)
                               drv probe link
	Link detected: yes
lspci -v
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)
	Subsystem: Intel Corporation Device 4070
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 6053194000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
...
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (13) I219-V (rev 20)
	Subsystem: Dell Device 0a20
	Flags: bus master, fast devsel, latency 0, IRQ 169
	Memory at a2300000 (32-bit, non-prefetchable) [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: e1000e
	Kernel modules: e1000e
dmesg | grep 1000e
836:[    1.766249] e1000e: Intel(R) PRO/1000 Network Driver
837:[    1.766252] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
839:[    1.766614] e1000e 0000:00:1f.6: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
877:[    2.192084] e1000e 0000:00:1f.6 0000:00:1f.6 (uninitialized): registered PHC clock
888:[    2.262672] e1000e 0000:00:1f.6 eth0: (PCI Express:2.5GT/s:Width x1) a0:29:19:0d:ad:d5
889:[    2.262683] e1000e 0000:00:1f.6 eth0: Intel(R) PRO/1000 Network Connection
890:[    2.262791] e1000e 0000:00:1f.6 eth0: MAC: 13, PHY: 12, PBA No: FFFFFF-0FF
922:[    2.776065] e1000e 0000:00:1f.6 enp0s31f6: renamed from eth0
944:[    4.618643] e1000e 0000:00:1f.6 enp0s31f6: NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
945:[    4.618645] e1000e 0000:00:1f.6 enp0s31f6: 10/100 speed: disabling TSO
994:[  815.035265] e1000e 0000:00:1f.6 enp0s31f6: NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
995:[  815.035269] e1000e 0000:00:1f.6 enp0s31f6: 10/100 speed: disabling TSO
1008:[  840.805217] e1000e 0000:00:1f.6 enp0s31f6: NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
1009:[  840.805229] e1000e 0000:00:1f.6 enp0s31f6: 10/100 speed: disabling TSO
1072:[ 1804.009239] e1000e 0000:00:1f.6 enp0s31f6: NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
1073:[ 1804.009253] e1000e 0000:00:1f.6 enp0s31f6: 10/100 speed: disabling TSO

I setup my username with

hostnamectl set-hostname <...>

Thanks a lot.

Offline

#2 2021-10-14 06:53:38

0x0021
Member
Registered: 2021-10-14
Posts: 1

Re: Slow wired connection

Maybe you can try to modify DNS?

Offline

#3 2021-10-14 07:20:12

seth
Member
Registered: 2012-09-03
Posts: 24,084

Re: Slow wired connection

Did you test the LAN speed?

Also make sure that you don't have concurrent web services (the NIC moves UP fairly often…)

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

How do you issue the ethernet credentials? Captive portal?

Online

#4 2021-10-14 20:42:55

aa24kk
Member
Registered: 2018-12-27
Posts: 3

Re: Slow wired connection

seth wrote:

Did you test the LAN speed?

I did a few tests of the LAN speed. The ping is always 2/3 ms, the upload speed is always > 90 Mbps, but the download speed changes wildly (it may be as high as 72 Mbps in one test, and then drop to < 1 Mbps in the next one, and drop severely even during just 1 test, starting high and ending up very low).

seth wrote:

Also make sure that you don't have concurrent web services (the NIC moves UP fairly often…)

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

The output of your suggested command was

 ~ -> find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{printf ("%-40s | %s\n", $NF, $(NF-1)) }' | sort -f
avahi-daemon.service                     | multi-user.target.wants
avahi-daemon.socket                      | sockets.target.wants
cups.path                                | multi-user.target.wants
cups.service                             | printer.target.wants
cups.socket                              | sockets.target.wants
dbus-org.freedesktop.Avahi.service       | system
dbus-org.freedesktop.nm-dispatcher.service | system
dirmngr.socket                           | sockets.target.wants
getty@tty1.service                       | getty.target.wants
gpg-agent-browser.socket                 | sockets.target.wants
gpg-agent-extra.socket                   | sockets.target.wants
gpg-agent.socket                         | sockets.target.wants
gpg-agent-ssh.socket                     | sockets.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants

but I don't understand what I should be looking for in here (I'm a fairly big noob, especially in networking).

seth wrote:

How do you issue the ethernet credentials? Captive portal?

Yes, precisely. The behavior on connection changed from my previous system (see my original post), so I suspect there might be a snag in here, but I might be wrong.

Last edited by aa24kk (2021-10-14 21:34:26)

Offline

#5 2021-10-15 06:37:02

seth
Member
Registered: 2012-09-03
Posts: 24,084

Re: Slow wired connection

We were looking for concurrent network managing services (frequently knocking each other out) in the service list, but that's not the case (you're only using networkmanager)
Please post a complete system journal ("sudo journalctl -b") NM talks a lot and maybe reveals that it constantly re-leases the connection to keep it open (explaining why you only have to authenticate once a day)

You could also try to stop/disable NM and try to connect w/ dhcpcd and see whether the behavior differs.

Online

#6 2021-10-15 08:22:31

aa24kk
Member
Registered: 2018-12-27
Posts: 3

Re: Slow wired connection

seth wrote:

We were looking for concurrent network managing services (frequently knocking each other out) in the service list, but that's not the case (you're only using networkmanager)
Please post a complete system journal ("sudo journalctl -b") NM talks a lot and maybe reveals that it constantly re-leases the connection to keep it open (explaining why you only have to authenticate once a day)

I wanted to filter only NetworkManager, but I saw that wpa_supplicant also appears quite often, so I thought it could be useful.

~ -> journalctl --since="2021-10-15 08:00:00" | egrep "NetworkManager|wpa_supplicant"
Oct 15 09:01:09 username wpa_supplicant[413]: nl80211: deinit ifname=wlp0s20f3 disabled_11b_rates=0
Oct 15 09:01:09 username NetworkManager[330]: <info>  [1634281269.1899] manager: sleep: wake requested (sleeping: yes  enabled: yes)
Oct 15 09:01:09 username NetworkManager[330]: <info>  [1634281269.1900] device (enp0s31f6): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Oct 15 09:01:09 username NetworkManager[330]: <info>  [1634281269.2727] device (wlp0s20f3): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Oct 15 09:01:09 username NetworkManager[330]: <info>  [1634281269.2875] device (wlp0s20f3): set-hw-addr: set MAC address to C2:42:7C:EF:26:A5 (scanning)
Oct 15 09:01:09 username NetworkManager[330]: <info>  [1634281269.4861] device (enp0s31f6): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Oct 15 09:01:09 username NetworkManager[330]: <info>  [1634281269.6831] device (p2p-dev-wlp0s20f3): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Oct 15 09:01:09 username NetworkManager[330]: <info>  [1634281269.6842] manager: NetworkManager state is now DISCONNECTED
Oct 15 09:01:09 username wpa_supplicant[413]: nl80211: kernel reports: Attribute failed policy validation
Oct 15 09:01:09 username wpa_supplicant[413]: Failed to create interface p2p-dev-wlp0s20f3: -22 (Invalid argument)
Oct 15 09:01:09 username wpa_supplicant[413]: nl80211: Failed to create a P2P Device interface p2p-dev-wlp0s20f3
Oct 15 09:01:09 username wpa_supplicant[413]: P2P: Failed to enable P2P Device interface
Oct 15 09:01:09 username wpa_supplicant[413]: dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.Interface.P2PDevice dbus_property=P2PDeviceConfig getter failed
Oct 15 09:01:09 username NetworkManager[330]: <info>  [1634281269.7407] device (wlp0s20f3): supplicant interface state: internal-starting -> disconnected
Oct 15 09:01:09 username NetworkManager[330]: <info>  [1634281269.7408] device (p2p-dev-wlp0s20f3): state change: unavailable -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Oct 15 09:01:09 username NetworkManager[330]: <info>  [1634281269.7416] Wi-Fi P2P device controlled by interface wlp0s20f3 created
Oct 15 09:01:09 username NetworkManager[330]: <info>  [1634281269.7420] manager: (p2p-dev-wlp0s20f3): new 802.11 Wi-Fi P2P device (/org/freedesktop/NetworkManager/Devices/7)
Oct 15 09:01:09 username NetworkManager[330]: <info>  [1634281269.7424] device (p2p-dev-wlp0s20f3): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Oct 15 09:01:09 username NetworkManager[330]: <info>  [1634281269.7434] device (wlp0s20f3): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Oct 15 09:01:09 username NetworkManager[330]: <info>  [1634281269.7444] device (p2p-dev-wlp0s20f3): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
Oct 15 09:01:13 username wpa_supplicant[413]: wlp0s20f3: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=DE
Oct 15 09:01:13 username systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Oct 15 09:01:13 username audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 15 09:01:13 username kernel: audit: type=1131 audit(1634281273.480:750): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 15 09:01:16 username NetworkManager[330]: <info>  [1634281276.9738] device (enp0s31f6): carrier: link connected
Oct 15 09:01:16 username NetworkManager[330]: <info>  [1634281276.9739] device (enp0s31f6): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed')
Oct 15 09:01:16 username NetworkManager[330]: <info>  [1634281276.9747] policy: auto-activating connection 'Wired connection 1' (16765d2f-d9d8-3c7c-aa04-8eda920a1a1e)
Oct 15 09:01:16 username NetworkManager[330]: <info>  [1634281276.9750] device (enp0s31f6): Activation: starting connection 'Wired connection 1' (16765d2f-d9d8-3c7c-aa04-8eda920a1a1e)
Oct 15 09:01:16 username NetworkManager[330]: <info>  [1634281276.9750] device (enp0s31f6): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Oct 15 09:01:16 username NetworkManager[330]: <info>  [1634281276.9752] manager: NetworkManager state is now CONNECTING
Oct 15 09:01:16 username NetworkManager[330]: <info>  [1634281276.9752] device (enp0s31f6): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Oct 15 09:01:16 username NetworkManager[330]: <info>  [1634281276.9755] device (enp0s31f6): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Oct 15 09:01:16 username NetworkManager[330]: <info>  [1634281276.9757] dhcp4 (enp0s31f6): activation: beginning transaction (timeout in 45 seconds)
Oct 15 09:01:18 username NetworkManager[330]: <info>  [1634281278.3126] dhcp6 (enp0s31f6): activation: beginning transaction (timeout in 45 seconds)
Oct 15 09:01:18 username NetworkManager[330]: <info>  [1634281278.3164] dhcp6 (enp0s31f6): state changed unknown -> bound, address=fda0:dec8:78d6::971
Oct 15 09:01:18 username dbus-daemon[328]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.2' (uid=0 pid=330 comm="/usr/bin/NetworkManager --no-daemon ")
Oct 15 09:01:18 username audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 15 09:01:18 username kernel: audit: type=1130 audit(1634281278.330:751): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 15 09:01:19 username NetworkManager[330]: <info>  [1634281279.0053] dhcp4 (enp0s31f6): state changed unknown -> bound, address=10.30.168.76
Oct 15 09:01:19 username NetworkManager[330]: <info>  [1634281279.0075] device (enp0s31f6): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Oct 15 09:01:19 username NetworkManager[330]: <info>  [1634281279.0106] device (enp0s31f6): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Oct 15 09:01:19 username NetworkManager[330]: <info>  [1634281279.0110] device (enp0s31f6): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Oct 15 09:01:19 username NetworkManager[330]: <info>  [1634281279.0118] manager: NetworkManager state is now CONNECTED_LOCAL
Oct 15 09:01:19 username NetworkManager[330]: <info>  [1634281279.0123] manager: NetworkManager state is now CONNECTED_SITE
Oct 15 09:01:19 username NetworkManager[330]: <info>  [1634281279.0125] policy: set 'Wired connection 1' (enp0s31f6) as default for IPv4 routing and DNS
Oct 15 09:01:19 username NetworkManager[330]: <info>  [1634281279.0157] device (enp0s31f6): Activation: successful, device activated.
Oct 15 09:01:28 username systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Oct 15 09:01:28 username audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 15 09:01:28 username kernel: audit: type=1131 audit(1634281288.486:753): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 15 09:01:49 username NetworkManager[330]: <info>  [1634281309.1328] manager: NetworkManager state is now CONNECTED_GLOBAL
Oct 15 09:01:49 username dbus-daemon[328]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.2' (uid=0 pid=330 comm="/usr/bin/NetworkManager --no-daemon ")
Oct 15 09:01:49 username audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 15 09:01:49 username kernel: audit: type=1130 audit(1634281309.143:754): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 15 09:01:59 username systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Oct 15 09:01:59 username audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 15 09:01:59 username kernel: audit: type=1131 audit(1634281319.486:755): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 15 09:07:59 username NetworkManager[330]: <info>  [1634281679.5326] device (wlp0s20f3): set-hw-addr: set MAC address to AE:D8:E3:EB:61:A0 (scanning)
Oct 15 09:07:59 username NetworkManager[330]: <info>  [1634281679.7395] device (wlp0s20f3): supplicant interface state: disconnected -> interface_disabled
Oct 15 09:07:59 username NetworkManager[330]: <info>  [1634281679.7395] device (p2p-dev-wlp0s20f3): supplicant management interface state: disconnected -> interface_disabled
Oct 15 09:07:59 username NetworkManager[330]: <info>  [1634281679.7546] device (wlp0s20f3): supplicant interface state: interface_disabled -> inactive
Oct 15 09:07:59 username NetworkManager[330]: <info>  [1634281679.7546] device (p2p-dev-wlp0s20f3): supplicant management interface state: interface_disabled -> inactive
Oct 15 09:08:03 username wpa_supplicant[413]: wlp0s20f3: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=DE
Oct 15 09:14:55 username NetworkManager[330]: <info>  [1634282095.5019] device (wlp0s20f3): set-hw-addr: set MAC address to 4A:EA:C0:43:4C:9F (scanning)
Oct 15 09:14:55 username NetworkManager[330]: <info>  [1634282095.7097] device (wlp0s20f3): supplicant interface state: inactive -> interface_disabled
Oct 15 09:14:55 username NetworkManager[330]: <info>  [1634282095.7098] device (p2p-dev-wlp0s20f3): supplicant management interface state: inactive -> interface_disabled
Oct 15 09:14:55 username NetworkManager[330]: <info>  [1634282095.7723] device (wlp0s20f3): supplicant interface state: interface_disabled -> inactive
Oct 15 09:14:55 username NetworkManager[330]: <info>  [1634282095.7724] device (p2p-dev-wlp0s20f3): supplicant management interface state: interface_disabled -> inactive
Oct 15 09:14:59 username wpa_supplicant[413]: wlp0s20f3: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=FR
Oct 15 09:21:51 username NetworkManager[330]: <info>  [1634282511.4985] device (wlp0s20f3): set-hw-addr: set MAC address to CA:DE:4B:65:78:9D (scanning)
Oct 15 09:21:51 username NetworkManager[330]: <info>  [1634282511.7045] device (wlp0s20f3): supplicant interface state: inactive -> interface_disabled
Oct 15 09:21:51 username NetworkManager[330]: <info>  [1634282511.7045] device (p2p-dev-wlp0s20f3): supplicant management interface state: inactive -> interface_disabled
Oct 15 09:21:51 username NetworkManager[330]: <info>  [1634282511.7516] device (wlp0s20f3): supplicant interface state: interface_disabled -> inactive
Oct 15 09:21:51 username NetworkManager[330]: <info>  [1634282511.7516] device (p2p-dev-wlp0s20f3): supplicant management interface state: interface_disabled -> inactive
Oct 15 09:21:54 username wpa_supplicant[413]: wlp0s20f3: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=FR
Oct 15 09:28:45 username NetworkManager[330]: <info>  [1634282925.5787] device (wlp0s20f3): set-hw-addr: set MAC address to FA:AF:36:66:23:AA (scanning)
Oct 15 09:28:45 username NetworkManager[330]: <info>  [1634282925.7873] device (wlp0s20f3): supplicant interface state: inactive -> interface_disabled
Oct 15 09:28:45 username NetworkManager[330]: <info>  [1634282925.7873] device (p2p-dev-wlp0s20f3): supplicant management interface state: inactive -> interface_disabled
Oct 15 09:28:45 username NetworkManager[330]: <info>  [1634282925.8392] device (wlp0s20f3): supplicant interface state: interface_disabled -> inactive
Oct 15 09:28:45 username NetworkManager[330]: <info>  [1634282925.8393] device (p2p-dev-wlp0s20f3): supplicant management interface state: interface_disabled -> inactive
Oct 15 09:28:49 username wpa_supplicant[413]: wlp0s20f3: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=FR
Oct 15 09:35:40 username NetworkManager[330]: <info>  [1634283340.5369] device (wlp0s20f3): set-hw-addr: set MAC address to 82:53:20:36:DF:C8 (scanning)
Oct 15 09:35:40 username NetworkManager[330]: <info>  [1634283340.7485] device (wlp0s20f3): supplicant interface state: inactive -> interface_disabled
Oct 15 09:35:40 username NetworkManager[330]: <info>  [1634283340.7486] device (p2p-dev-wlp0s20f3): supplicant management interface state: inactive -> interface_disabled
Oct 15 09:35:40 username NetworkManager[330]: <info>  [1634283340.7992] device (wlp0s20f3): supplicant interface state: interface_disabled -> disconnected
Oct 15 09:35:40 username NetworkManager[330]: <info>  [1634283340.7993] device (p2p-dev-wlp0s20f3): supplicant management interface state: interface_disabled -> disconnected
Oct 15 09:35:40 username NetworkManager[330]: <info>  [1634283340.8047] device (wlp0s20f3): supplicant interface state: disconnected -> inactive
Oct 15 09:35:40 username NetworkManager[330]: <info>  [1634283340.8048] device (p2p-dev-wlp0s20f3): supplicant management interface state: disconnected -> inactive
Oct 15 09:35:49 username wpa_supplicant[413]: wlp0s20f3: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=FR
Oct 15 09:42:35 username NetworkManager[330]: <info>  [1634283755.4958] device (wlp0s20f3): set-hw-addr: set MAC address to 72:2E:6A:26:12:FA (scanning)
Oct 15 09:42:35 username NetworkManager[330]: <info>  [1634283755.7071] device (wlp0s20f3): supplicant interface state: inactive -> interface_disabled
Oct 15 09:42:35 username NetworkManager[330]: <info>  [1634283755.7072] device (p2p-dev-wlp0s20f3): supplicant management interface state: inactive -> interface_disabled
Oct 15 09:42:35 username NetworkManager[330]: <info>  [1634283755.7858] device (wlp0s20f3): supplicant interface state: interface_disabled -> inactive
Oct 15 09:42:35 username NetworkManager[330]: <info>  [1634283755.7858] device (p2p-dev-wlp0s20f3): supplicant management interface state: interface_disabled -> inactive
Oct 15 09:42:39 username wpa_supplicant[413]: wlp0s20f3: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=DE
Oct 15 09:49:30 username NetworkManager[330]: <info>  [1634284170.5050] device (wlp0s20f3): set-hw-addr: set MAC address to 42:EB:9F:4B:C7:90 (scanning)
Oct 15 09:49:30 username NetworkManager[330]: <info>  [1634284170.7124] device (wlp0s20f3): supplicant interface state: inactive -> interface_disabled
Oct 15 09:49:30 username NetworkManager[330]: <info>  [1634284170.7124] device (p2p-dev-wlp0s20f3): supplicant management interface state: inactive -> interface_disabled
Oct 15 09:49:30 username NetworkManager[330]: <info>  [1634284170.7589] device (wlp0s20f3): supplicant interface state: interface_disabled -> inactive
Oct 15 09:49:30 username NetworkManager[330]: <info>  [1634284170.7590] device (p2p-dev-wlp0s20f3): supplicant management interface state: interface_disabled -> inactive
Oct 15 09:49:33 username wpa_supplicant[413]: wlp0s20f3: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=DE
Oct 15 09:56:26 username NetworkManager[330]: <info>  [1634284586.5912] device (wlp0s20f3): set-hw-addr: set MAC address to 4E:33:5A:59:B7:30 (scanning)
Oct 15 09:56:26 username NetworkManager[330]: <info>  [1634284586.7921] device (wlp0s20f3): supplicant interface state: inactive -> interface_disabled
Oct 15 09:56:26 username NetworkManager[330]: <info>  [1634284586.7922] device (p2p-dev-wlp0s20f3): supplicant management interface state: inactive -> interface_disabled
Oct 15 09:56:26 username NetworkManager[330]: <info>  [1634284586.8435] device (wlp0s20f3): supplicant interface state: interface_disabled -> inactive
Oct 15 09:56:26 username NetworkManager[330]: <info>  [1634284586.8435] device (p2p-dev-wlp0s20f3): supplicant management interface state: interface_disabled -> inactive
Oct 15 09:56:30 username wpa_supplicant[413]: wlp0s20f3: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=FR
Oct 15 10:03:21 username NetworkManager[330]: <info>  [1634285001.5035] device (wlp0s20f3): set-hw-addr: set MAC address to B6:7C:19:96:5E:8D (scanning)
Oct 15 10:03:21 username NetworkManager[330]: <info>  [1634285001.7119] device (wlp0s20f3): supplicant interface state: inactive -> interface_disabled
Oct 15 10:03:21 username NetworkManager[330]: <info>  [1634285001.7119] device (p2p-dev-wlp0s20f3): supplicant management interface state: inactive -> interface_disabled
Oct 15 10:03:21 username NetworkManager[330]: <info>  [1634285001.7857] device (wlp0s20f3): supplicant interface state: interface_disabled -> inactive
Oct 15 10:03:21 username NetworkManager[330]: <info>  [1634285001.7858] device (p2p-dev-wlp0s20f3): supplicant management interface state: interface_disabled -> inactive
Oct 15 10:03:25 username wpa_supplicant[413]: wlp0s20f3: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=FR
Oct 15 10:10:16 username NetworkManager[330]: <info>  [1634285416.5219] device (wlp0s20f3): set-hw-addr: set MAC address to 62:26:29:17:03:D2 (scanning)
Oct 15 10:10:16 username NetworkManager[330]: <info>  [1634285416.7276] device (wlp0s20f3): supplicant interface state: inactive -> interface_disabled
Oct 15 10:10:16 username NetworkManager[330]: <info>  [1634285416.7276] device (p2p-dev-wlp0s20f3): supplicant management interface state: inactive -> interface_disabled
Oct 15 10:10:16 username NetworkManager[330]: <info>  [1634285416.7803] device (wlp0s20f3): supplicant interface state: interface_disabled -> inactive
Oct 15 10:10:16 username NetworkManager[330]: <info>  [1634285416.7804] device (p2p-dev-wlp0s20f3): supplicant management interface state: interface_disabled -> inactive
Oct 15 10:10:20 username wpa_supplicant[413]: wlp0s20f3: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=FR

(sorry for the big dump). He keeps changing MAC address, I don't know if it is normal. Sometimes there are no logs registered by other processes between two MAC address changes, other times I get logs like

Oct 15 09:37:08 username dbus-daemon[328]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.306' (uid=1000 pid=37589 comm="/usr/lib/libreoffice/program/soffice.bin --writer ")
Oct 15 09:37:08 username audit: BPF prog-id=190 op=LOAD
Oct 15 09:37:08 username audit: BPF prog-id=191 op=LOAD
Oct 15 09:37:08 username audit: BPF prog-id=192 op=LOAD
Oct 15 09:37:08 username systemd[1]: Starting Hostname Service...
Oct 15 09:37:08 username kernel: audit: type=1334 audit(1634283428.143:778): prog-id=190 op=LOAD
Oct 15 09:37:08 username kernel: audit: type=1334 audit(1634283428.143:779): prog-id=191 op=LOAD
Oct 15 09:37:08 username kernel: audit: type=1334 audit(1634283428.143:780): prog-id=192 op=LOAD
Oct 15 09:37:08 username dbus-daemon[328]: [system] Successfully activated service 'org.freedesktop.hostname1'
Oct 15 09:37:08 username systemd[1]: Started Hostname Service.
Oct 15 09:37:08 username audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 15 09:37:08 username kernel: audit: type=1130 audit(1634283428.173:781): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 15 09:37:38 username systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Oct 15 09:37:38 username audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 15 09:37:38 username kernel: audit: type=1131 audit(1634283458.226:782): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 15 09:37:38 username audit: BPF prog-id=192 op=UNLOAD
Oct 15 09:37:38 username audit: BPF prog-id=191 op=UNLOAD
Oct 15 09:37:38 username audit: BPF prog-id=190 op=UNLOAD
Oct 15 09:37:38 username kernel: audit: type=1334 audit(1634283458.343:783): prog-id=192 op=UNLOAD
Oct 15 09:37:38 username kernel: audit: type=1334 audit(1634283458.343:784): prog-id=191 op=UNLOAD
Oct 15 09:37:38 username kernel: audit: type=1334 audit(1634283458.343:785): prog-id=190 op=UNLOAD
Oct 15 09:41:15 username sudo[37884]: pam_unix(sudo:session): session closed for user root
Oct 15 09:41:16 username kernel: audit: type=1106 audit(1634283675.993:786): pid=37884 uid=1000 auid=1000 ses=1 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 15 09:41:16 username kernel: audit: type=1104 audit(1634283675.993:787): pid=37884 uid=1000 auid=1000 ses=1 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 15 09:41:15 username audit[37884]: USER_END pid=37884 uid=1000 auid=1000 ses=1 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Oct 15 09:41:15 username audit[37884]: CRED_DISP pid=37884 uid=1000 auid=1000 ses=1 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'

following a log of the type

Oct 15 09:35:49 username wpa_supplicant[413]: wlp0s20f3: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=FR
seth wrote:

You could also try to stop/disable NM and try to connect w/ dhcpcd and see whether the behavior differs.

I'll try as soon as I can and let you know the results.

Offline

#7 2021-10-15 10:19:06

seth
Member
Registered: 2012-09-03
Posts: 24,084

Re: Slow wired connection

Please don't filter at all.
wpa_supplicant is your wifi, I suggest to disable that interface entirely for purposes of this test.

There're no reconnects on enp0s31f6 in the posted journal excerpt, so if the NIC went down and up again, that would have reasons other than NM.

Online

#8 2021-10-15 17:19:05

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 318
Website

Re: Slow wired connection

aa24kk wrote:

On a previous Ubuntu machine the same connection ran very fast without any problems, so I suppose there is something to fix in my installation.

Do I understand you correctly that you tried two computers? What does the connection mean? The cable, the network card?


we are not condemned to write ugly code

Offline

Board footer

Powered by FluxBB