Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!uunet!in1.uu.net!zib-berlin.de!irz401!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: What is the Best tty Program to Handle Modem Connections Date: 24 Feb 1996 15:58:09 GMT Organization: Private BSD site, Dresden Lines: 26 Message-ID: <4gncih$9g0@uriah.heep.sax.de> References: <4g5t6e$76u@rjo02.embratel.net.br> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.3 paulo@lftc.ufpe.br (Paulo Fragoso) writes: > I have two freeBSD computers to be connected throught a ppp link over a > serial leased line. I thought of using a tty program to "login" the > pppd daemon when it detects the DCD from the modem ( Carrier ) and release > the program when carrier drops. In Linux i would change inittab to login > the port and gettydefs should be set up with HUPCL. > What do i do in freeBSD? Read the FAQs. Basically, turn one of the lines with ``ttydX'' in /etc/ttys to `on', and ``kill -HUP 1''. RTFM ttys(5), init(8), gettydefs(5). > What is the best program to use? ( getty, mgetty, etc ? ) No need to not use the standard getty unless you care to receive faxes on an incoming line, or need some of the whistles and bells of mgetty. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)