From owner-freebsd-questions Thu Feb 4 01:29:43 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA15396 for freebsd-questions-outgoing; Thu, 4 Feb 1999 01:29:43 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gate.nitek.ru (nitek.east.ru [195.170.63.240]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA15383 for ; Thu, 4 Feb 1999 01:29:35 -0800 (PST) (envelope-from igor@nitek.ru) Received: from igor (igor.nitek.ru [192.168.1.10]) by gate.nitek.ru (8.9.1/8.9.1) with ESMTP id MAA20433; Thu, 4 Feb 1999 12:22:01 +0300 (MSK) Message-Id: <199902040922.MAA20433@gate.nitek.ru> From: "Igor Sysoev" To: , Subject: Re: HELP: Dial-UP server FAQs Date: Thu, 4 Feb 1999 12:21:06 +0300 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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