On Tue, 8 Aug 2000, O. Suresh wrote:
|Hai,
| I am using pppd program for connecting two hosts, which are belongs two
|different networks. Both hosts are using Redhat 5.2 . My ppp configuration
|file is as follows:
|
|/etc/ppp/options.ttyS0
|
|crtsts
|mru 1500
|mtu 1500
|modem
|172.20.0.1:172.19.0.1
|-pap
|-chap
|persist
|-detach
|pap-timeout 0
|lcp-echo-interval 2
|lcap-echo-failure 18000
|
| By using this options I can able to transfer files from source
|to destination host. I did not know about pap-timeout option.I am
|connected those hosts via modems. My problem is when link goes down
|or modem reseted then pppd just ignorning the connection instead or
|retrying for connection. When fire pppd once agian it is trying for
|connection and getting connected.
RH 5.2 is probably using a 2.0.x kernel and pppd 2.2.0. You can try
upgrading pppd to 2.3.11 which will still work with a 2.0.x kernel
version, but even then there's no guarantee that the persist option will
reconnect.
Otherwise you might be able to build a bash script to restart pppd, or if
you can maintain an unlimited time connection, then putting the pppd
command /etc/inittab with respawn might work. The latter has been
suggested here before.
---
Clifford Kite Not a guru. (tm)
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]