You are not logged in.

#1 2024-01-08 16:26:16

vijay83.kumar@gmail.com
Member
Registered: 2024-01-08
Posts: 5

Trying to connect ethernet at 1000 Mbps

New to Arch, using Lenovo X100e laptop, with Realtek Gigabit ethernet PCI, details below. Using a known good cable that works in a Dell Windows PC. Looks like incorrect hardware version detected. Tried the r8168 driver, same result.

Appreciate any help.

lspci -v
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
        Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller
        Flags: bus master, fast devsel, latency 0, IRQ 17, NUMA node 0
        I/O ports at a000 [size=256]
        Memory at d0004000 (64-bit, prefetchable) [size=4K]
        Memory at d0000000 (64-bit, prefetchable) [size=16K]
        Expansion ROM at d0400000 [virtual] [disabled] [size=128K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 01
        Capabilities: [ac] MSI-X: Enable+ Count=4 Masked-
        Capabilities: [cc] Vital Product Data
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number cc-00-00-00-68-4c-e0-00
        Kernel driver in use: r8169
        Kernel modules: r8169

$ sudo dmesg | grep r8169
[    5.166929] r8169 0000:02:00.0 eth0: RTL8168d/8111d, 60:eb:69:69:df:47, XID 281, IRQ 26
[    5.166944] r8169 0000:02:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[    5.702961] r8169 0000:02:00.0 enp2s0: renamed from eth0
[   54.820497] RTL8211B Gigabit Ethernet r8169-0-200:00: attached PHY driver (mii_bus:phy_addr=r8169-0-200:00, irq=MAC)
[   55.087363] r8169 0000:02:00.0 enp2s0: Link is Down
[   85.484693] r8169 0000:02:00.0 enp2s0: Link is Up - 100Mbps/Full - flow control rx/tx

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: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Auto-negotiation: on
        master-slave cfg: preferred slave
        master-slave status: slave
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: external
        MDI-X: Unknown
netlink error: Operation not permitted
        Link detected: yes

Last edited by vijay83.kumar@gmail.com (2024-01-10 22:47:23)

Offline

#2 2024-01-08 16:47:03

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: Trying to connect ethernet at 1000 Mbps

vijay83.kumar@gmail.com wrote:

        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full

Are you connecting to a 100Mbps device (router, switch, etc...)?

Please, use [ code ][ /code ] tags.


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2024-01-08 17:08:33

vijay83.kumar@gmail.com
Member
Registered: 2024-01-08
Posts: 5

Re: Trying to connect ethernet at 1000 Mbps

No, GB ethernet switch

Offline

#4 2024-01-08 17:24:02

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: Trying to connect ethernet at 1000 Mbps

Did you set the connection speed @100Mbps in you network manager's connestion settings?
What network manager are you using?

Disable Window's Fast Start, if you're dualbooting.


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#5 2024-01-08 21:58:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,381

Re: Trying to connect ethernet at 1000 Mbps

Please use [code][/code] tags. Edit your post in this regard.
Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

You can use ethtool to turn autoneg off and set the speed manually, but

Using a known good cable that

is probably still the culprit b/c of networking rule #1
Do you have alternative (and in particular *short*) ones?

Offline

#6 2024-01-09 20:14:31

vijay83.kumar@gmail.com
Member
Registered: 2024-01-08
Posts: 5

Re: Trying to connect ethernet at 1000 Mbps

Thanks for all your suggestions!

I am using Network Manager defaults in Arch minimal install without GUI. I believe the speed was set to 100 Mbps by default. When I adjusted settings for autoneg and speed, I was able to connect at 1000 Mbps, but connection was not stable for long.

Now that I know the hardware/cable/r8169 in-kernel driver is good, I will explore Network Manager settings in more detail.

Thanks again!

Offline

#7 2024-01-09 21:12:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,381

Re: Trying to connect ethernet at 1000 Mbps

You could try to use just dhcpcd, but if the 1Gbps connection was "not stable" that's because the signal is bad.
With an undisclosed amount of experience: it's the cable. I'm not 100% sure, but (100-ε)% sure. Try a different one.

Offline

#8 2024-01-09 22:35:59

vijay83.kumar@gmail.com
Member
Registered: 2024-01-08
Posts: 5

Re: Trying to connect ethernet at 1000 Mbps

Thanks, will do and let you know.

Offline

#9 2024-01-10 22:49:43

vijay83.kumar@gmail.com
Member
Registered: 2024-01-08
Posts: 5

Re: Trying to connect ethernet at 1000 Mbps

Tried a new 6ft Cat8 cable, same results. I will wait for testing of the r8168 driver.

Offline

#10 2024-01-10 23:21:27

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,623

Re: Trying to connect ethernet at 1000 Mbps

Closed, by request.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB