*BSD News Article 85689


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.Hawaii.Edu!ames!enews.sgi.com!news.sgi.com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!cpk-news-hub1.bbnplanet.com!feed1.news.erols.com!insync!uunet!in2.uu.net!194.159.1.11!news.clues.com!news.demon.co.uk!dispatch.news.demon.net!demon!viewp.demon.co.uk!viewp.demon.co.uk!viewp.demon.co.uk!richard
From: richard@viewp.demon.co.uk (Richard Chapman)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Serial Console
Date: 24 Dec 1996 01:18:49 GMT
Organization: Viewpoint Systems
Lines: 42
Message-ID: <59nb1p$e6f@viewp.demon.co.uk>
References: <32b807eb.0@news.fast.net.uk> <59eukp$a46@corn.cso.niu.edu>
NNTP-Posting-Host: viewp-le.demon.co.uk
X-NNTP-Posting-Host: viewp.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33152

woodward@cs.niu.edu wrote:
: Sean B Purdy (sean@neptune.fast.net.uk) wrote:
: : Hi,

: : I'm trying to get FreeBSD to use a serial console when booting.  This 
: : works fine as long as you press -h at the PC terminal first.  
: : Unfortunately, next time you boot, it forgets about the -h and boots on 
: : the PC console instead of the serial console.

I use a wyse 60 (in VT100 mode, 9600/8/N/1) as my console on a 2.1-RELEASE 
FreeBSD system the console is attached to com1.  

Here is the relavant section of my kernel config file;


# syscons is the default console driver, resembling an SCO console
 device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
#options		"PCVT_FREEBSD=210"	# pcvt running on FreeBSD 2.1
#options		XSERVER			# include code for XFree86

# Remove this line for VGA Console
options 	COMCONSOLE

device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? port "IO_COM3" tty irq 10 vector siointr
#device		sio3	at isa? port "IO_COM4" tty irq 3 vector siointr


Hope this helps

Richard


--
Richard Chapman | Tel 0370 513605 | e-mail: richard@viewp.demon.co.uk
Theatre Technican - Lighting Designer - Sound Engineer - Unix Systems Admin.