yes you have to allow the ip forwarding now by this commend :
ipchains -A forward -s 192.168.1.0/255.255.255.0 -d 0/0 -j MASQ
on your iPaq the default gateway must be the linux box. Test this by :
netstat -an
you will have a line as :
destination gateway
0.0.0.0 linux box ip
if no,
route add default gw 192.168.1.xx (linux box ip)
Philippe
Email / Philippe@choup.net
----- Original Message -----
From: "Davide Bruzzone" <dbruzzone@home.com>
To: <familiar@handhelds.org>
Sent: Sunday, July 01, 2001 3:52 AM
Subject: [Familiar] My iPaq can't ping anything but my Linux box (IP
Masquerade problem)
> OK... I've successfully set up the PPP connection between my iPaq, and my
> Linux box, and can ssh into the iPaq from my Linux box...
>
> The problem I'm having now is that I'd like to complete the installation
> process by using ipkg to get the rest of Familiar (I used task-bootstrap
> during the initial installation phase), but can't seem to ping anything
but
> the Linux box from the iPaq (If I try to ping anything else, ping just
sits
> there). Here's what I did to set up IP masquerading:
>
> 1) I added the proxyarp option to /etc/ppp/peers/ipaq (between the user
ppp
> line, and the connect... line - Is the order important?)
> Presumably, "Also, you will have to specify the correct IP addresses
for
> the host and the handheld in that file as well" means that
> you have to add "192.168.1.xxx:192.168.1.xxx" to the file... Is this
> correct?
> 2) I enabled IP forwarding on the host (by executing 'echo 1 >
> /proc/sys/net/ipv4/ip_forward'), and made sure that the value in the file
> had been changed from 0 to 1
> 3) I added the defaultroute option to /etc/ppp/options on the iPaq
> 4) I created resolv.conf in /etc on the iPaq, and added the appropriate
> nameserver entries to it:
>
> nameserver xxx.xxx.xxx.xxx
> nameserver xxx.xxx.xxx.xxx
>
> Am I missing something from resolv.conf?
>
> When I establish the PPP connection, I get the following message regarding
> proxyarp: found interface eth0 for proxy arp
>
> Can anyone spot something that I'm missing here?
>
> Thanks in advance...
>
> Dave
>
> _______________________________________________
> Familiar mailing list
> Familiar@handhelds.org
> http://handhelds.org/mailman/listinfo/familiar
> irc://irc.openprojects.net #familiar
>
Received on Sat Jun 30 23:45:41 2001
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:38:26 EDT