Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <>
In-Reply-To: <000301bd59d2$e281bf00$>; from Malcolm Newton on Fri, Mar 27, 1998 at 05:51:29PM -0500
References:  <000301bd59d2$e281bf00$>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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 >/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

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
with "unsubscribe freebsd-hackers" in the body of the message

Want to link to this message? Use this URL: <>