Rock3/dev/usb-gadget
ROCK 3 > Development > USB Gadget Support
USB NET RNDIS
Connect OTG port to your PC
step1: enable usb otg
Execute rsetup, enable USB OTG overlay
step2: configure rock3c
root@rock-3c:~# modprobe g_ether root@rock-3c:~# ifconfig usb0 up root@rock-3c:~# ifconfig usb0 10.1.1.1 netmask 255.255.255.0
step3: configure PC
ifconfig usb0 up ifconfig usb0 10.1.1.2 netmask 255.255.255.0 iperf3 -s &
step4: iperf3 test
root@rock-3c:~# iperf3 -c 10.1.1.2