Hello, I have all the settings reset after reboot and I have to register again:
1) echo -n 0> / sys / bus / platform / devices / sunxi_usb_udc / otg_role
Modprobe g_ether
Echo -n 2> / sys / bus / platform / devices / sunxi_usb_udc / otg_roll
2) lsmod | Grep -q g_ether && echo -n 2> / sys / bus / platform / devices / sunxi_usb_udc / otg_role \
|| (Sleep 10 && echo -n 2> / sys / bus / platform / devices / sunxi_usb_udc / otg_role)
3) nano / etc / network / interfaces
Auto lo
Iface lo inet loopback
# Wired adapter # 1
Auto eth0
Iface eth0 inet dhcp
Allow-hotplug usb0
Iface usb0 inet static
Hwaddress ether 82: bc: 09: 47: 28: a9
Address 192.168.172.2
Netmask 255.255.255.0
Pre-up / bin / sh -c 'echo 2> / sys / bus / platform / devices / sunxi_usb_udc / otg_role'
Did I miss something? After 1 point, I prescribe the command lsmod and see g_ether, but after the reboot there is no this module and use ifconfig-a i dont see usb0