*BSD News Article 3803


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!mips!mips!sdd.hp.com!wupost!uunet!dtix!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!acds.physik.rwth-aachen.de!kuku
From: kuku@acds.physik.rwth-aachen.de (Christoph Kukulies)
Newsgroups: comp.unix.bsd
Subject: Re: want to dial in
Message-ID: <1992Aug18.095744.21674@Urmel.Informatik.RWTH-Aachen.DE>
Date: 18 Aug 92 09:57:44 GMT
References: <1992Aug11.100209.5029@Urmel.Informatik.RWTH-Aachen.DE> <1992Aug14.222957.12951@unixland.natick.ma.us> <1992Aug17.101919.21084@Urmel.Informatik.RWTH-Aachen.DE> <1992Aug17.222638.25710@unixland.natick.ma.us>
Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
Reply-To: kuku@acds.physik.rwth-aachen.de
Organization: I.Physikalisches Institut RWTH-Aachen
Lines: 44
Nntp-Posting-Host: acds.physik.rwth-aachen.de


In article <1992Aug17.222638.25710@unixland.natick.ma.us>, bill@unixland.natick.ma.us (Bill Heiser) writes:

>kuku@acds.physik.rwth-aachen.de (Christoph Kukulies) writes:
>> 
>>I was looking for a standard way to do it (switching my modem to no command echo
>>etc.). Do you think editing /etc/gettytab and inserting something like
>
>>D2400|d2400
>>   :im=ATE0\r:
>
>>would be appropriate? Or is this done elsewhere? I remember that in an earlier
>>release of SCO (ODT 1.0) I had uugetty for this purpose. 
>>What is the correct (standard / nohack ) method to set up the modem to avoid
>>this "getty war" problem?
>
>Well, what I did on my other system was to connect the modems to a DOS 
>PC, make the changes using <your favorite telecom program>, then re-connect
>the modem to the unix system.
>
>I suspect you could do it just fine by using "tip" in 386BSD.  Just set
>the modem registers appropriately (consult your manual), then save them.

This would be a kludge but it would not solve the problem that the process
would not get a HUP signal when e.g. phone line is hung up or modem power fails
or CD drops somehow. I have learnt meanwhile that a special device is necessary
(or a driver flag) to make for instance the open() block as long as CD is
inactive so that getty only gets the open satisfied until a call is coming in.

I'm presently trying to get the driver-flags.cgd and com.cgd patches 
working for this purpose. These patches are difficult to apply when other
patches have been made upon the original files already, BTW. 

Sigh. Oh, folks, 386BSD already did cost me my this year's vacation already.
Do I have all this time? 

--Chris

--Christoph Kukulies
-----------------------------------------------------------------
kuku@acds.physik.rwth-aachen.de
*** Error code 1
 
Stop.