From owner-freebsd-isp Tue Dec 1 18:55:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA25185 for freebsd-isp-outgoing; Tue, 1 Dec 1998 18:55:06 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from aniwa.sky (p27-max4.wlg.ihug.co.nz [209.78.48.219]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA25180 for ; Tue, 1 Dec 1998 18:55:02 -0800 (PST) (envelope-from andrew@squiz.co.nz) Received: from localhost (andrew@localhost) by aniwa.sky (8.8.8/8.8.7) with ESMTP id PAA16002; Wed, 2 Dec 1998 15:53:59 +1300 (NZDT) (envelope-from andrew@squiz.co.nz) Date: Wed, 2 Dec 1998 15:53:59 +1300 (NZDT) From: Andrew McNaughton X-Sender: andrew@aniwa.sky Reply-To: andrew@squiz.co.nz To: Rowan Crowe cc: freebsd-isp@FreeBSD.ORG Subject: Re: chat type program for automated dialling of a modem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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