Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 1999 12:21:06 +0300
From:      "Igor Sysoev" <igor@nitek.ru>
To:        <ts@polynet.lviv.ua>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: HELP: Dial-UP server FAQs
Message-ID:  <199902040922.MAA20433@gate.nitek.ru>

next in thread | raw e-mail | index | archive | help
> From: ts@polynet.lviv.ua
> On Thu, 4 Feb 1999, Igor Sysoev wrote:
> 
> > If you will see my url you will know why 'ic' doesn't work with ttydX.
> > So you need to run by cron such script instead:
> > 
> > -----
> > #!/bin/sh
> > 
> > chat -V				\
> > 	""		"AT"		\
> > 	"OK"		"ATZ"		\
> > 	"OK"		"ATS0=1"	\
> > 	"OK"		""		\
> > < /dev/cuaa1 > /dev/cuaa1
> > -----
> 
> Can I run this script somehow different? Cos I'd like to be cron
> independed. I'd like this script to be run somwhere in between
> getty and pppd, so I could control everything thru /etc/ttys.
> 
> Could this to be a 'connect' script in options.ttydX or something like
> that ?

No.
1. You can run it at starup in /usr/local/etc/rc.d/.
2. You can run it by cron every 10 minutes or so.
3. If you don't use cron you should use mgetty instead of getty.

Igor Sysoev


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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