Xref: utzoo comp.dcom.modems:1788 unix-pc.general:620 unix-pc.uucp:13 Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hc!beta!cmcl2!rutgers!mtunx!mtune!shlepper!genesis!andys From: andys@genesis.ATT.COM (a.b.sherman) Newsgroups: comp.dcom.modems,unix-pc.general,unix-pc.uucp Subject: Re: UNIX PC modem autobaud detect by uugetty Message-ID: <456@genesis.ATT.COM> Date: 27 Apr 88 12:40:58 GMT References: <716@rush.cts.com> Reply-To: andys@shlepper.ATT.COM (a.b.sherman) Organization: AT&T Bell Laboratories, Middletown, N.J. Lines: 28 Keywords: modem, unixpc, uugetty Summary: chain entries in /etc/gettydefs In article <716@rush.cts.com> bob@rush.cts.com (Bob "Rush" Ames) writes: >I've been trying to get my 2400 Baud external modem to work on >my 3B1. It dials out OK, but when answering the phone, I can't >seem to figure out how to get my uugetty to change baud rate from >2400 to 1200. I don't wish to be stuck with no 1200 dial-ins. > Use the chaining mechanism in /etc/gettydefs. The last word in a gettydefs entry is the entry to start over with if getty (or uugetty) receives a null or a framing error. I recall that there are bugs in the 3B1 tty driver that make it impossible/difficult to step up in baud rate. However if you answer at 2400 and someone dials in at 1200 and hits a carriage return, the driver and getty will do the right stuff. Do it like this: 2400name#getty parameters.....#1200name 1200name#getty parameters.....#2400name then in /etc/inittab spawn uugetty using 2400name. On a hardwired line on my 3B1 I do this successfully with 19200 and 9600. As I said, you have to start at the higher speed on the 3B1. On other boxes (no not the 7300) you can answer at any speed and get to where you want to be. -- andy sherman / at&t bell laboratories (medical diagnostic systems) room 2h-097 / 480 red hill road / middletown, nj 07748 (201) 615-5708 / andys@shlepper.ATT.COM ...The views and opinions are my own. Who else would want them?