On Wed, 5 Mar 2008, bfc wrote:
It seems when my chat script times out, i'll get an "alarm" notification from
chat, then chat exits, and
pppd hangs for a while on a tcsetattr() call -- it's trying to restore the
terminal characteristics of
our serial port.
Tell us how you set up yoru chat script. It should not be terminating while
pppd is running. It should start pppd when it successfully opens the port.
So giving your details would be helpful.
Eventually it syslogs:
Mar 5 17:09:25 box pppd[21132]: tcsetattr: Interrupted system call (line
1001)
Evidentally the pppd can no longer use the device, perhaps it's been reset
from having an session attempted
but not succeeding? Anyone else ever see this problem?
Should there be any signal flow that causes this to go correctly, e.g. a
SIGCHLD going to the pppd?
Or does pppd just see a non-zero exit value from chat, and should gracefully
shut itself down?
???? chat runs. If it successfully connects it starts up pppd an exits.
Thanks!
--
William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273
Physics&Astronomy | Advanced Research | Fax: +1(604)822-5324
UBC, Vancouver,BC | Program in Cosmology | unruh@xxxxxxxxxxxxxx
Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html