insmod g_ether.ko
ifconfig usb0 192.168.1.13
ifconfig usb0 up
控制台:
Using /gg/g_ether.ko
ether gadget: using random self ethernet address
ether gadget: using random host ethernet address
usb0: Ethernet Gadget, version: May Day 2005
usb0: using s3c2410_udc, OUT ep2-bulk IN ep1-bulk STATUS ep3-bulk
usb0: MAC e2:df:83:88:f1:5f
usb0: HOST MAC a2:fe:d5:ae:d0:e1
usb0: RNDIS ready
usb0: eth_open