Ethernet connection via USB-C not detected

Hello folks, I have a simple dual monitor setup, where I connect my laptop via USB-c (Display port) to my monitor. It solves 3 purposes, extending my screen, charging my laptop and providing ethernet connection (at least it did in windows).

In tumbleweed, I am able to share my screen and my laptop is charging, but its not detecting ethernet connection. How do I troubleshoot/enable this, do I need some packages installed for this?

I had same issue.
You can simply fix it by loading rndis_host ( or rndis-host )module .

,
sudo modprobe rndis-host
,

Thanks, it did add a new interface and seems to recognize ethernet connection, but still does not connect to the internet. Is it being blocked by some firewall rule?

rndis_host is blacklisted as it is considered insecure. The solution is in several threads…

Thank you for linking the resources, I tried both temporary (sudo modprobe rndis_host) and permanent methods (updating the blacklist) and again the result is same. It detects the existence of ethernet cable but does not connect to the internet.

There is a huge difference between detecting the ethernet cable and going to the Internet. There is e.g. a router in between, etc.

There is a standard way to walk when you think your system has no Internet connection.
You check from bottom to top (all done as root):

  1. Is the NIC up with an IP address? ip addr
  2. Can you connect to another system on your LAN? ping -c1 <IP-address of your router> (I hope you know that address)
  3. Do you have a default route to the Internet? ip route and/or ip -6 route
  4. Can you connect to a system on the internet? ping -c1 195.135.223.50 and/or ping -c1 2a07:de40:b27e:1204::10
  5. Can you resolve host/domain names? ping -c1 forums.opensuse.org

Take care. As soon a one step fails, that must be resolved first. It is useless to go to the next step before it is resolved.

So start with 1. and do not hesitate to post the output here to get help on the interpretation.

Apologies for the late reply, I think I forgot to mention before, this setup is in my office and I came today to try it out again. Trying the suggested methods do not work for me. Even connecting to the cable and enabling rndis_host module, just shows an extra ethernet interface without an IP.

ip a

# Output
...
4: enp4s0f4u1u1u2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether ca:fe:de:ad:be:ef brd ff:ff:ff:ff:ff:ff

Also, I confirmed by booting into windows, there is no problem with the ethernet cable/connection.