*BSD News Article 94478


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.maxwell.syr.edu!news-xfer.cybernet.dk!news.onramp.net!news.eng.convex.com!newsgate.duke.edu!news.duq.edu!nntp.club.cc.cmu.edu!goldenapple.srv.cs.cmu.edu!das-news2.harvard.edu!fas-news.harvard.edu!giffin-2.student.harvard.edu!daniel
From: Daniel B Giffin <giffin@fas.harvard.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: enabling serial logins
Date: 26 Apr 1997 09:07:22 GMT
Organization: Harvard University, Cambridge, Massachusetts
Lines: 38
Message-ID: <5jsgka$1ih$1@news.fas.harvard.edu>
NNTP-Posting-Host: giffin-2.student.harvard.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970309; i386 FreeBSD 2.2.1-RELEASE]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39765



	I'd like to login to my FBSD box over the serial line.  I
believe I compiled the right drivers in to the kernel (actually, which
two are the ones I see on the back of my PC?) ...

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 5 vector siointr
device          sio3    at isa? port "IO_COM4" tty irq 9 vector siointr

... but bootup messages don't seem very encouraging:

Apr  9 03:35:08 meursault /kernel: sio0 not found at 0x3f8
Apr  9 03:35:08 meursault /kernel: sio1 not found at 0x2f8
Apr  9 03:35:08 meursault /kernel: sio2 not found at 0x3e8
Apr  9 03:35:08 meursault /kernel: sio3 not found at 0x2e8

And what was the kernel expecting to find on the serial line?

Anyway, I went ahead and modified /etc/ttys to allow login over the
serial interfaces:

# Serial terminals
ttyd0   "/usr/libexec/getty std.9600"   unknown on  secure
ttyd1   "/usr/libexec/getty std.9600"   unknown on  secure
ttyd2   "/usr/libexec/getty std.9600"   unknown on  secure
ttyd3   "/usr/libexec/getty std.9600"   unknown on  secure

... and, firing up my terminal emulator from a machine on the other
end of a serial connection (yes, I think I've got the null-modem
hookup right), I get no response.

Is there something more I need to do?  Thanks for any help.


daniel