Jump to content

USB Gadget (Ethernet) on Orange Pi Zero 2 (Allwinner H616)


Recommended Posts

Posted

Trying to get USB gadget mode (Ethernet) working on an Orange Pi Zero 2. Was able to enable g_ether with success and got this far but could use a little help to finish the setup, thanks much.

 

. sudo ifconfig -a

dummy0: flags=130<BROADCAST,NOARP>  mtu 1500

        ether 1a:c6:7c:e6:1a:e5  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.86.57  netmask 255.255.255.0  broadcast 192.168.86.255

        inet6 fe80::6692:8071:93e1:97f3  prefixlen 64  scopeid 0x20<link>

        ether 0e:72:35:60:a1:7c  txqueuelen 1000  (Ethernet)

        RX packets 401  bytes 355825 (347.4 KiB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 281  bytes 38663 (37.7 KiB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device interrupt 64

 

gre0: flags=128<NOARP>  mtu 1476

        unspec 00-00-00-00-FF-00-65-74-00-00-00-00-00-00-00-00  txqueuelen 1  (UNSPEC)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

gretap0: flags=4098<BROADCAST,MULTICAST>  mtu 1462

        ether 00:00:00:00:00:00  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

ip6_vti0: flags=128<NOARP>  mtu 1500

        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1  (UNSPEC)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

ip6tnl0: flags=128<NOARP>  mtu 1452

        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1  (UNSPEC)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

ip_vti0: flags=128<NOARP>  mtu 1480

        tunnel   txqueuelen 1  (IPIP Tunnel)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        loop  txqueuelen 1  (Local Loopback)

        RX packets 22  bytes 1784 (1.7 KiB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 22  bytes 1784 (1.7 KiB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

sit0: flags=128<NOARP>  mtu 1480

        sit  txqueuelen 1  (IPv6-in-IPv4)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

tunl0: flags=128<NOARP>  mtu 1480

        tunnel   txqueuelen 1  (IPIP Tunnel)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

usb0: flags=4098<BROADCAST,MULTICAST>  mtu 1500

        ether ee:a8:ab:05:f4:b5  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether cc:08:d9:b0:db:e1  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines