Wobo,
        You'll also need to enable IP forwarding on the pda and NAT for the 
192.168.1.0/24 network on the desktop.

On Sat, 21 Jun 2003 04:37, Wolfgang Bornath wrote:
> ** Muzza (Freitag, 20. Juni 2003 22:03)
>
> > Wobo,
> >     On the desktop
> >     Put "usb0" back to 192.168.1.1 as it needs to be on a separate
> > subnet. Restart the network.  You should now have both eth0 and usb0.
> >
> >     Set the pda up to use;
> > 192.168.1.100 netmask 255.255.255.255 gateway 192.168.1.1
> >
> >     Back on the desktop;
> >     "route add -host 192.168.1.100 netmask 255.255.255.0 dev usb0"
>
> OK, thanks Muzza, now I am back where I started with the added value
> that I can reach eth0 from the pda.
>
> BTW: route complained about the 'netmask 255.255.255.0' by saying that
> "Setting a netmask of 000000ff is without meaning with the -host
> option".
> Same thing it complained about when I used 255.255.255.255
>
> Now my route on the desktop looks like:
>
> Destination   Router        Genmask         Flags Metric Ref  Use Iface
> pda           *             255.255.255.255  UH   0      0    0   usb0
> 192.168.1.0   *             255.255.255.0    U    0      0    0   usb0
> 192.168.0.0   *             255.255.255.0    U    0      0    0   eth0
> 127.0.0.0     *             255.0.0.0        U    0      0    0   lo
> default       192.168.0.1   0.0.0.0          UG   0      0    0   eth0
>
> route on my pda looks like:
>
> Destination   Router        Genmask         Flags Metric Ref  Use Iface
> 192.168.1.0   *             255.255.255.0   U     0      0    0   usbf
> 127.0.0.0     *             255.0.0.0       U     0      0    0   lo
> default       192.168.1.1   0.0.0.0         UG    0      0    0   usbf
>
> Leaves me still without Internet access for the pda.
> Oh, wait, you wrote something about setting it up on the router. I'll
> check.
>
> wobo

-- 
        CYA,
        Muzza.
Registered Linux User 133740
Gentoo Linux
Kernel version 2.4.20-gentoo-r5
Current Linux uptime: 12 hours 0 minutes.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to