From owner-freebsd-questions Tue Nov 28 3:45:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gate3.eds.co.uk (gate3.eds.co.uk [205.191.194.194]) by hub.freebsd.org (Postfix) with ESMTP id 127D937B400 for ; Tue, 28 Nov 2000 03:45:22 -0800 (PST) Received: (from smap@localhost) by gate3.eds.co.uk (8.8.5/8.8.5) id MAA31407 for ; Tue, 28 Nov 2000 12:25:25 +0100 From: raj.choudhury@de.opel.com Received: from relay3a.cyberlink.eds.com(192.168.5.2) by gate3.eds.co.uk via smap (V2.1) id xma031265; Tue, 28 Nov 00 12:25:08 +0100 Received: (from smap@localhost) by relay3.cyberlink.eds.com (8.8.5/8.8.5) id MAA02368 for ; Tue, 28 Nov 2000 12:44:40 +0100 Received: from es160347.ws.ru.de.eds.com(134.46.99.73) by relay3.cyberlink.eds.com via smap (V2.1) id xmakg6411; Tue, 28 Nov 00 12:44:04 +0100 Received: by derumg01.lneu.emea.eds.com(Lotus SMTP MTA v4.6.7 (934.1 12-30-1999)) id 412569A5.003B1713 ; Tue, 28 Nov 2000 11:45:25 +0100 X-Lotus-FromDomain: GMRUESSELSHEIM@EDSHUBEUROPE To: freebsd-questions@freebsd.org Message-ID: <412569A5.003AFECA.00@derumg01.lneu.emea.eds.com> Date: Tue, 28 Nov 2000 11:42:16 +0100 Subject: help with ttyd0 & serial-linking PC to BSD box Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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