On Tue, 23 Nov 1999, Jutta Wrage wrote:
|In <[EMAIL PROTECTED]> on Sun, 21
|Nov 1999 09:17:38 -0600 (CST), you wrote:
|
|>You can try the pppd option "disconnect <script>", man pppd for more
|>particulars.
|
|But whatever I put there isn�t executed before pppd exits.
|And pppd doesn�t exit before I try to reconnect from psion.
Hmm. Then it must not do what I read into the man page description
of that option:
Run the executable or shell command specified by script after
pppd has terminated the link. This script could, for example,
issue commands to the modem to cause it to hang up if hardware
modem control signals were not available. The disconnect
Your first email included
||Nov 20 23:57:49 avalon pppd[4221]: sent [LCP TermReq id=0x3 "Peer not
||responding"]
||Nov 20 23:57:52 avalon pppd[4221]: Connection terminated.
||And here pppd hangs for ever. It doesnt exit until I try a new
||connection from my psion.
and I would think that the "Connection terminated" meant "link
terminated", especially in view of the LCP TermReq that preceded that
last pppd message. My thought at the time was that the disconnect
script could do "kill `pidof pppd` or the equivalent.
Moreover the man page for the lcp-echo-failure option, which you must
have used for echo requests, says essentially the same thing,
This option can be used to enable pppd to terminate after the
physical connection has been broken (e.g., the modem has hung up)
in situations where no hardware modem control lines are available.
and I would read pppd termination into that.
I'm just as perplexed as you.
---
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]