Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Apr 1998 15:26:42 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        "Malcolm Newton" <mnewton@mbm.on.ca>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: modem settings using chat 
Message-ID:  <199804041426.PAA14107@awfulhak.org>
In-Reply-To: Your message of "Fri, 27 Mar 1998 17:51:29 EST." <000301bd59d2$e281bf00$070b9a8e@notbook.mbm.on.ca> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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
> 
> 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 </dev/cuaa1 >&0

otherwise, it'll probably just hang trying to open cuaa1 for the 
second time....
-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804041426.PAA14107>