From: ogata@etl.go.jp (Ichiro Ogata)
Subject: Re: Help about uucp connection
Organization: Electrotechnical Lab.
Date: Fri, 4 Sep 1992 01:32:11 GMT

In article <1992Sep3.161537.222@tiny.or.jp> takahasi@tiny.or.jp
(Hironobu Takahashi) writes:

>$B$3$l$O:G6a!">.J}%^%K%e%"%k(B sun-TB $BJT$,N.$l$F$$$J$$$N$,860x(B
>$B$@$J(B :-)

$B$J$s$G!"$3$3FI$s$G$$$k$C$FCN$C$F$$$i$C$7$c$k$s$@$m$&!)(B

$B$b$&!"0lG/$bA0$N%P!<%8%g%s$G$9$1$I!"!J$3$l0JMh?7$7$$(B setup $B$O$7$F$$$J(B
$B$$!KN.$7$^$7$g$&!#5$$KF~$C$F$b$i$($?$J$i$P!"#F#A#Q$K2C$($F$d$C$F2<$5$$!#(B

 uucp g protocol $B$K$h$k(B sfooling $B!J$G$9$+!)!K$K$D$$$F$ONI$/CN$i$J$$(B
$B!JKM$O!"$3$NLdBj$K$V$D$+$i$J$+$C$?!K$s$G!"@>B<$5$s=q$-B-$7$F2<$5$$!#(B


	$B>.J}!wEEAm8&(B


$B#9#1G/#1#07n#1F|%P!<%7%g%s(B


Sun $B$H(B TrailBlazer $B$N$D$J$.J}!'(B

 Trail Blazer T-2500 $B$N%;%C%H%"%C%W$r(B SUN OS 4.1.1/SparcStation2 $B$G$d(B
$B$j$^$7$?!#4JC1$K$G$-$F$&$l$7$$!#$5$F!"$3$l$r(B Sun $B$HAw<u?.7sMQ!"(B 19200
bps $B!"(B RTS/CTS $B%3%s%H%m!<%k!"(B UUCP G $B%W%m%H%3%k!&%5%]!<%H$J$I$G$N@_Dj(B
$B$7$^$7$?!#(B

$B$A$J$_$K(B telebit T-2500 $B$O(B v.32 (9600 bps) $B$H(B telebit $BFH<+$N(B PEP $B$N#2(B
$B$D$N%W%m%H%3%k$r%5%]!<%H$9$k>e!"(B MNP class 5 $B$b;H$($^$9!#!J$b$A$m$s!"(B 
2400 $B$d(B 1200 $B$G$b$D$J$,$j$^$9!#!K(B UUCP $B$K$O$*4+$a$@$7!"(B V.32 $B$r;H$C$F(B
$B$N(B interactive use $B$O2wE,$G$9!#$3$N%b%G%`$NCMCJ$O(B 20 $BK|1_$0$i$$$G$9!#(B
$BNc$($P!"%9%o%$%d!&%H%i%s%9%F%C%/(B tel 03-3230-9329 $B$,07$C$F$$$^$9!#(B

$B$3$N5-;v$r;H$C$F(B TB-2500 $B$r%$%s%9%H!<%k$7$??M$O!"$3$N5-;v$N4V0c$$$r%K%e!<(B
$B%9$K8xI=$9$k$3$H$r5AL3$K$7$?$$$H;W$$$^$9(B :-) $BJ,$+$j0W$/$9$k$?$a$N2~NI(B
$B$NDs0F$J$I$b!"$b$A$m$s!"<u$1IU$1$^$9!#(B


$B6qBNE*$J<j=g!'(B

$B#1!#(B TB $B$N%Q%M%kA0LL$N(B T/D $B%9%$%C%A$r2!$7$J$,$iEE8;$r%9%$%C%A$rF~$l$^(B
$B$9!#$3$NA`:n$K$h$j(B Enhanced Command Mode (ECM) $B$r%G%U%)!<%k%H$K$7$^$9!#(B
$B$3$3$N$H$3!"%^%K%e%"%k$N(B FastStartGuide $B$N#8%Z!<%8$r8+$F2<$5$$!#$3$l$,(B
$B%j%;%C%HF0:n$K$J$k$N$G!"(B TB $B$HDL?.$G$-$J$/$J$C$?$i!"$3$NA`:n$r$d$jD>$7(B
$B$F2<$5$$!#(B

$B#2!#%a%8%c!<!&%G%P%$%9!&%J%s%P!<$,0l=o$G!"%^%$%J!<!&%G%P%$%9!&%J%s%P!<(B
$B$,(B +128 $B$N!VAw?.MQ%G%P%$%9!W$r(B mknod $B$7$^$9!#Nc$($P!"(B /dev/ttya $B$KBP1~(B
$B$9$k%G%P%$%9(B /dev/cua0 $B$O(B

# cd /dev
# mknod cua0 c 12 128
# chown uucp cua0
# ls -lt cua0 ttya
crw-r--r--  1 uucp      12, 128 Jan 12 15:22 cua0
crw--w--w-  1 root      12,   0 Jan 12 15:08 ttya

$B$G$9!#(B

$B#3!#(B /etc/remote $B$N@hF,$K0J2<$N9T$rIU$12C$($^$9!#(B

cua0:dv=/dev/cua0:br#19200

$B#4!#(B/etc/ttytab $B$r=q$-49$($^$9!#(B

ttya    "/usr/etc/getty TrailBlazer"    vt100           on modem secure

$B#5!#(B/etc/gettytab $B$K%(%s%H%j!<$rIU$12C$($^$9!#(B

TrailBlazer:\
:sp#19200:ms=crtscts:

$B$3$l$O!"<u?.;~$K(B crtscts $B>uBV$K$7$F(B RTS/CTS $B%3%s%H%m!<%k$r2DG=$H$9$k$?(B
$B$a$G$9!#(B

$B$=$7$F!"(B

$B#6!#(B ttysoftcar $B$N<B9T!#(B

# /usr/etc/ttysoftcar -a

$B$r<B9T$7$^$9!#(B 

SUNOS 4.1 $B$+$i$O!"%+!<%M%k$r=q$-49$($J$/$H$b!"(B modem $B%U%i%C%0$r(B 
/etc/ttytab $B$K;XDj$7!"(B ttysoftcar -a $B$r$9$k$3$H$G(B hardware carrier
detect $B$,$G$-$k$s$G$9!#!J(B ttysoftcar $B$N%^%K%e%"%k;2>H!K(B

$B<!$K!"%9%H%l!<%H!&%1!<%V%k$G(B ttya $B$H(B TB $B$N(B RS232C $B$r$D$J$.!"(B tip cua0 
$B$7$^$9!#<+?.$,$J$1$l$P!"%9%H%l!<%H!&%1!<%V%k!J#4#0#0#01_$0$i$$!K$b%b%G(B
$B%`$H0l=o$KGc$C$H$$$?$[$&$,$$$$$+$b$7$l$^$;$s!#(B

# tip cua0

AT S51=5 S66=1 
AT S52=002 S54=003 S55=003 S58=002 S67=001 S130=005 S131=001 
AT S90=001 S95=002 S110=000 S111=030 
ATE0Q4X3&W
 
AT&N

E0 F1 M1 Q4 P V1 W0 X3 Y0 &P0 &T4     Version GH7.01B-T2500SA
S00=001 S01=000 S02=043 S03=013 S04=010 S05=008 S06=003 S07=040 S08=002 S09=006
S10=007 S11=070 S12=050 S18=000 S25=005 S26=000 S38=000 
S41=000 S45=000 S47=004 S48=000 S49=000 
S50=000 S51:005 S52:002 S54:003 S55:003 S56=017 S57=019 S58:002 S59=000 
S61=150 S62=003 S63=001 S64:001 S65=000 S66:001 S67:001 S68=255 S69=000 
S90:001 S91=000 S92=000 S93=008 S94=001 S95:002 S96=001 S97=000 S98=003 
S100=000 S101=000 S102=000 S104=000 S105=001 S106=000 S107=020 
S110:000 S111:030 S112=001 
S121=000 S130:005 S131:001 
S150=000 S151=004 S152=001 S153=001 S154=000 S155=000 S157=000 S158=000 
S160=010 S161=020 S162=002 S163=003 S164=007 S169=000 S255=000 
OK

$B#7!#(Bgetty $B$rN)$A$"$2$^$9!#(B

# kill -HUP 1

$B$r$9$k$3$H$G!"(B login $B$b2DG=$K$J$j$^$9!#!JA0$K(B /etc/ttytab $B$r=q$-49$($F(B
$B$^$9$+$i!K(B

$B$3$N>uBV$G$O!"(B

 csh % ps ax | grep Trail
 4459 ?  IW    0:00 - TrailBlazer ttya (getty)
 6026 ?  IW    0:00 - TrailBlazer ttyb (getty)

$B$H$$$&$h$&$K(B getty $B$,F0$-=P$7$^$9$,!"$3$l$GLdBj$"$j$^$;$s!#(B

$B#8!#(B UUCP $BDL?.(B

 UUCP $BDL?.$N@_Dj$r$9$k;~!"(B Dialers $B$K(B STTY=crtscts $B$rIU$12C$($^$9!#$3(B
$B$l$G!"(Btty $B$r(B RTS/CTS $B%3%s%H%m!<%k2D$H$G$-$^$9!#(B

$B$3$l$G!":n6H$OA4It=*$j!#(B

$BIUO?#A!'%l%8%9%?!<CM$N0UL#(B

$B$5$F!"%G%U%)!<%k%H$+$iJQ99$7$?%l%8%9%?!<0UL#$O!"0J2<$NDL$j$G$9!#(B

 S51=005   Interface speed 19.2 kbps
 S52=002   Modem hangs up if DTR is off. performs reset where DTR on->off
 S54=003   send break to remote modem
 S55=003   Escape sequence Interpretation (Escape sequence off)
 S58=002   RTS/CTS flow control
 
 S66=001   Lock Interface Speed
 S67=001   CTS Signal Interpretaion

 S90=001   CCITT mode (V.22 at 1200 bps)
 S95=002   MNP auto reliable mode
 S110=000  PEP Mode Data Compression Disable
 S111=030  Use UUCP G protocol

 S130=005  DSR interpretation
 S131=001  DCD interpretation

 E0  Echo back
 Q4  Quiet mode
 X3  Result code

$BFC$K(B S52 = 002 $B$G$9$,!"$3$l$O!"EEOC$,@Z$l$?;~$K<+F0E*$K<u?.MQ$N%;%C%H(B
$B%"%C%W$KLa$9$H$$$&0UL#$G$9!#IUO?#B$K$b$"$k$h$&$K!"Aw?.;~$K$OAw?.;~$N%;%C(B
$B%H%"%C%W$,$G$-$^$9$+$i!"IT4xH/@-(B RAM $B$K$O<u?.B&$N%;%C%H%"%C%W$rF~$l$F(B
$B$*$/$HNI$$$N$G$9!#(B

$BIUO?#B!'%N%&%O%&=8(B

$B#1!#(B interactive use $B$r9M$($F!"(BMNP $B$"$j(B s95=2 $B$H$7$^$7$?$,!"(B 
2400bps/MNP $B@\B3$G(B uucp $B$9$k$H%(%i!<$,5/$3$k>l9g$,$"$k$H$$$&OC$7$,$"$j(B
$B$^$9!#$=$N>l9g!"(B L.sys $B!J$b$7$/$O!"(B /etc/uucp/Dialers $B!K$G(B ats95=0 $B$r(B
$B;XDj$7$F2<$5$$!#(B S52=002 $B$H$7$F$$$k$N$G!"EEOC$,@Z$l$?;~E@$G!"(B reset 
$B!J(B atz$B!K(B $B$,9T$J$o$l!"(B s95=2 $B$KLa$j$^$9!#(B

$B#2!#(B S110=001 PEP Mode Data Compression Enable $B$G$9$,!"(B news $B$NE>Aw$N(B
$B$h$&$K$"$i$+$8$a(B compress $B$5$l$F$$$k$b$N$K$O!"8z2L$,Gv$$$P$+$j$+E>Aw8z(B
$BN($r2<$2$k>l9g$,$"$k$h$&$G$9!#<B83$5$l$?$$!#(B

$B#3!#(Bv.22 (1200)$B$d(B v.22bis (2400) $B$G<u?.$9$k$3$H$,B?$$>l9g$K$O!"(B PEP $B$N(B 
tone $B$G%b%G%`$r68$o$;$J$$$?$a$K!"(B S92=1 Answering Sequence Selection 
$B$r;XDj$9$k$N$,$$$$$3$H$,$"$j$^$9!##T#B$K%3!<%k$7$?%b%G%`$,%O%s%0%"%C%W(B
$B$9$k$H$N;XE&$r<u$1$?;~!"$*;n$72<$5$$!#(B

$B#4!#Ii2Y$NB?$$%^%7%s$G$O!"(B 19200 baud $B$O6l$7$$;~$,$"$k$_$?$$$G$9!#:G0-(B
$B$N>l9g!"(BRTS/CTS $B%3%s%H%m!<%k$,H/?6$7$F$7$^$C$F!"EEOC$,$+$+$j$C$Q$J$7$J(B
$B$N$KDL?.$,$G$-$J$/$J$k>l9g$,$"$j$^$9!#$3$l$,IQH/$9$k$h$&$J$i!"(B 9600
baud $B$G2fK}$9$k$7$+$J$$$G$7$g$&!#(B


$BIUO?#C!'#U#U#C#P@\B3(B

 Sun OS 4.x $B$G$N(B UUCP $B@\B3$KI,MW$J%U%!%$%k(B /et/uucp/XXXX $B$N@_Dj$G$9!#(B

 fff $B$O(B TB fast $B$N%b%G%`$r;}$C$F$$$k%5%$%HL>!"(B sss $B$O(B 2400 baud $B%b%G%`(B
$B$r;}$C$F$$$k%5%$%HL>$N$D$b$j$G$9!#(B

$B!v(B Devices:

FAST cua0 - 19200 tb-fast
SLOW cua0 - 19200 tb-slow

$B!v(B Dialers:

tb-slow	=W-,	"" \dA\pA\pATZ OK\r ATs2=255s12=255s50=3s95=0\r\c OK\r \
ATDP\T\r\c 2400 STTY=crtscts
tb-fast	=W-,	"" \dA\pA\pATZ OK\r ATs2=255s12=255s50=255s95=0\r\c OK\r \ 
ATDP\T\r\c FAST STTY=crtscts

	$BCm!'<B:]$K$O0l9T$K=q$$$F2<$5$$!#(B

$B!v(B Systems:

fff   Any FAST,g 19200 xx-xxxx in:--in: uulogin word: passwd
sss   Any SLOW,g 19200 xx-xxxx in:--in: uulogin word: passwd

$B>l9g$K$h$C$F$O!"(B

fff Any FAST,g 19200 xx-xxxx "" P_ZERO in:--in: uulogin word: passwd

$B$H(B P_ZERO $B%*%W%7%g%s$,I,MW$J>l9g$,$"$j$^$9!#(B

$B!v(B Permissions:

# remote call me
LOGNAME=UUogata VALIDATE=fff REQUEST=yes SENDFILES=yes
# I call remote
MACHINE=sss:fff COMMANDS=rmail:rnews SENDFILES=yes


$B@_Dj$r:Q$^$;$?$i!"(B

  #% /usr/lib/uucp/Uutry -r fff 

$B$r$d$C$F!"@\B3;n83$r$7$F$_$F2<$5$$!#(B

	$B>.J}!wEEAm8&(B