• Not Answered

How to enable ethernet over USB (g_ether)? AM3517, Linux 2.6.32-rc5 Arago 2009.11


I am trying to get Ethernet over USB to work from my AM3517 dev board to a Windows PC (XP or 7x64). I believe I have the USB networking configuration correct on the AM3517 board, but the PC just sees unknown device when I make a connection from the OTG port of the AM3517 to the PC. Is there any configuration that needs to be done on the Linux side to force the OTG port to work as a USB over Ethernet device? Thank you.

When booting I see this...

g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
usb0: MAC 52:2a:a1:a6:61:3e
usb0: HOST MAC ee:4c:86:4e:5a:e4
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready

Then ifconfig will show (which is correct for our network)

usb0      Link encap:Ethernet  HWaddr 52:2A:A1:A6:61:3E
          inet addr:  Bcast:  Mask:
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

5 Replies