*BSD News Article 39425


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!news.mira.net.au!otis.apana.org.au!serval.net.wsu.edu!netnews.nwnet.net!oracle.pnl.gov!osi-east2.es.net!cronkite.nersc.gov!dancer.ca.sandia.gov!overload.lbl.gov!agate!news.Stanford.EDU!leland!not-for-mail
From: dphill@leland.Stanford.EDU (Dean M. Phillips)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Question regarding configuring terminals
Date: 11 Dec 1994 20:52:42 -0800
Organization: Stanford University
Lines: 39
Message-ID: <3cgkuq$6g@deanstoy.Stanford.EDU>
References: <3cenbm$cnu@goanna.cs.rmit.edu.au>
NNTP-Posting-Host: deanstoy.stanford.edu

In article <3cenbm$cnu@goanna.cs.rmit.edu.au>,
Greg <s9407307@yallara.cs.rmit.OZ.AU> wrote:
>I am having trouble configuring a terminal that I connected to
>FreeBSD 1.1. [snip]
>In the ttys file, I have a line like:
>tty00 "/usr/libexec/getty std.9600"  vt100    on
[chomp]
When I was running FreeBSD 1.1 (I have since upgraded to 1.1.5.1) I used
a line like yours except for different port and terminal type.  It worked
great and kept my 4-year-old's fingers away from my keyboard :-).

Your question leaves things pretty wide open.  It could be any of wrong port,
bad or miswired cable, fried terminal...

what happens if you say "echo foobar >> /dev/tty00" ?  If "foobar" shows up
on the terminal then that takes care of port and cable problems and its time
to look at ttys, getty and init.  If nothing shows up then you need to look
into the ports, cable, etc.

On my system, tty0x does not exist and instead I have ttydx as follows:
crw-------    1 uucp      28,   0 Dec  9 21:25 /dev/ttyd0
crw-------    1 uucp      28,   1 Sep  3 12:39 /dev/ttyd1
crw-------    1 uucp      28,   2 Dec 10 09:20 /dev/ttyd2
crw-------    1 root      28,   3 Sep 26 20:04 /dev/ttyd3

The name does not matter that much - just make sure the major and minor
device numbers are correct.

Also, remember that you have to say "kill -HUP 1" to get init to reread
the ttys file.

Other than that there is not a whole lot I can say without more information.

Good luck,
Dean
-- 
---------------------------------------------------------------------------
Dean M. Phillips      PGP key available on request     dean@deanstoy.wa.com
TEMPORARY ADDRESS: dphill@leland.stanford.edu  Sept. 23 through Dec 16 ONLY