Re: USB connection Linux -> Familiar

From: A. P. Kennedy <spamtree_at_comcast.net>
Date: Sun, 04 Jan 2004 18:22:23 -0600

>>>>> "Robert" == Robert Roebling <robert_at_roebling.de> writes:

 Robert> Hello,

 Robert> I am trying to establish an USB connection from
 Robert> my PC running SuSE 9.0 (kernel 2.4.21 plus SuSE's
 Robert> own patches) to my iPaq running Familiar 0.7.
 Robert> I think I read all Wiki pages and Google'd long
 Robert> enough, but I am still unable to get USBnet to
 Robert> work. What I do is this:
 Robert> 0) Reboot PC and reset iPaq
 Robert> 1) On the PC "modprobe ipaq"
 Robert> 2) On the iPaq "modprobe usb-eth"
 Robert> 3) Plug in cradle's USB cable
 Robert> 4) Check /proc/bus/usb/drivers for new "usbnet"
 Robert> driver from SA1100
 Robert> 5) On the iPaq as root
 Robert> "ifconfig usbf up 192.168.0.202 netmask 255.255.255.0"
 Robert> 6) On the PC as root:
 Robert> "ifconfig usb0 192.168.0.102 netmask 255.255.255.0"

 Robert> Then I try to "ping 192.168.0.202" on the PC with no
 Robert> success and "ping 192.168.0.102" on the iPaq doesn't
 Robert> work either. Could anyone help me with this?

You are pretty close:

On the PC:
ifconfig usb0 pointopoint 192.168.0.202

On the ipaq:
route add default gw 192.168.0.102

On the PC:

echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
echo 1 > /proc/sys/net/ipv4/conf/usb0/proxy_arp
echo 1 > /proc/sys/net/ipv4/ip_forward

That should get you rolling unless the cables are not working, I hope.

Good luck.

Alan
Received on Mon Jan 05 2004 - 00:29:01 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:14:05 EDT