System:
Levovo T500 Laptop
Debian 10.8 (all updates installed)
KDE Desktop
I have a program that requires enabling "Network Manager" support for my wired Ethernet.
Unfortunately, when I enabled "Network Manager" support for my wired Ethernet, and rebooted; the speed on my wired Ethernet dropped from 1Gb/s to 100Mb/s.
Below are the details of what I've tried, so far.
I enabled "Network Manager" support for my wired Ethernet by editing "/etc/networkMnager/NetworkManager.conf", and changed "managed=false" to "managed=true", then rebooted.
Original "/etc/networkMnager/NetworkManager.conf":
Code: Select all
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
Code: Select all
[main]
plugins=ifupdown,keyfile
[ifupdown]
#managed=false
managed=true
Also, hotplugging (unplug/plug Ethernet cable) did not reset the speed. It remained at 100Mb/s.
Online research said that my port speed should be configured in "/etc/network/interfaces".
So I tried fixing this problem with the following edits to this file (3 test edits shown below).
Original "/etc/network/interfaces":
Code: Select all
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp0s25
iface enp0s25 inet dhcp
Result: After reboot, speed remained at 100Mb/s. After hotplugging, speed remained at 100Mb/s.
Code: Select all
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#allow-hotplug enp0s25
#iface enp0s25 inet dhcp
Result: After reboot, speed remained at 100Mb/s. After hotplugging, speed remained at 100Mb/s.
Code: Select all
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp0s25
iface enp0s25 inet dhcp
ethernet-autoneg off
link-speed 1000
Result: After reboot, speed returned to 1Gb/s. But after hotplugging, speed dropped to 100Mb/s.
Code: Select all
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp0s25
iface enp0s25 inet dhcp
ethernet-autoneg on
- - All three tests failed after hotplugging; speed remained at 100Mb/s.
- Tests #1 & #2 failed after reboot; speed remained at 100Mb/s.
- Test #3 ("ethernet-autoneg on") succeeded after reboot (1Gb/s); but failed after hotplugging, speed dropped back to 100Mb/s.
- - Test #2 ("link-speed 1000") should have forced the speed to 1Gb/s. Why did the speed remain at 100Mb/s?
- Why did Test #3 ("ethernet-autoneg on") succeed after reboot (1Gb/s); but fail after hotplugging (100Mb/s)?
- If the problem was caused by initially enabling support in "Network Manager", shouldn't it be fixed by an option within "/etc/networkMnager/NetworkManager.conf"; not within "/etc/network/interfaces"?