*BSD News Article 39791


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!cs.utexas.edu!uunet!mozz.unh.edu!toto.plymouth.edu!oz.plymouth.edu!not-for-mail
From: ted@oz.plymouth.edu (Ted Wisniewski)
Newsgroups: comp.os.386bsd.questions
Subject: Re: How do I get FreeBSD to see terminal logins?
Date: 20 Dec 1994 21:39:56 -0500
Organization: Plymouth State College - Plymouth, NH.
Lines: 44
Message-ID: <3d84hs$rba@oz.plymouth.edu>
References: <3d5nqq$2bs@nntp.club.cc.cmu.edu>
NNTP-Posting-Host: oz.plymouth.edu

In article <3d5nqq$2bs@nntp.club.cc.cmu.edu> qt@drycas.club.cc.cmu.edu writes:
>the system login script. I popped in the I/O card and it saw sio0 with
>irq 4 on isa, type 16450, when I start the system. So far so good. Looks
>like it sees COM 1. I tried doing what the man pages *try* to tell you,
>which *I think* is to edit /etc/ttys and set the tty01 to "vt100 on secure".
>This is probably wrong since it didn't help and on startup I get cannot
>find /dev/tty01 or something. I looked at a few FAQs and have been over the

You say it can see sio0?  That would be equivalent to COM 1, however it
would not be tty01, it would be the tty00/ttyd0 pair, tty00 for outgoing
and ttyd0 for incoming (If my memory serves me).  I think for uni-directional
(just incoming or just outgoing) you can use tty00, as I have on my home system.
If the 'device' /dev/ttyd0 does not exist, do as root:

	# cd /dev
	# ./MAKEDEV ttyd0
		or
	# ./MAKEDEV tty00
	
I think you also need to do a 'stty -f /dev/ttyd0 clocal' before
using the com port.  Whichever you use, be consistant.  Next
edit /etc/ttys and turn on the appopriate tty, then do a 'kill -1 1' to
make it active.

Make sure you are using a null modem cable between you PC and Terminal.
I currently have a similar setup using FreeBSD-1.1.5 at home.

What I have is:

	On a 386Dx40 8MB/340MB

	tty00 - Mouse
	tty01 - Serial Printer
	tty02 - Modem
	tty03 - Terminal

	
Hope This helps.


|   Ted Wisniewski    			INET:  ted@oz.plymouth.edu       |
|   Computer Services                                or                  |
|   Plymouth State College                     tedw@psc.plymouth.edu     |
|   Plymouth NH, 03264                                                   |