Microsoft Surface Thunderbolt 4 Dock ETH cable disconnected

I recently bought a Microsoft Surface Thunderbolt 4 Dock, connected to Lenovo P14s laptop, and it works like a charm for most of the time. I got 2 monitors connected, audio, and everything works as expected.
My only issue is with ETH cable, where the Network Manager states, “cable unplugged”.
I connected MS Hub to another laptop with Windows - and Windows did recognize ETH cable connected and works without any issues - therefore, I can rule out problems with the cable or connection itself.

Fedora does recognize MS Thunderbolt hub ETH as “USB Ethernet”.
lsusb shows as
Bus 002 Device 005: ID 045e:085c Microsoft Corp. USB 10/100/1G/2.5G LAN

A few days ago, somehow by plugging/unplugging the hub and cable, I managed to get Fedora recognise connect eth cable once.
When hub is connected to Windows machine - I have no such issues.

I see within the logs some movement:

Oct 02 20:23:11 lenovo NetworkManager[1829]: <info>  [1696303391.7558] device (enp0s13f0u3u4u4): state change: unavailable -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Oct 02 20:23:11 lenovo NetworkManager[1829]: <info>  [1696303391.8714] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/12)
Oct 02 20:23:11 lenovo NetworkManager[1829]: <info>  [1696303391.8932] device (eth0): interface index 8 renamed iface from 'eth0' to 'enp0s13f0u3u4u4'
Oct 02 20:23:11 lenovo NetworkManager[1829]: <info>  [1696303391.8965] device (enp0s13f0u3u4u4): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Oct 02 20:27:07 lenovo NetworkManager[1829]: <info>  [1696303627.1239] device (enp0s13f0u3u4u4): state change: unavailable -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Oct 02 20:27:07 lenovo NetworkManager[1829]: <info>  [1696303627.2386] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/13)
Oct 02 20:27:07 lenovo NetworkManager[1829]: <info>  [1696303627.2623] device (eth0): interface index 9 renamed iface from 'eth0' to 'enp0s13f0u3u4u4'
Oct 02 20:27:07 lenovo NetworkManager[1829]: <info>  [1696303627.2660] device (enp0s13f0u3u4u4): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Oct 02 20:27:17 lenovo NetworkManager[1829]: <info>  [1696303637.0924] device (enp0s13f0u3u4u4): state change: unavailable -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Oct 02 20:27:17 lenovo NetworkManager[1829]: <info>  [1696303637.2062] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/14)
Oct 02 20:27:17 lenovo NetworkManager[1829]: <info>  [1696303637.2272] device (eth0): interface index 10 renamed iface from 'eth0' to 'enp0s13f0u3u4u4'
Oct 02 20:27:17 lenovo NetworkManager[1829]: <info>  [1696303637.2299] device (enp0s13f0u3u4u4): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')

Any advice ?
Thanks!

I’m running 6.5.5-200.fc38.x86_64

Bus 002 Device 005: ID 045e:085c Microsoft Corp. USB 10/100/1G/2.5G LAN
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.20
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         9
  idVendor           0x045e Microsoft Corp.
  idProduct          0x085c 
  bcdDevice           e1.01
  iManufacturer           1 Realtek
  iProduct                2 USB 10/100/1G/2.5G LAN
  iSerial                 7 101ED8E2DFC75A85
  bNumConfigurations      3
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0068
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              256mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass     13 
      bInterfaceProtocol      0 
      iInterface              5 
      CDC Header:
        bcdCDC               1.10
      CDC Union:
        bMasterInterface        0
        bSlaveInterface         1 
      CDC Ethernet:
        iMacAddress                      3 (??)
        bmEthernetStatistics    0x0031501f
        wMaxSegmentSize               1518
        wNumberMCFilters            0x8020
        bNumberPowerFilters             32
      CDC NCM:
        bcdNcmVersion        1.00
        bmNetworkCapabilities 0x2b
          8-byte ntb input size
          max datagram size
          net address
          packet filter
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval              11
        bMaxBurst               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 
      bInterfaceProtocol      1 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 
      bInterfaceProtocol      1 
      iInterface              4 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               3
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0062
    bNumInterfaces          2
    bConfigurationValue     2
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              256mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      6 Ethernet Networking
      bInterfaceProtocol      0 
      iInterface              5 
      CDC Header:
        bcdCDC               1.10
      CDC Union:
        bMasterInterface        0
        bSlaveInterface         1 
      CDC Ethernet:
        iMacAddress                      3 (??)
        bmEthernetStatistics    0x0031501f
        wMaxSegmentSize               1518
        wNumberMCFilters            0x8020
        bNumberPowerFilters             32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval              11
        bMaxBurst               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              4 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               3
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0039
    bNumInterfaces          1
    bConfigurationValue     3
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              256mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval              11
        bMaxBurst               0

Edit: After browsing around, found other people having issues with Realtek devices under Fedora and got suggested to submit bug report. 2241852 – ETH cable unplugged, thunderbolt hub

renamed iface from 'eth0' to 'enp0s13f0u3u4u4'

It not keeps the renamed iface name. You should test if the firmware is up to date:

What’s the output of “ip link” ? If the interface shows NO-CARRIER there, it’s probably a driver or firmware issue.

Got everything up-to-date as per dnf.
I also updated the hub (had to do it via windows as fwupdmgr did not find any updates.

ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s31f6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether 74:5d:22:xx:xx:xx brd ff:ff:ff:ff:ff:ff
3: wlp0s20f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
link/ether f4:3b:d8:xx:xx:xx brd ff:ff:ff:ff:ff:ff
75: enp0s13f0u3u4u4: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether d8:e2:df:xx:xx:xx brd ff:ff:ff:ff:ff:ff
(reducted MAC addr)

Thanks!