*BSD News Article 75123


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!quagga.ru.ac.za!und.ac.za!iafrica.com!aztec.co.za!usenet
From: Andr=?iso-8859-1?Q?=E9?= Coetzee <acoetzee@ctcc.gov.za>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Setting up a terminal using a null modem cable
Date: Wed, 31 Jul 1996 14:43:59 -0700
Organization: Cape Town City Council
Lines: 38
Message-ID: <31FFD39F.2437@ctcc.gov.za>
NNTP-Posting-Host: 165.25.60.135
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b4Gold (Win95; I; 16bit)

I have FreeBSD 2.1.5R running on a 486DX50 and 3 serial ports, with COM1 
free, a mouse on COM2 and a modem on COM3.

I am using terminal emulation on a 286AT with a serial port which I would 
like to connect to the 486 with a null modem cable.  I thought that would 
be the easiest way of doing it. I was hoping to try a NFS direct 
connection afterwards - but I'm stuck before I even get started.

The Null cable works fine between the two machines in both directions 
under DOS!

I want to use COM1 (sio0). I have configured COM3 to IRQ 5 so as not to 
clash with COM1 (IRQ4). I have changed the bootup configuration to match:
1:sd(0,a)/kernel -c

(Incidentally, do I have to type in that line every time I boot, or can I 
make 1:sd(0,a)/kernel the default somehow?)

I have checked dmesg | grep sio and all 3 ports are there (16450's)

I have made the necessary change to /etc/ttys:
ttyd0 "/usr/.../getty std.9600" vt52 on secure

ps -ax gives me the expected "?? I" status for ttyd0.

But nothing appears on the terminal screen. Comms are setup as 9600 8N1 
on the terminal (VT52) emulation.

I have also tried different baud rates with no results.

I would really appreciate it if someone could tell me what I am not 
doing?  Perhaps someone would be prepared to talk me through it step by 
step on e-mail.

Please post replies directly to my e-mail so that I can be sure not to 
miss them.

THANKS ... ac