Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Apr 2000 19:33:22 +0200
From:      Gary Jennejohn <garyj@peedub.muc.de>
To:        The Hermit Hacker <scrappy@hub.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Serial->serial connection (sio0 -> sio1) 
Message-ID:  <200004021733.TAA01159@peedub.muc.de>
In-Reply-To: Your message of "Sat, 01 Apr 2000 19:05:57 EDT." <Pine.BSF.4.21.0004011859490.310-100000@thelab.hub.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
The Hermit Hacker writes:
>
>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
>
>(/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? :(  
>

This may be a little late, but ...

yes, your getty is on ttyd1 and kermit is connecting to ttyd0.

---
Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.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?200004021733.TAA01159>