*BSD News Article 37934


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!uwm.edu!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!scsing.switch.ch!elna.ethz.ch!torda
From: torda@igc.chem.ethz.ch (Andrew Torda)
Newsgroups: comp.os.386bsd.questions
Subject: /etc/ttys, ttyflags, modem+tip question, NetBSD 1.0
Date: 16 Nov 1994 12:04:01 GMT
Organization: Computational Chemistry, ETH, Zuerich
Lines: 32
Message-ID: <3acsfh$ar2@elna.ethz.ch>
NNTP-Posting-Host: hermitage.ethz.ch

I would be grateful for some advice on /etc/ttys + ttyflags
under NetBSD 1.0 and tip and slip.

I used to use tip to talk to my modem, get it to do some
dialling and then set up a slip line (under NetBSD 0.9).
Now, I upgraded to NetBSD 1.0
 - what was /dev/com0 seems to be /dev/tty00. Yes ?
- if I just use my old way of talking to the modem, tip seems
to fail on opening /dev/tty00 and complains that the link is down.
 - it seems necessary to specify some flags for the serial
port via /etc/ttys and ttyflags.  Is this right ?
 - it seems necessary to use ttyflags to get /etc/ttys to take
effect ? Am I missing something here ? 

 * What flags do people normally use to talk to their modem on
a tty line ? 
       local ?  rtscts ?   mdmbuf ?  softcar  ?
I couldn't even get an `OK' response from my modem until I
began randomly playing with the flags.
Obviously, I left `off' amongst the flags since I don't want a
getty running.
 * Could I run ttyflags from /etc/ttys ? If I ever guess the
correct tty flags ? Would this be a good idea to keep the com0
port happy ?

Many thanks
-Andrew
-- 
This posting is not merely my opinion.  It is the official position
of my employer, the Swiss Federal Institute of Technology.
       Andrew Torda,  Computational Chemistry,  ETH,  Zurich,
torda@igc.chem.ethz.ch      http://igc.chem.ethz.ch/torda/torda.html