*BSD News Article 35048


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: no cts/rts on modemport
Message-ID: <1994Aug27.191041.10772@news.csuohio.edu>
Sender: news@news.csuohio.edu (USENET News System)
Organization: Cleveland State University
X-Newsreader: TIN [version 1.2 PL2]
References: <Cv4Lvn.4M6@jester.GUN.de>
Date: Sat, 27 Aug 1994 19:10:41 GMT
Lines: 44

Michael Gerhards (michael@jester.GUN.de) wrote:
: Hi,

: I'm using FreeBSD 1.1.5.1 on a 486DX40. The modem is connected to a
: 16550-UART on com2 and I have the following problem:

: The hardware-handshake is not when dialing in, so filetransfers will be
: aborted due to timeouts.

: I added the line 'stty crtscts' to my .profile and it works, but a
: uucp-coonection won't read a .profile .

: I think that there is a solutio with modifying /etc/rc.serial but I
: don't know, what the [cua|tty][il]* stands for.

	The ttyd* ports are the dialin ports and the cua* ports are the
dial out ports.  The "i" stands for initial open settings and the "l"
stands for locked settings.

	The modem() macro in rc.serial is allready set up to do what you want.
It by default sets up crtcts and 57600 baud connections for the initial
open of both the dialin and dialout ports and locks the crtcts in place
for both the dialin and dialout ports.  All you need to do is enable it
on your correct serial port by changing the following line at the bottom
of the file.  Assuming your com2 is sio1 change

# modem           1  

to 

modem		1

	I changed the modem() function to 38400 for the initial open as
CSU's dialup lines only support 38400 max :(  You can modify it to suit
your own situation.

STeve

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