From owner-freebsd-questions Sun Apr 2 10:36:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from peedub.muc.de (peedub.muc.de [193.149.49.109]) by hub.freebsd.org (Postfix) with ESMTP id ADE7737BD68 for ; Sun, 2 Apr 2000 10:36:02 -0700 (PDT) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id TAA01159; Sun, 2 Apr 2000 19:33:22 +0200 (CEST) Message-Id: <200004021733.TAA01159@peedub.muc.de> X-Mailer: exmh version 2.1.0 09/18/1999 To: The Hermit Hacker Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Serial->serial connection (sio0 -> sio1) Reply-To: Gary Jennejohn In-reply-to: Your message of "Sat, 01 Apr 2000 19:05:57 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 02 Apr 2000 19:33:22 +0200 From: Gary Jennejohn Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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