*BSD News Article 70476


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: incoming lines
Date: 31 May 1996 17:20:11 GMT
Organization: Private BSD site, Dresden
Lines: 22
Message-ID: <4on9ob$df@uriah.heep.sax.de>
References: <4p2qil$ik5@stratus.skypoint.net>
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.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

psonnek@skypoint.com (Patrick Sonnek) wrote:

> How do I get FreeBSD to send an init string to the modem when getty
> starts up?  it's a fairly generic 14.4K modem.

There's no such concept as an ``init string'' for a modem connected to
a Unix machine.  Instead, make proper use of your modem's ability to
store a well-known initialization in its NVRAM (after all, what is it
for?), and configure it to initialize itself as much as possible at
any DTR drop (AT&D3 or somesuch).  Unices do drop DTR on each close of
the corresponding tty device, so this will be a safe method to have
your modem hanging up, and reinitializing itself to a known state.

Don't forget to lock the modem's DTE speed to the value your getty is
using in case you wanna allow for incoming connections.

-- 
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. ;-)