Ethernet over USB

Hello! Is it possible to use USB in the following scheme?
Connect Volumio to my laptop with a USB. Volumio gets Ethernet over USB from my laptop and I also can access the Volumio web interface via USB.
I would like to turn off the Wifi on Volumio.

Don’t thin this is possible, you need a special USB cable to even try it.
Both your PC and Pi are USB master.
Why not using ethernet? With a simple router or ethernet cross cable (never tried the last one)

1 Like

With USB it can be done, theoretically, using the g_ether gadget driver, resulting in something like this:

usb0 Link encap:Ethernet HWaddr BE:B5:85:EF:48:33
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

But unfortunately this will not work for Volumio as it is looking for an eth0 or wlan0 device.


Thanks a lot! I guess it is a good point for a new request to developers)

My router is located in another room, so I can’t use an RJ45 connection. Can I use RJ45 to connect to my laptop only and disable Wifi? Would Volumio get a Web connection from my laptop?

Maybe the dev’s can answer this one. Never tried it.

How is connected you laptop to the router?
If ethernet a simple HUB with 3 or 4 ports (<20€) solve your problem.
If it use WiFi, why disabling WiFi on RPI?

1 Like

I don’t think so, rewriting the whole network stuff just because of a usb trick does not justify the efforts I think.

Thanks. I’ll try a hub.