Date: Tue, 28 Nov 2000 07:09:36 -0500 From: "Otter" <otterr@telocity.com> To: <raj.choudhury@de.opel.com>, <freebsd-questions@FreeBSD.ORG> Subject: RE: help with ttyd0 & serial-linking PC to BSD box Message-ID: <HLEDJBJKDDPDJBMGCLPPGELJCKAA.otterr@telocity.com> In-Reply-To: <412569A5.003AFECA.00@derumg01.lneu.emea.eds.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?HLEDJBJKDDPDJBMGCLPPGELJCKAA.otterr>