This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Gbit network - fiber does not work

Tags: None
(comma "," separated)
cluster
Registered Member
Posts
16
Karma
0

Gbit network - fiber does not work

Wed Mar 27, 2019 12:33 pm
I have two Neon and one WIN10 PC connected to a new updated FritzBox, the WIN10 shows the correct speedtest result of near 300Mbit
both Neon computers do not ...
Code: Select all
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)

Code: Select all
sudo ethtool -i enp2s0
driver: r8169
version: 2.3LK-NAPI
firmware-version: rtl8168e-3_0.0.4 03/27/12
expansion-rom-version:
bus-info: 0000:02:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no


sudo ethtool enp2s0
Settings for enp2s0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Half
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: off
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000033 (51)
                               drv probe ifdown ifup
        Link detected: yes


and a:
sudo ethtool enp2s0 | grep Speed
shows
Speed: 100Mb/s


both have a Gbit netwaork adapter and both linux show Speed: 100Mb/s instead of Speed: 1000Mb/s
I have tried:
Code: Select all
sudo ethtool -s enp2s0 speed 1000 duplex full autoneg off

but it shows w/ both:
Code: Select all
sudo ethtool -s enp2s0 speed 1000 duplex full autoneg off
Cannot set new settings: Invalid argument
  not setting speed
  not setting duplex
  not setting autoneg


how can I solve this issue and get Gbit speed enabled?
cluster
Registered Member
Posts
16
Karma
0
ok, got it ...
Code: Select all
sudo apt-get install r8169-dkms
sudo ethtool -s enp2s0 speed 1000 duplex full


but how can I we make it permanent?
I have tried to put it in my rc.local
Code: Select all
/sbin/ethtool -s enp2s0 speed 1000 duplex full


but it does not work after a reboot
Code: Select all
sudo cat /sys/class/net/enp2s0/speed
100


I have to run:
Code: Select all
sudo ethtool -s enp2s0 speed 1000 duplex full

after KDE login always ...
cluster
Registered Member
Posts
16
Karma
0
solved ... by setting half to full and 100mbit to 1000 mbit in the KDE plasma networkmanager ;D
User avatar
alideda
Registered Member
Posts
251
Karma
0
OS
Check the setup for the network connection, linux set defaults to 100Mb/s. Check set allow auto-negotiation


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]