Score:0

Ethernet connection slow on ubuntu, not showing in system tray

in flag

I recently upgraded my ethernet cable. I'm dualbooting, via windows I get 100mbps (the full internet speed). On Ubuntu with the Plasma DE I get 10mbps when it connects. The ethernet device is also not showing in the system tray network monitor as a network option. I deleted the Ethernet entry in the network monitor manager and used ifup to reconnect my ethernet to get a connection but still at slow speeds. However on a couple of occasions it worked at full speed without any issues, I can't recall what I did to get that to happen unfortunately. I'm not entirely certain where the the problem is, but I'd like to get the same speeds as on windows and have auto connection and it appearing on my system tray as well.

System info-

Running Ubuntu 20.04 LTS with KDE Plasma

ifconfig output:

enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.7  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::c665:16ff:fea7:8d51  prefixlen 64  scopeid 0x20<link>
        ether c4:65:16:a7:8d:51  txqueuelen 1000  (Ethernet)
        RX packets 103115  bytes 133640557 (133.6 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 73860  bytes 18207856 (18.2 MB)
        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 7216  bytes 711103 (711.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 7216  bytes 711103 (711.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

/etc/network/interfaces content:

auto enp1s0
iface enp1s0 inet dhcp

lshw -c network output:

*-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:01:00.0
       logical name: enp1s0
       version: 15
       serial: c4:65:16:a7:8d:51
       size: 10Mbit/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-41-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.7 latency=0 link=yes multicast=yes port=twisted pair speed=10Mbit/s
       resources: irq:35 ioport:4000(size=256) memory:e0b04000-e0b04fff memory:e0b00000-e0b03fff
  *-network DISABLED
       description: Wireless interface
       product: RTL8822BE 802.11a/b/g/n/ac WiFi adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlp2s0
       version: 00
       serial: 10:5b:ad:29:71:df
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtw_8822be driverversion=5.11.0-41-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:68 ioport:3000(size=256) memory:e0a00000-e0a0ffff

dmesg output:

[  977.978589] Generic FE-GE Realtek PHY r8169-0-100:00: Downshift occurred from negotiated speed 1Gbps to actual speed 10Mbps, check cabling!
[  977.978625] r8169 0000:01:00.0 enp1s0: Link is Up - 10Mbps/Full (downshifted) - flow control off
[  978.333314] audit: type=1400 audit(1639069652.967:73): apparmor="DENIED" operation="open" profile="/{,usr/}sbin/dhclient" name="/proc/43594/task/43595/comm" pid=43594 comm="dhclient" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0
[  978.333492] audit: type=1400 audit(1639069652.971:74): apparmor="DENIED" operation="open" profile="/{,usr/}sbin/dhclient" name="/proc/43594/task/43596/comm" pid=43594 comm="dhclient" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0
[  978.333561] audit: type=1400 audit(1639069652.971:75): apparmor="DENIED" operation="open" profile="/{,usr/}sbin/dhclient" name="/proc/43594/task/43597/comm" pid=43594 comm="dhclient" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0
[  979.487448] r8169 0000:01:00.0 enp1s0: Link is Down
[  986.642788] audit: type=1400 audit(1639069661.285:76): apparmor="DENIED" operation="open" profile="/{,usr/}sbin/dhclient" name="/proc/43963/task/43964/comm" pid=43963 comm="dhclient" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0
[  986.642942] audit: type=1400 audit(1639069661.285:77): apparmor="DENIED" operation="open" profile="/{,usr/}sbin/dhclient" name="/proc/43963/task/43965/comm" pid=43963 comm="dhclient" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0
[  986.643027] audit: type=1400 audit(1639069661.285:78): apparmor="DENIED" operation="open" profile="/{,usr/}sbin/dhclient" name="/proc/43963/task/43966/comm" pid=43963 comm="dhclient" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0
[  986.683263] Generic FE-GE Realtek PHY r8169-0-100:00: attached PHY driver (mii_bus:phy_addr=r8169-0-100:00, irq=MAC)
[  986.867225] r8169 0000:01:00.0 enp1s0: Link is Down
[ 1013.219744] Generic FE-GE Realtek PHY r8169-0-100:00: Downshift occurred from negotiated speed 1Gbps to actual speed 10Mbps, check cabling!
[ 1013.219766] r8169 0000:01:00.0 enp1s0: Link is Up - 10Mbps/Full (downshifted) - flow control off
[ 1013.219794] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link becomes ready

Thank you for reading, if I'm missing any info for an answer please let me know and I'll add it

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.