*BSD News Article 33858


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!usenet.ins.cwru.edu!news.csuohio.edu!stever
From: stever@csuohio.edu (Steve Ratliff)
Subject: Re: FreeBSD: Problems with stty
Message-ID: <1994Aug5.000335.9179@news.csuohio.edu>
Sender: news@news.csuohio.edu (USENET News System)
Organization: Cleveland State University
X-Newsreader: TIN [version 1.2 PL2]
References: <1994Aug4.144452.12659@newsgate.sps.mot.com>
Distribution: usa
Date: Fri, 5 Aug 1994 00:03:35 GMT
Lines: 24

Mark Monninger (rapw20@email.sps.mot.com) wrote:
: I just loaded FreeBSD 1.1.5.1 Release on my new 486 box and am trying to get  
: the serial ports working so I can run a slip link. I get the infamous "link  
: down" message from tip when I attempt to dial out so I tried to set clocal on  
: the serial port using stty by entering: stty -f /dev/tty00 clocal. It seems to  
: be accepted by stty but a subsequent 'stty -a -f /dev/tty00' query shows that  
: it is in fact not changed. Further attempts show that stty will not change any  

	Bi-directional ports were made the default with FreeBSD1.1.5.x
Try using /dev/cua00 to dial out as it is clocal by default while
/dev/tty00 is -clocal by default.  Also take a look at /etc/rc.serial
and read the sio man page.  These document the new initial and locking
port minor numbers for explicitly setting the terminal states on initial
open and unchangeable locked settings.  The new method is rather slick
and works much better once you get used to the change.

Steve

--
--------------------------------------------------------------------------
stever@babbage.cba.csuohio.edu		"What's better than a free OS?"
					" A free OS with source."       
					FreeBSD at freebsd.cdrom.com
--------------------------------------------------------------------------