*BSD News Article 44894


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!vtc.tacom.army.mil!news1.oakland.edu!newsxfer.itd.umich.edu!zip.eecs.umich.edu!panix!news.mathworks.com!news.kei.com!nntp.et.byu.edu!news.byu.edu!hamblin.math.byu.edu!park.uvsc.edu!usenet
From: Terry Lambert <terry@cs.weber.edu>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Getty, Modem INITIALIZATION?
Date: 2 Jun 1995 21:40:22 GMT
Organization: Utah Valley State College, Orem, Utah
Lines: 25
Message-ID: <3qo0g6$aq7@park.uvsc.edu>
References: <D9JBJw.D97@crash.cts.com>
NNTP-Posting-Host: hecate.artisoft.com

root@ejlentz.cts.com (System Administrator) wrote:
>
> Hi, I am running BSDI 2.0 and want to initialize my modem after each login
> and getty resarts a session. Is there any way to config getty to do this?
> I have read all the docs (i think) gettytab/login/tty etc.. and can't seem
> to find the info I need. All I want to send is a few modem commands to it
> to make sure it is configured correctly for my next call.
> 
> Any clues...

Yeah... set the modem up correctly (AT&D2) and drop DTR.

The DTR will be dropped automatically when the last close ossurs
as long as you are using a modem control dialing port (that is,
stty -clocal hupcl).

Sounds like your modem is irrationally asserting DCD when remote
carrier isn't present or your modem is ignoring on-to-off DTR
transition.

                                        Terry Lambert
                                        terry@cs.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.