Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Dec 1998 15:53:59 +1300 (NZDT)
From:      Andrew McNaughton <andrew@squiz.co.nz>
To:        Rowan Crowe <rowan@sensation.net.au>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: chat type program for automated dialling of a modem
Message-ID:  <Pine.BSF.4.05.9812021551140.9749-100000@aniwa.sky>
In-Reply-To: <Pine.BSF.4.01.9812021306560.2197-100000@velvet.sensation.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2 Dec 1998, Rowan Crowe wrote:

> Hello all,
> 
> I have an application that requires automatic dialling of a modem number,
> then entry of a couple of parameters once connected. Chat can easily do
> this, but it doesn't seem to be able to work by itself (if the man page is
> anything to go by). You can't specify the device or speed on the
> commandline, that seems to be passed on by pppd (?)
> 
> Is there anything similar to chat that will run by itself? I guess I could
> use pppd with retries and timeouts set to 0 or 1, but that still produces
> some extra junk in my log files (LCP timeout errors etc). A self contained
> version of something like chat would be cleaner...

Check out expect.  I haven't used it, but it's users seem to rave about it
and what you're talking about is exactly the sort of task it's designed
for.

If you wanted to use ppp you could set logging options from ppp or use
syslog.conf to throw away the junk.

Andrew McNaughton


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9812021551140.9749-100000>