IP over USB?

SomeUser

Active Member
Aug 1, 2020
25
5
43
55
Anyone ever tried IP over USB? Everything I've read indicated that it's easy, just run "modprobe g_ether" and configure an IP address on usb0, use a USB cable to connect to your other device, and boom, done.

I just tried it on 3 proxmox boxes. dmesg only has this line:

[784436.131019] UDC core: g_ether: couldn't find an available UDC

This is NOT about configuring a USB Ethernet dongle. This is about connecting 2 systems with a USB cable, and configuring IP on both ends of that USB cable.

All the solutions google spit up hasn't helped. Wondering if anyone tried it.

Thanks!
 
I dont think it will work. The error message you saw:

Code:
UDC core: g_ether: couldn’t find an available UDC

is telling: it means the USB Device Controller (UDC) subsystem did not find any eligible hardware endpoint in “device / gadget” mode to drive the g_ether gadget. In short — the kernel is not exposing a USB controller in gadget (device) mode, so g_ether can’t bind to anything.