The following commands allow me to use IP-over-USB instead of a serial connection:
su
modprobe -r g_mass_storage
modprobe g_cdc
ifconfig usb0 netmask 255.255.255.0 192.168.13.2
However, I'm not sure how to cause this to happen a boot time. I use Raspbian and Gentoo, but I've never used sun8xi before and I'm unsure of the init system. I don't understand where the init scheme is deciding to load g_mass_storage, so I don't know how to tell it to load g_cdc instead. I can probably figure out the static IP init myself.
su
modprobe -r g_mass_storage
modprobe g_cdc
ifconfig usb0 netmask 255.255.255.0 192.168.13.2
However, I'm not sure how to cause this to happen a boot time. I use Raspbian and Gentoo, but I've never used sun8xi before and I'm unsure of the init system. I don't understand where the init scheme is deciding to load g_mass_storage, so I don't know how to tell it to load g_cdc instead. I can probably figure out the static IP init myself.