Hi!
Can you guys please quote properly, ie under the text you have
trimmed leaving only what is relevant!
On Tue, Jun 01, 1999 at 03:42:00PM -0700, Benjamin Diedrich wrote:
> CL wrote:
>> Benjamin Diedrich <[EMAIL PROTECTED]> wrote:
>>>
>>> problem is when a program (telnet, ftp, Netscape, etc.) starts a link
>>> with diald (version 0.98.2), the first time it uses a dummy remote IP
>>> address given as "remote 194.109.2.10" in my config file, while all
>>
>> Look up /usr/src/linux/Documentation/networking/ip_dynaddr.txt. I believe
>> you have to do:
>> echo 5 > proc/sys/net/ipv4/ip_dynaddr or
>> echo 7 > proc/sys/net/ipv4/ip_dynaddr for verbose
>
> In my kernel version, 2.2.5, ip_dynaddr.txt says to use:
> To enable: echo 1 > /proc/sys/net/ipv4/ip_dynaddr
> Verbose mode: echo 2 > /proc/sys/net/ipv4/ip_dynaddr
> Disable: echo 0 > /proc/sys/net/ipv4/ip_dynaddr
2.1 and 2.2 have a simpler version of the ip_dynaddr functionality,
but it should be sufficient for your problem.
> I have tried diald with the "echo 1" alone, and followed by "echo 2",
> but my problems persist. In the meantime, I am using pppd with the
I don't know why, it works for others. Try doing 'cat' on
the /proc file to see whether your echo worked. You have
to be root to do it.
> "demand" option. Any idea why diald doesn't refresh the remote IP
> address with the one specified in the options file, but instead uses the
> remote IP address from the previous call? Also, why would this make the
Not much point really. If you have static IP then the IP from
the last call is the correct one, and if you have dynamic
IP then both are wrong.
> internet unreachable if new local and remote IP addresses are reassigned
> with each new call anyway? I am using Debian 2.1, glibc 2.1.1, and
> kernel 2.2.5.
It's the local IP that makes things unreachable, because your packets
are all sent out with the wrong source address so the answers never
get to you.
--
Erik Corry [EMAIL PROTECTED] Ceterum censeo, Microsoftem esse delendam!
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]