From owner-freebsd-isp Fri Dec 4 19:15:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA26320 for freebsd-isp-outgoing; Fri, 4 Dec 1998 19:15:36 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from velvet.sensation.net.au (serial0-velvet.Brunswick.sensation.net.au [203.20.114.195]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA26315 for ; Fri, 4 Dec 1998 19:15:31 -0800 (PST) (envelope-from rowan@sensation.net.au) Received: from localhost (rowan@localhost) by velvet.sensation.net.au (8.8.8/8.8.8) with SMTP id OAA04497; Sat, 5 Dec 1998 14:13:52 +1100 (EST) (envelope-from rowan@sensation.net.au) X-Authentication-Warning: velvet.sensation.net.au: rowan owned process doing -bs Date: Sat, 5 Dec 1998 14:13:51 +1100 (EST) From: Rowan Crowe To: Mike Jenkins cc: freebsd-isp@FreeBSD.ORG Subject: Re: chat type program for automated dialling of a modem In-Reply-To: <199812042022.OAA15694@carp.gbr.epa.gov> 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 Fri, 4 Dec 1998, Mike Jenkins wrote: > > > 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 (?) > > > > How about normal redirection? I tried this and it worked: > > > > % chat -e '' ATZ OK /dev/cuaa1 > > Did this work for you? I never heard anything back. Sorry Mike, Yes, it worked perfectly. I also popped in an stty command to set the speed: stty /dev/cuaab Unfortunately that particular project has had to be shelved for the moment due to the spare line I was using for it no longer being spare. ;-) But yes, it did work! Cheers. -- Rowan Crowe Sensation Internet Services, Melbourne Aust fidonet: 3:635/728 +61-3-9388-9260 http://www.rowan.sensation.net.au/ http://www.sensation.net.au/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message