Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Apr 2000 19:05:57 -0400 (AST)
From:      The Hermit Hacker <scrappy@hub.org>
To:        freebsd-questions@freebsd.org
Subject:   Serial->serial connection (sio0 -> sio1)
Message-ID:  <Pine.BSF.4.21.0004011859490.310-100000@thelab.hub.org>

next in thread | raw e-mail | index | archive | help

Morning all ...

	I'm trying to test a null modem cable under FreeBSD by connecting
each end to my two serial ports, and for the life of me, I can't get a
login prompt, so either this isn't possible or I'm doing something
wrong.  We ended up testing it by using the 'Direct Connect' feature in
Win98, so we know the cable is working, but I want to get this working
with my FreeBSD machine :(

	My /etc/ttys looks like:

ttyd0	"/usr/libexec/getty std.9600"	dialup	off secure
ttyd1	"/usr/libexec/getty std.9600"	dialup	on secure
ttyd2	"/usr/libexec/getty std.9600"	dialup	off secure
ttyd3	"/usr/libexec/getty std.9600"	dialup	off secure

	My kernel/dmesg shows:

sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A

	And, a kermit session looks like:

Script started on Sat Apr  1 18:58:42 2000
You have mail.
thelab#	gps ax | gfep rep ttyd
  295  ??  I      0:00.01 /usr/libexec/getty std.9600 ttyd1
thelab#	kermit
C-Kermit 7.0.196, 1 Jan 2000, for FreeBSD 3.0
 Copyright (C) 1985, 2000,
  Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/root/) C-Kermit>c
Connecting to /dev/ttyd0, speed 9600.
The escape character is Ctrl-\ (ASCII 28, FS)
Type the escape character followed by C to get back,
or followed by ? to see other options.
?Carrier required but not detected.
***********************************
 Hint: To CONNECT to a serial device that
 is not presenting the Carrier Detect signal,
 first tell C-Kermit to:

   SET CARRIER-WATCH OFF

***********************************

(/root/) C-Kermit>set cr arrier-watch off
(/root/) C-Kermit>c
Connecting to /dev/ttyd0, speed 9600.
The escape character is Ctrl-\ (ASCII 28, FS)
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------

(Back at thelab.hub.org)
----------------------------------------------------
(/root/) C-Kermit>quit
Closing /dev/ttyd0...OK
thelab#	ps ax | grep ttyd
  295  ??  I      0:00.01 /usr/libexec/getty std.9600 ttyd1
thelab#	exit
exit


	Is there something obvious that I'm overlooking here? :(  

Thanks ...

Script done on Sat Apr  1 18:59:24 2000
Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004011859490.310-100000>