[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Sheflug] offline viewing (ip-masq script)



On Mon, 18 Sep 2000, darkstar wrote:
> -----Original Message-----
> OK Ross,
> 	One thing comes to mind, and that is that when using dynamic ip addresses
> the first packet gets lost coming back I think because the return address is
> wrong due to your isp giving you a dynamic ip. This exerpt from one of the
> mini-howto's sums it up. Perhaps it is partly the cause of your problem.
> 
> 6.7 IP Masquerade and Dial-on-Demand Connections
> 
> There is a timeout that will occur with the first connection. This is
> inevitable if you are using analog modems. The time taken to establish the
> modem link and the PPP connections may cause your client program (WWW
> browser, etc.). This isn't common though. If this does happen, just retry
> that Internet traffic request (say a WWW page) again and it should come up
> fine. You can also try setting echo "1" > /proc/sys/net/ipv4/ip_dynaddr
> kernel option to help with this initial setup.


thanks for this.

i've read the how-to now............ 

the problem has improved after running the script supplied on the diald config
site as suggested in the how-to :-) it's not completly resolved however......
just less frequent?

i need to know what the script is trying to do?
does anyone know ?
hopefully this will lead me in the correct direction so as resolve this
issue....

the script seems quite basic.... the diald site says to run the script after
establishing a PPP connection with minicom..... (it is to be located in
/etc/ppp/)

#!/bin/sh
       #       Set up a PPP link blindly - script called blind.ppp 

       DEVICE=ttyS1
       (
               stty 38400 -tostop
               pppd -detach debug noipdefault defaultroute mru 1500 /dev/$DEVICE &
               exit 0
       ) < /dev/$DEVICE > /dev/$DEVICE

there is no explanation as what it does on the diald site...... diald does work
without running it but as i said it does improve initial connection reliablity
having run it......

secondly..... the ip-masquarading how-to says that 

"You can also try setting echo "1" > /proc/sys/net/ipv4/ip_dynaddr
 kernel option to help with this initial setup."

i'm not entirely sure what to do with this? which file am i supposed to modify
with this line?

anyone had any experiance with this?

 -- 
Thanks,
        Ross
               ross.h [at] ntlworld.com
____________________________________________________________________________
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.