All Forums
 Embedded Linux
 Linux FAQ
 How to run TCP/IP over USB
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

rwhaley

628 Posts

Posted - 06 Oct 2004 :  10:39:33  Show Profile  Email Poster

How to run TCP/IP over USB



USB networking is built into the standard kernel for XScale boards starting with kernel 2.4.27_vrs1_pxa1_adsx1.

USB networking is point to point networking where one end is a USB client device and the other end is a USB host. The USB host can be a PC but it must be running Linux 2.4.24 or greater.

To attach an Xscale board to a PC follow these instructions:

1. Run this command on the PC: modprobe usbnet

2. Attach a USB cable from the USB client port on the board to the USB host port on the PC.

3. Enter this command on the PC: ifconfig usb0 192.168.10.1

4. Enter this command on the board: ifconfig usb0 192.168.10.2

5. To test the connection enter this commmand on the board: ping 192.168.10.1

Note: The choice of IP addresses above is only an example.

adrian

17 Posts

Posted - 14 Jan 2008 :  11:16:02  Show Profile  Email Poster
Most boards now support TCP/IP over USB, not just Xscale boards. Please see the documentation for your board to verify that you system has this capability.
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000