I am using TRENDnet TU-ET100C USB to Ethernet Adapter.
I am using Angstrom Demo images.
I have connected USBto Ethernet Adapter on USB OTG.
I have run few command to check ethernet connection as per below.
root@beagleboard:/# lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0002
Bus 002 Device 002: ID 07a6:8511 ADMtek, Inc. ADM8511 Pegasus II
Ethernet
root@beagleboard:/# dmesg | grep eth0
usbcore: registered new interface driver cdc_ether
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
root@beagleboard:/# dmesg | grep usb0
usb0: MAC 2a:d8:f5:c6:2f:18
usb0: HOST MAC 6a:4c:79:f6:b9:fa
ADDRCONF(NETDEV_UP): usb0: link is not ready
usb0 Link encap:Ethernet HWaddr 2A:D8:F5:C6:2F:18
inet addr:192.168.0.100 Bcast:192.168.0.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)
root@beagleboard:/# ifconfig eth0 192.168.0.101 up
SIOCSIFADDR: No such device
eth0: unknown interface: No such device
eth0: unknown interface: No such device
Please guide me how to up my connection for USBto Ethernet
communication
I have the same problem trying to ping BB to the Host Linux-Ubuntu. I’m using the USB-Ethernet hub from SpecialComp. Is there a special driver for Linux (The USB-hub only come with Windows and MAC drivers). Please advise,
I can made it work. means now I can browse internet through BB.
I have used USB Hub which is connected to USB host and USB to
Ethernet Adapter which is connected to USB Hub.
if you are using Angstrom Demo Kernel 2.6.29-ompa1 then comment
following line on vi /etc/resolve.conf.
#nameserver 124.124.5.140 192.168.0.1
Then restart network using /etc/init.d/networking restart command on
shell.
check your interface using ifconfig command.
I can made it work. means now I can browse internet through BB.
I have used USB Hub which is connected to USB host and USB to
Ethernet Adapter which is connected to USB Hub.
if you are using Angstrom Demo Kernel 2.6.29-ompa1 then comment
following line on vi /etc/resolve.conf.
#nameserver 124.124.5.140 192.168.0.1
Then restart network using /etc/init.d/networking restart command on
shell.
check your interface using ifconfig command.
Thanks,
Rachit Shah
In my case, I put the set up in ~/.bashrc and use ". ~/.bashrc" in
/etc/profile. It works for a while - from minutes to several hours, then
it drops the connection - the light on the USB ethernet dongle goes out,
"/etc/init.d/networking restart" doesn't restore it. A reboot command
restores it.
The following message is repeated.
[121544.819824] pegasus 1-2.6:1.0: read_mii_word failed
it seems that your network adapter was not recognised.
Are you sure you're using a mini-A cable? Using a mini-B cable does
not allow you to use the OTG port as USB host. The following picture
shows the differences between the two:
Are you sure the power consumption of the USB Ethernet adapter is
100mA or less? As far as I know the OTG port can supply 100mA maximum.
My ethernet adapter (Apple) for example draws 250mA so I had to
connect it to the USB EHCI port. You can check the power consumption
with "lsusb -v" and find the value of "MaxPower" parameter associated
with the network device.
I am using it. It works fine except if doing rootfs over NFS. The problem with USB-Ethernet rootfs over NFS is that it losses network connection if no key strobes to the terminal for about 15 minutes. Once it happens, the system is unusable since the rootfs is mounted over NFS. I have tried to turn off the usb bus auto power. But, I did not see the problem was fixed. You also need the 5V adapter.
thanks for your response. so, any address i ping by decimal address
yields "100% packet loss." when i type the "route" command at the
terminal for gateway information, i get
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
192.168.0.0 * 255.255.255.0 U 0 0
0 usb0
default 192.168.0.200 0.0.0.0 UG 0 0
0 usb0
the 100Mbps LED remains lit and the Link LED blinks on the Trendnet
TU2-ET100. this leads me to believe that it's working fine in terms
of power and communication. however, i'm somehow missing something.
am i supposed to edit /etc/network/interfaces, or some other file? i
don't know anything about networking, which is why i'm finding this so
challenging.
Let me use this as an opportunity to give you another tool for your toolbox.
First a discussion on your routing table and ifconfig.
ifconfig usb0 should tell you if packets have been sent (and more importantly) received.
Your routing table says “UG” (means that is the gateway for all packets). The 0.0.0.0 means all addresses go out usb0 at 192.168.0.200.
If it were me, I would run ethereal or wireshard (both free downloads) on a different computer connected to the same LAN segment as the BeagleBoard and see if I can convince myself that packets are coming from (and going to) the BeagleBoard.