ejnihill@sactoh0.UUCP (Eric J. Nihill) (11/21/88)
I am going to be installing a TB+ on a 3B2/310 and rather than re-invent the wheel, I would like to find out what S Register settings that others have used on 3B2/310 & 400's. Also, are there any tricks to setting up the Devices and Dialers files? I have the paper that TB sent, and it seems pretty straight forward. Thank-you; Eric -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | In God We Trust, || ...pacbell!sactoh0!ejnihill | | All Others Pay Cash. || Flick Lives! | -_-_-_-_-_-_-_-_-_-_J.S.-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
rk@bigbroth.UUCP (rohan kelley) (11/23/88)
In article <557@sactoh0.UUCP>, ejnihill@sactoh0.UUCP (Eric J. Nihill) writes: > I am going to be installing a TB+ on a 3B2/310 and rather than > re-invent the wheel, I would like to find out what S Register > settings that others have used on 3B2/310 & 400's. Also, are > there any tricks to setting up the Devices and Dialers files? > I have the paper that TB sent, and it seems pretty straight > forward. > Thank-you; > Eric Eric - this is the memo I did when I installaed my telebit. It may help you avoid some pitfalls. MEMO From: Rohan Kelley (novavax!bigbroth!rk) Date: 4-14-88 Subject: TELEBIT MODEM SETUP **** System paramaters and settings for modem. **** The /etc/inittab line setup for 2400 baud (assuming use of tty33) should be: 33:2:respawn:/usr/lib/uucp/uugetty -r -t 60 tty33 2400H # trailblazer modem for 9600 baud, it would be: 33:2:respawn:/usr/lib/uucp/uugetty -r -t 60 tty33 9600H # trailblazer modem for 19,200 baud it would be: 33:2:respawn:/usr/lib/uucp/uugetty -r -t 60 tty33 19200H # trailblazer modem The ps -ft tty33 (at 2400 baud ) should look similar to: root 16349 1 0 20:44:00 tty33 0:01 /usr/lib/uucp/uugetty -r -t 60 tty33 24 and at 19,200 baud ... root 28981 1 0 11:13:03 tty33 0:01 /usr/lib/uucp/uugetty -r -t 60 tty33 19200H The /etc/gettydefs line should be: 2400H# B2400 # B2400 SANE IXANY TAB3 HUPCL #login: #1200H and 19200H# B19200 # B19200 SANE IXANY TAB3 HUPCL #login: #9600H [You can confirm the /etc/inittab, ps -ft and /etc/gettydefs entries with the commands: grep 33: /etc/inittab ps -ft 33 grep 2400H# /etc/gettydefs The /usr/lib/uucp/Devices file must include these entries: ACU tty33 - 19200 tbfast ACU tty33 - 2400 tb2400 ACU tty33 - 1200 tb1200 ACU tty33 - 9600 tbfast Direct tty33 - 19200 direct \D The /usr/lib/uucp/Dialers file must include these entries: tbfast =W-, "" A\pA\pA\pT OK \pATS51=254DT\p\D\r\c CONNECT\sFAST tb2400 =W-, "" A\pA\pA\pT OK ATDT\D\r\c CONNECT\s2400 tb1200 =W-, "" A\pA\pA\pT OK \pATS50=2DT\p\D\r\c CONNECT\s1200 **** Settings for the modem itself **** Reach the modem with the command: cu -l tty33 | tee (file_name) Note, this will make a record of the standard out (screen) and in the file named (file_name), which you can then print. When you get the indication, CONNNECTED, give the command at [return] until you receive the response, OK. To set the modem to run at fast speed using the UUCP g protocol, the command line when CONNECTED to the modem is: at &f s51=254 s52=2 s54=3 s110=1 s111=30 s45=0 q6 &w [return] Then type atn? [return]. The current modem settings will print in the screen and also a copy is made in the file, file_name. The response should look like: at OK atn? E1 F1 M1 Q6 P V1 X3 Version BA4.00 S00=001 S01=000 S02=043 S03=013 S04=010 S05=008 S06=002 S07=040 S08=002 S09=006 S10=007 S11=070 S12=050 S45=000 S47=004 S48=000 S49=000 S50=000 S51=254 S52=002 S53=000 S54=003 S55=000 S56=017 S57=019 S58=003 S59=000 S60=000 S61=045 S62=003 S63=001 S64=000 S65=000 S66=000 S67=000 S68=255 S90=000 S91=000 S92=000 S95=000 S100=000 S101=000 S102=000 S104=000 S110=001 S111=030 S112=001 S121=000 N0: N1: N2: N3: N4: N5: N6: N7: N8: N9: OK You can reset modem settings while CONNECTED to the modem with the command: ats0=1. This command sets the contents of register 0 to 1. See page 3-8 of the manual. ======================================================================= Rohan Kelley -- UNIleX Systems, Inc. (Systems and software for lawyers) UUCP: ...{gatech!uflorida,ucf-cs}!novavax!bigbroth!rk ATTmail: attmail!bigbroth!rk 3365 Galt Ocean Drive, Ft. Lauderdale, FL 33308 Phone: (305) 563-1504 "Go first class or your heirs will" -somebodyelse =======================================================================
eric@sactoh0.UUCP (Eric J. Nihill) (07/24/90)
I am attempting to convert a TB+ to on a AT&T 3B2/310 to Hardware
Flow Control.
(SVR3.2, EPORT Board, NCLIST=300)
I have already connected it up and and am getting fairly decent flow
using XON/XOFF control.
Here is the output from my TB+ connections. As you can see I can xmt
at a fairly decent rate, but my rec rate is poor. I am hoping that
converting to hardware flow control will help.
System Xfers Bytes rec Bytes xmt Connect Avg Xf Avg rec Avg xmt
============================================================================
csusac 58 613271 15366 0:14:47 10838 700 1306
pacbell 166 107262 181665 0:08:10 1740 365 923
pacengr 18 0 248993 0:03:13 13832 0 1288
I set S/REG58=2 and S/REG 67=01 in the TB+.
I changed the initab to read:
41:234:sh -c `stty -ixany -ixon -ixoff; epstty hfc; stty ixon ixoff; exec /usr/lib/uucp/uugetty -r -t 45 tty41 19200H`
I am using an "Automatic Call Unit (ACU) Modem" Connector (fig 2-7, pg 2-11
Enhanced Ports Manual, Issue 2)
Whenn I connect to the modem configured above, I get a utmp error and am
told that I must log in in the lowest level shell.
This port must be able to be used by dial up users at 12/24 and systems
at 12/24/19.2. The TB+ must also call systems at 19.2
I purchased the E-PORTS board used, I did not get the epstty(1) or eptermio(7) additions. Only the manual.
There must be a way that I can set tty41 to be hardware flow control
once and not have to keep resetting it by opening a shell. I think
that that may be the problem, but am not sure.
Any guiding light would be appreciated.
Thank-you;
Eric
--
Some do, some don't. | eric@sactoh0
Some will, some won't. | ames!pacbell!sactoh0!eric
I might! | ucbvax!csusac!sactoh0!eric
| USMail 95611-0785
woods@robohack.UUCP (Greg A. Woods) (07/25/90)
In article <3580@sactoh0.UUCP> eric@sactoh0.UUCP (Eric J. Nihill) writes: > System Xfers Bytes rec Bytes xmt Connect Avg Xf Avg rec Avg xmt > ============================================================================ > csusac 58 613271 15366 0:14:47 10838 700 1306 > pacbell 166 107262 181665 0:08:10 1740 365 923 > pacengr 18 0 248993 0:03:13 13832 0 1288 Those numbers look quite low for 19200. > I changed the initab to read: > 41:234:sh -c `stty -ixany -ixon -ixoff; epstty hfc; stty ixon ixoff; exec /usr/lib/uucp/uugetty -r -t 45 tty41 19200H` Why the "stty ixon ixoff" again? It won't do anything. > Whenn I connect to the modem configured above, I get a utmp error and am > told that I must log in in the lowest level shell. You might try putting the 'sh -c' bit in paren's with a redirect of stdin from the port in question. But.... > I purchased the E-PORTS board used, I did not get the epstty(1) or eptermio(7) additions. Only the manual. Then how did you get the driver loaded? Better find a copy of the EPORTS disk, 1.3 is the newest version I've seen (came with 3.2.2). > There must be a way that I can set tty41 to be hardware flow control > once and not have to keep resetting it by opening a shell. I think > that that may be the problem, but am not sure. If you have the eptermio(7) man page, and the header files /usr/include/sys/{ep_dep.h,ep_lla.h,eppc.h}, then write your own version of epstty. It's not all that hard! Then you can have a fake front-end to uugetty that sets hfc, then execs the getty. You could even get a copy of one of the PD uugetty's. They seem to work fine too. -- Greg A. Woods woods@{robohack,gate,eci386,tmsoft,ontmoh}.UUCP +1 416 443-1734 [h] +1 416 595-5425 [w] VE3-TCP Toronto, Ontario; CANADA
brian@ucsd.Edu (Brian Kantor) (07/25/90)
My experience with the 3B2/310 is that it can't handle 19200 bps sustained flow such as it would get using a trailblazer in uucp spoof mode. It drops characters and thus uucp does lots and lots of retries. Dropping down to 9600 bps actually increased uucp performance in my tests. This is particularly true of the console and contty ports, and is true of the ports board as well, but to a lesser extent. Note that the retries are between the 3B2 and the modem - the other end of the connection will never see them, since the modem is spoofing the protocol. You need to run the 3B2 in debug to even see it happening, and you might not be able to get an idea of the delays involved unless you stick a serial-line data monitor between the port and the modem. I believe the E-ports board in the large 3B2s can handle 19200 better than that, but I've never gotten around to trying it on our 3B2/1000s. - Brian
elliot@alfred.UUCP (Elliot Dierksen) (07/28/90)
One small side note on this. Instead of using a shell script to do stty's after login and then execute uucico, why don't you just create an entry in /etc/gettydefs that does what you want?? that would work just fine! EBD -- Elliot Dierksen "I don't care if my lettuce has DDT on it, as long as it's crisp!!" -- Jorma Kaukonen Work) candi.att.com!fang!ebd%ralph (407) 660-3377 Home) elliot@alfred.UUCP (407) 290-9744