Page 1 of 1

Getting g_ether to work

Posted: Thu Aug 15, 2019 12:18 am
by DennyCrane
I was using a Mint 19.2 VM for testing against a device that makes an ethernet over USB gadget. In Mint, it just worked and I didn't have to do anything, but instability of the VM usb passthru made it impossible to properly test the gadget.

So I figured my Rock64 running dietpi would cut out the VM side of things, but unfortunately it didn't 'just work'. I was advised by a colleague to "modprobe g_ether", after which I should see usb0 interface appear. However, when I run this command on the dietpi, I get:
modprobe: FATAL: Module g_ether not found in directory /lib/modules/4.4.182-rockchip64
Does anyone know if there is a workaround to getting g_ether working, or just a limitation of dietpi/rock64 and I need a full blown distro?

Thanks in advance!