From owner-freebsd-hackers Fri Mar 27 23:17:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA12970 for freebsd-hackers-outgoing; Fri, 27 Mar 1998 23:17:56 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from d182-89.uoregon.edu (d182-89.uoregon.edu [128.223.182.89]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA12960 for ; Fri, 27 Mar 1998 23:17:40 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by d182-89.uoregon.edu (8.8.7/8.8.7) id XAA02218; Fri, 27 Mar 1998 23:17:37 -0800 (PST) Message-ID: <19980327231737.17493@hydrogen.nike.efn.org> Date: Fri, 27 Mar 1998 23:17:37 -0800 From: John-Mark Gurney To: Malcolm Newton Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: modem settings using chat References: <000301bd59d2$e281bf00$070b9a8e@notbook.mbm.on.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <000301bd59d2$e281bf00$070b9a8e@notbook.mbm.on.ca>; from Malcolm Newton on Fri, Mar 27, 1998 at 05:51:29PM -0500 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Malcolm Newton scribbled this message on Mar 27: > I need to have a cron job ensure that the modem is set to s0=1 (Auto Answer) > for an uucp dialup connection. Once in a while the modem loses the setting > and > then (obviously won't answer) > I am trying > chat -f chat.script /dev/cuaa1 > with chat script set to > AT s0=1 might try changing it to: "" ATs0=1 chat uses an expect/send pair... first it expects "" which is nothing.. then it sends ATS0=1... > and it doesn't seem to work > > any one got any ideas (preferably better ones that work! ) you should probably also try to lock the modem using a uucp lock file so that you don't inject ATS0=1 while there is a uucp transfer in progress... I've never worked with uucp, so don't ask for help from me on that end of things... -- John-Mark Gurney Modem Rev/FAX: +1 541 346 9237 Cu Networking P.O. Box 5693, 97405 Live in Peace, destroy Micro$oft, support free software, run FreeBSD Don't trust anyone you don't have the source for To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message