Have you done this?

7.13 When my Internet connection first comes up, nothing works. If I try 
again, everything then works fine. Why is this? The reason is because you 
have a dynamic IP address and when your Internet connection first comes up, 
IP Masquerade doesn't know its IP address. There is a solution to this. In 
your /etc/rc.d/rc.firewall ruleset, add the following:


# Dynamic IP users:
#
#   If you get your IP address dynamically from SLIP, PPP, or DHCP, enable 
this following
#       option.  This enables dynamic-ip address hacking in IP MASQ, making 
the life
#       with Diald and similar programs much easier.
#
echo "1" > /proc/sys/net/ipv4/ip_dynaddr



At 10:44 1/12/99 +0100, you wrote:
>Hello,
>
>Dave McFerren wrote:
> >
> >I am a fairly new member of this list.  I have just set up my linux machine
>at
> >home with ipmasquerading and diald.  Everything works fine, EXCEPT: when I
>am
> >on a windows machine and double click my network neighborhood, it brings up
>the
> >link.
>
>I also use diald with IP masquerading in an office where several LAN PCs
>access the Internet using the Linux diald machine that acts as a gateway.
>
>So far I haven't seen here the problem you mention with Windows clients.
>
>But I have another one:
>
>My diald setup basically works, but everytime diald is triggered by a client
>Internet access request, the first packets sent (buffered by diald before
>the physical PPP lin is up) get lost.
>
>So the following happens:
>
>- Client requests http://www.somewhere.com
>- diald brings up the link
>- Some seconds after the link is up, client browser issues an error message
>"Could not connect.."
>- Then, if the client issues the request again, if works.
>
>I have tried all possible setups I could think of, but found no way to
>prevent the first packets to get lost, and I really would like to get the
>connection to work including the first requests...
>I tried to follow the indications in the diald manpage and README.masq, with
>no success.
>Any hint or help would be greatly appreciated.
>
>My config is the following:
>- Standard PSTN Modem connection to an ISP that gives dynamic local and
>remote IP addresses (usually different at each connection).
>
>- My Linux box runs named and squid (even when not using Squid, the problem
>appears the same).
>
>TIA for any help.
>
>--
>Michel Bouissou <[EMAIL PROTECTED]>  DH/DSS ID: 0x80DBBD8F
>
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-diald" in
>the body of a message to [EMAIL PROTECTED]



-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to