From owner-freebsd-hackers Sat Apr 4 16:14:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA27791 for freebsd-hackers-outgoing; Sat, 4 Apr 1998 16:14:32 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA27333 for ; Sat, 4 Apr 1998 16:13:57 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.7) with ESMTP id PAA14107; Sat, 4 Apr 1998 15:26:42 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199804041426.PAA14107@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: "Malcolm Newton" cc: freebsd-hackers@FreeBSD.ORG Subject: Re: modem settings using chat In-reply-to: Your message of "Fri, 27 Mar 1998 17:51:29 EST." <000301bd59d2$e281bf00$070b9a8e@notbook.mbm.on.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 04 Apr 1998 15:26:42 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 > > and it doesn't seem to work > > any one got any ideas (preferably better ones that work! ) > > ta muchly > mn I'd try `chat -f chat.script &0 otherwise, it'll probably just hang trying to open cuaa1 for the second time.... -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message