Re: [iPAQ] ipaq internet connection problem

From: Toby Gray <toby.a.t.yargybot.com>
Date: Thu Jul 08 2004 - 09:05:35 EDT

On Thursday 08 July 2004 22:47, AMIT panchal quoth thusly:
> successfully been able to establish PPP connection between my desktop
> and the ipaq but still not able to establish an internet connection.

You need to set up your desktop to do forwarding and masquerading for
the iPAQ. Something like this (see the archives of this list and the
Familiar list for many other postings on this subject)

# iptables -t nat -A POSTROUTING -s $IPAQIP -d 0.0.0.0/0 -j MASQUERADE
# iptables -I FORWARD -s $IPAQIP/32 -j ACCEPT
# iptables -I FORWARD -d $IPAQIP/32 -j ACCEPT
# echo 1 > /proc/sys/net/ipv4/ip_forward

where $IPAQIP is your iPAQ's IP address. You also need a "gateway" line
with the desktop's IP address in your iPAQ's /etc/network/interfaces
file's usbf section.
Received on Thu Jul 8 09:08:03 2004

This archive was generated by hypermail 2.1.8 : Thu Jul 08 2004 - 09:08:56 EDT