hi,
I have a beagleboard, and want to try ethernet over usb otg. I followed the link:
http://elinux.org/BeagleBoardBeginners
and do:
1. use the uImage from http://www.angstrom-distribution.org/demo/beagleboard/, so I can boot the linux through SD card.
2. on the beagle, type "modprobe g_ether", and "lsmod", the board shows:
g_ether 24916 0
so the g_ether module is running now
3. then type "ifconfig usb0 192.168.1.10 netmask 255.255.255.0", and "ifconfig"
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:35 errors:0 dropped:0 overruns:0 frame:0
TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2736 (2.6 KiB) TX bytes:2736 (2.6 KiB)
usb0 Link encap:Ethernet HWaddr 3E:3B:AD:F2:26:E0
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
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)
I can ping 192.168.1.10 (the board itself)
4. From the document, there should be "Auto usb0" on my host Ubuntu.
But I cannot see this message on the host. I try to use miniB-USBA cable, and then soldering J6 as miniA-USBA , it does not help.
Could you tell me if I need to install some software on the Ubuntu such that the host can detect the usb0?
or any ideas? Thank you.