I’m running a BeagleBone Black with Debian, 3.8.13-bone63. DCAN1 is enabled.
Some (long) time ago I’ve disabled the Ethernet over USB0. Because I’m fairly new in Linux, I can’t remember how. To re-enable it I’ve uncomment the corresponding settings in /etc/network/interfaces to
Ethernet/RNDIS gadget (g_ether)
… or on host side, usbnet and random hwaddr
Note on some boards, usb0 is automaticly setup with an init script
iface usb0 inet static
address 192.168.7.2
netmask 255.255.255.0
network 192.168.7.0
gateway 192.168.7.1
After rebooting and “ifconfig -a” there is no “usb0”. After that i’ve added “/lib/modules/3.8.13-bone63/kernel/drivers/usb/gadget/g_ether.ko” to “/etc/modules”
After reboot there is again no “usb0”. After “modprobe g_ether” and “/etc/init.d/networking restart”, I can find “usb0” with “ifconfig”.
How can I do it, that the Ethernet over usb0 will automatically load/starts again during startup.
Thanks!