From: bfc <chappaquasuite@yahoo.com>
To: linux-ppp@vger.kernel.org
Subject: Re: hanging tcsetattr call
Date: Thu, 06 Mar 2008 01:43:18 +0000 [thread overview]
Message-ID: <15864699.post@talk.nabble.com> (raw)
In-Reply-To: <15861511.post@talk.nabble.com>
Most of the time things work OK -- maybe the chat script needs work, may
there's a resource issue on the
far end, but I think it'd be interesting to know what the error case should
look like. If you reach the end of
the time specified by a TIMEOUT chat line (or the default TIMEOUT), then I
should think chat would exit
with a non-zero, and pppd should promptly exit with an error, not hang on
tcsetattr(). BTW, I'm not using
persist or any other option to keep things going.
My pppd option file looks something like:
noauth
debug
name foobar.com
/dev/ttyS0 115200 crtscts
connect '/usr/sbin/chat -f /var/opt/foobar/chat-file
..and the chat-file:
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "BUSY"
'' ATH
OK AT&F0
OK ATDT5555
TIMEOUT 120
CONNECT \d\c
--
View this message in context: http://www.nabble.com/hanging-tcsetattr-call-tp15861511p15864699.html
Sent from the linux-ppp mailing list archive at Nabble.com.
next prev parent reply other threads:[~2008-03-06 1:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-05 22:19 hanging tcsetattr call bfc
2008-03-05 22:31 ` Bill Unruh
2008-03-06 1:43 ` bfc [this message]
2008-03-06 1:58 ` Bill Unruh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15864699.post@talk.nabble.com \
--to=chappaquasuite@yahoo.com \
--cc=linux-ppp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox