From owner-freebsd-questions Tue Nov 28 4: 6: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail-2.sjc.telocity.net (mail-2.sjc.telocity.net [216.227.56.42]) by hub.freebsd.org (Postfix) with ESMTP id B4A2137B404 for ; Tue, 28 Nov 2000 04:05:58 -0800 (PST) Received: from zoso (dsl-216-227-91-85.telocity.com [216.227.91.85]) by mail-2.sjc.telocity.net (8.9.3/8.9.3) with SMTP id EAA09396; Tue, 28 Nov 2000 04:04:18 -0800 (PST) From: "Otter" To: , Subject: RE: help with ttyd0 & serial-linking PC to BSD box Date: Tue, 28 Nov 2000 07:09:36 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <412569A5.003AFECA.00@derumg01.lneu.emea.eds.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I haven't set up a serial link to my BSD boxen (though I should), but this might be a helpful link: http://www.mostgraveconcern.com/freebsd/sercon.html -Otter }-----Original Message----- }From: owner-freebsd-questions@FreeBSD.ORG }[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of }raj.choudhury@de.opel.com }Sent: Tuesday, November 28, 2000 5:42 AM }To: freebsd-questions@FreeBSD.ORG }Subject: help with ttyd0 & serial-linking PC to BSD box } } } } }I would appreciate help on getting a working connection between }a Win95 box (running as a vt100 terminal) and my laptop (running }FreeBSD 4.0) } }What I did: } }(1) changed /etc/ttys to read }ttyd0 "usr/libexec/getty std.9600" vt100 on secure }(I also tried "unknown" instead of "vt100" as well as some }other getty }types like std.19200, etc) } }(2) #kill -HUP 1 } }(3) connected null modem cable between Win95 COM 2 and }Laptop Serial 1 } }(4) #ps -axww|grep getty yields: }214 ?? I 0:0.0 /usr/libexec/getty std.9600 ttyd0 } }when I started up HyperTerminal in Win95 and configured it }for "Direct to COM }2"+ }emulate vt100 terminal+9600bps 8-N-1 and tried to connect, }the terminal }was locked up (no echo of keys typed on the screen). } }What am I doing wrong? } }I didn't stop there. I tried this (this was *not* from the }handbook, I just }tried it }since it's what I've been doing to activate cuaa0 as my }dialout modem on }Serial 1): }#ppp }ppp> set device /dev/ttyd0 }ppp> term } }this locked up the session, but I did #ps -axww|grep getty }in a new session }and now got: }214 d0 Is+ 0:0.0 /usr/libexec/getty std.9600 ttyd0 } }(note the ?? changed to d0 as the Handbook section 14.3.4 }suggests to look for) }When I tried reconnecting the Win95 HyperTerminal app, now }as I typed in the }terminal window, the keystrokes were echoed back to me, but }alas no login prompt }from FreeBSD. } }Thanks for helping this newbie. } }RAJ CHOUDHURY } }PS: There seems to be a discrepancy between the Handbook }(14.3.4) which }says the ps command yields: }22189 d1 Is+ 0:0.3 /usr/libexec/getty std.38400 ttyd1 }(for example) and FAQ (11.8) which says you should see }747 ?? I 0:0.04 /usr/libexec/getty std.57600 ttyd1. }Why does one show "??" and the other show "d1" ? Is the fact }that I was }seeing the "??" initally linked to my problem? } } } } }To Unsubscribe: send mail to majordomo@FreeBSD.org }with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message