How to make usb eth adapter working?

wojak

New Member
Aug 23, 2024
2
0
1
So my built in eth adapter is no longer working. I cannot connect to the proxmox with gui

I have connected a new usb ethernet adapter but not sure what to do next to make it works...

I have connected desktop to that terminal and I have an access via command line

I've tried to do following things but it doesn't work:

  • list all usb devices with `lsusb` and I see my new device on the list (bus 2, device 2)
https://imgur.com/SI9GlHa

  • `ip link show` shows my adapter as `enx00e04c6800cf`
https://imgur.com/6PaIY6q

i've tried to replace that adapter in `/etc/network/interfaces` from `enp1s0` to `enx00...` and after reboot it was able to connect to that host for about 2 seconds.
After that time, host starts to be unrecheable

https://imgur.com/nM00khW

https://imgur.com/MAMrVJv
 
I'm noticing a "gap" in the counting of your devices, I've seen that recently with someone else with an usb ethernet adaptor (but I now can't find the post) which seemed to be caused by the system after boot "reconnecting" the device.
That might also be what is happening here, and because of race conditions (who gets there first) it might be that the IP is applied before the reconnect, and afterwards it doesn't get linked properly.
Try running the command ifreload -a and see if you can now ping in/out.
If so, we just need to find out either why it re-connects, for it to force it to re-apply settings once it does, or for it to just reload the network-config after a little while (that last one for example could be done by running a script every 5 minutes to ping the gateway, and if it can't ping it, run the reload).
 
I just installed Proxmox ISO 8.2-2 6,8,4,2-pve (August 22, 2024). At this point the D-Link DUB-1312 ethernet interface I use was working.

Then i updated to newest version 6.8.12.1-pve, and rebooted the system. The ethernet interface then went up for about 2 seconds.

I then redid the installation from scratch and skipped the update. The ethernet interface is still working.

The update seem to have triggered the problem.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!