I have a USB dongle that uses ethernet over USB to act as a network adapter. On Ubuntu it makes use of the usbnet driver and as soon as I plug the dongle in, the OS recognizes it and gets a new network interface. However, on Android Things it only get recognized as a USB device.
I installed busybox and tried using modprobe to activate g_ether or usbnet but modprobe complains that /lib/modules
doesn't exist. Furthermore, I tried using the lsmod command to find out which drivers are active but lsmod doesn't work either because /proc/modules
doesn't exist.
I have located the directories /sys/module/usb_f_rndis
and /sys/bus/usb/drivers/cdc_ether
which leads me to believe that it should be possible to somehow activate the ethernet over USB functionality.
Does anyone have any experience working with ethernet over USB on Android Things? Can anyone guide me through the process of activating the necessary drivers to make this work? Do I have to rebuild the kernel? Thank you for any advice you can offer.