Deling, Charles wrote:
> I have set up several Windows machines connected to a Linux box running
> diald.
> 
> If the Linux box has not dialed into the ISP, and I ping a site on the
> Internet (from the Linux box), ping will fail until the dial up
> connection is completed, then it will successfully start pinging the
> site. During this period, I will not stop and restart the ping program,
> I just let it run and it (after getting dialed up) starts pinging the
> target
> 
> If the Linux box has not dialed into the ISP, and I ping a site on the
> Internet from one of the Windows machines, it will continue to fail even
> after the connection is made.  The only way it will start to succeed is
> I stop the ping program and restart it. Then it will ping the target
> system.
> 
> What gives????

Very simple.  Linux pingcan handle that the IP address changed.  MS ping
can't.  At least, I'm guessing this is your configuration.

If your pings re-negotiated their connection each time, they'd work, but
since that'd be useful, and intelligent, and stuff, they don't.

Admittedly, I haven't played extensively with MS ping, and only once did
I mess with a diald setup with a remote linux box trying to ping through
the main machine.  I can't remember for certain if I actually tried ping
in that case.

> I am trying to use ping as part of a batch file to check and see when
> the connection has been made before starting a telnet session.

Does the ping command let you give a ping count?  If so, you can specify
that, and run it in a loop until it works.

Ed Grimm

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

Reply via email to