From owner-freebsd-questions Sat Apr 1 15: 6:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from thelab.hub.org (nat201.232.mpoweredpc.net [142.177.201.232]) by hub.freebsd.org (Postfix) with ESMTP id 5A18937B7E4 for ; Sat, 1 Apr 2000 15:06:14 -0800 (PST) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.9.3/8.9.3) with ESMTP id TAA00384 for ; Sat, 1 Apr 2000 19:05:57 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Sat, 1 Apr 2000 19:05:57 -0400 (AST) From: The Hermit Hacker To: freebsd-questions@freebsd.org Subject: Serial->serial connection (sio0 -> sio1) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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