D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] route and USB

 

I'm confused with some route problems over USB.

The iPAQ connects to the host PC on usb0. It can connect to the host PC over IP and vice versa, so ssh works fine, as does ping. The iPAQ can also access the internet via the host PC.

What I cannot access is other machines on the same network. No ping response, nothing.

All the config details are here:
http://handhelds.org/moin/moin.cgi/GPE_2dEthernetOverUSB

With the exception that the host PC usb IP is 192.168.0.200 and the iPAQ is 192.168.0.201

What I cannot complete from that page is stage 8 - the iPAQ doesn't have it's own copy of route installed.

On the host PC:
#!/bin/bash
sudo ifconfig usb0 192.168.0.200 netmask 255.255.255.255 up
sudo route add -host 192.168.0.201 usb0

On the iPAQ:
static IP: 192.168.0.201
netmask: 255.255.255.0
gateway: 192.168.0.200
DNS: 192.168.0.4

Why would 192.168.0.2 not be accessible from the iPAQ when it's accessible via 192.168.0.4?

DNS appears fine (the iPAQ can resolve internet addresses without problems and appears to recognise intranet names).

--

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpGweNN7UYuB.pgp
Description: PGP signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html