Date: Tue, 28 Nov 2000 11:42:16 +0100 From: raj.choudhury@de.opel.com To: freebsd-questions@freebsd.org Subject: help with ttyd0 & serial-linking PC to BSD box Message-ID: <412569A5.003AFECA.00@derumg01.lneu.emea.eds.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?412569A5.003AFECA.00>