Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!sri-spam!ames!ucbcad!ucbvax!decvax!decwrl!sun!imagen!auspyr!joe From: joe@auspyr.UUCP Newsgroups: comp.dcom.modems Subject: Re: Penril modems for dialups Message-ID: <3372@auspyr.UUCP> Date: Wed, 1-Apr-87 14:15:51 EST Article-I.D.: auspyr.3372 Posted: Wed Apr 1 14:15:51 1987 Date-Received: Sat, 4-Apr-87 09:18:18 EST References: <519@avalon.UUCP> Organization: Austec, Inc., San Jose, CA. USA Lines: 49 in article <519@avalon.UUCP>, merlyn@avalon.UUCP says: > > In article <531@pyrnj.uucp>, romain@pyrnj.uucp (Romain Kang) writes: >> I have a friend who wound up with a bunch of Penril smart modems... >> ...these modems don't seem to have a configuration suitable for dialup >> use. When init opens the line, the Penril will assert DCD, allowing >> getty to run, which in turn starts a cycle of login: vs. Penril battles, >> since the Penril echoes everything back and tries to interpret each >> character as something from its command set. > (Below information applies only to 4.2 BSD ...) One fast way is to have getty think the modem is a micom port selector... In this way, getty won't even bother to send out the login prompt until a string in the format of Bxxxx is recieved (Eg: B1200, B300, etc) or nothing but CRs.; this is hard-coded in /etc/getty. Here is what I do: /etc/ttys: 13ttyxx /etc/gettytab: 3|pen1200:\ :ap:fd#0:hc@:sp#1200:to#60:ps: default:\ :ap:fd#0:im=\r\n\r\nAustec (%h) -- Pyramid 90x:sp#1200: Sequence of events: init starts getty on ttyxx getty listens for string[string] at 1200 baud or speed defined in gettytab "3" entry (example above)... UPON receiving string, getty sets line parameters to gettytab entry of "default" but sets speed to string if string is in pattern of B[0-9]*$; otherwise, speed in "default" entry is used. getty sends start-up message and login: prompt and waits for characters or times out. This works perfect for our Penril modems with the exception that a user must send two CRs before betting a login: prompt. -- "No matter Joe Angelo, Sr. Sys. Engineer @ Austec, Inc., San Jose, CA. where you go, ARPA: aussjo!joe@lll-tis-b.arpa PHONE: [408] 279-5533 there you UUCP: {sdencore,cbosgd,amdahl,ptsfa,dana}!aussjo!joe are ..." UUCP: {styx,imagen,dlb,jmr,sci,altnet}!auspyr!joe