This file is indexed.

/usr/share/doc/HOWTO/ja-html/Modem-HOWTO-12.html is in doc-linux-ja-html 2006.05.25-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
 <TITLE>The Linux Modem-HOWTO : $B%@%$%d%k%$%sMQ$N(B uugetty ($B8E$$(B Serial-HOWTO $B$+$i0zMQ(B)</TITLE>
 <LINK HREF="Modem-HOWTO-13.html" REL=next>
 <LINK HREF="Modem-HOWTO-11.html" REL=previous>
 <LINK HREF="Modem-HOWTO.html#toc12" REL=contents>
</HEAD>
<BODY>
<A HREF="Modem-HOWTO-13.html">$B<!$N%Z!<%8(B</A>
<A HREF="Modem-HOWTO-11.html">$BA0$N%Z!<%8(B</A>
<A HREF="Modem-HOWTO.html#toc12">$BL\<!$X(B</A>
<HR>
<H2><A NAME="uugetty_"></A> <A NAME="s12">12.</A> <A HREF="Modem-HOWTO.html#toc12">$B%@%$%d%k%$%sMQ$N(B uugetty ($B8E$$(B Serial-HOWTO $B$+$i0zMQ(B)</A>  </H2>

<P> mgetty $B$r(B <CODE>uugetty</CODE> $B$N(B($B$h$jNI$$(B?)$BBe$o$j$H$7$F;H$($k$3$H$rCN$C$F(B
$B$/$@$5$$!#(B<CODE>mgetty</CODE> $B$O(B uugetty $B$h$j$b?7$7$/!"I>H=$,NI$$$G$9!#(B2 $B$D$N(B 
getty $B$N4JC1$JHf3S$K$D$$$F$O(B 
<A HREF="Modem-HOWTO-11.html#getty_">getty $B$H$O(B?</A> $B$r$4(B
$BMw$/$@$5$$!#(B</P>


<H2><A NAME="ss12.1">12.1</A> <A HREF="Modem-HOWTO.html#toc12.1">getty_ps $B$N%$%s%9%H!<%k(B</A>
</H2>

<P> uugetty $B$O(B getty_ps $B$N0lIt$J$N$G!"$^$::G=i$K(B getty_ps $B$r%$%s%9%H!<(B
$B%k$7$J$1$l$P$J$j$^$;$s!#<j85$K$J$1$l$P!"(B<CODE>
<A HREF="ftp://metalab.unc.edu:/pub/Linux/system/serial">ftp://metalab.unc.edu:/pub/Linux/system/serial</A></CODE> $B$+$i:G?7%P!<(B
$B%8%g%s$r<j$KF~$l$F$/$@$5$$!#FC$K!"(B(57600 $B$"$k$$$O(B 115200 bps $B$N(B)$B9bB.DL(B
$B?.$r$7$?$$$J$i!"%P!<%8%g%s(B 2.0.7j $B0J9_$,I,MW$G$9!#$^$?!"(Blibc 5.x $B0J9_(B
$B$bI,MW$G$9!#(B</P>


<P> $B%G%U%)%k%H$G$O!"(B<CODE>getty_ps</CODE> $B$O(B FSSTND (File System Standard) $B$K(B
$B=>$C$F@_Dj$5$l$F$*$j!"%P%$%J%j$,(B <CODE>/sbin</CODE> $B$KF~$C$F$$$F!"@_Dj%U%!(B
$B%$%k$O(B <CODE>/etc/conf.{uu}getty.ttyS</CODE><EM>N</EM> $B$H$$$&L>A0$K$J$C$F$$$^(B
$B$9!#$3$N$3$H$OJ8=q$K$O$C$-$j$H=q$$$F$O$"$j$^$;$s(B!  $B$=$7$F!"%m%C%/%U%!(B
$B%$%k$r(B <CODE>/var/lock</CODE> $B$K:n$j$^$9!#%G%#%l%/%H%j(B <CODE>/var/lock</CODE> 
$B$,$"$k$3$H$r3NG'$7$F$/$@$5$$!#(B</P>


<P> FSSTND $B$K=>$$$?$/$J$$$J$i!"%P%$%J%j$O(B <CODE>/etc</CODE> $B$K!"@_Dj%U%!%$(B
$B%k$O(B <CODE>/etc/default/{uu}getty.ttyS</CODE><EM>N</EM> $B$K$J$j!"%m%C%/%U%!(B
$B%$%k$O!"(B<CODE>/usr/spool/uucp</CODE> $B$KF~$j$^$9!#$b$7(B UUCP $B$r;H$&$J$i!"$3(B
$B$NJ}K!$r4+$a$^$9!#$J$<$J$i!"(BUUCP $B$O<+J,$NCN$i$J$$$H$3$m$X%m%C%/%U%!%$(B
$B%k$r0\$9$HLdBj$r5/$3$9$3$H$,$"$k$+$i$G$9!#(B</P>


<P> $B99$K!"(B<CODE>getty_ps</CODE> $B$O(B <CODE>syslogd</CODE> $B$r;H$C$F%a%C%;!<%8$N5-(B
$BO?$r<h$j$^$9!#$b$7!"$^$@(B <CODE>syslogd</CODE> $B$rF0$+$7$F$$$J$$$N$J$i!"(B
<CODE>syslogd(1)</CODE> $B$H(B <CODE>syslogd.conf(5)</CODE> $B$N(B man $B%Z!<%8$r8+$F@_(B
$BDj$7$F2<$5$$!#%a%C%;!<%8$OM%@hEYIU$-$G(B <CODE>LOG_AUTH</CODE>$B!"%(%i!<$O(B 
<CODE>LOG_ERR</CODE>$B!"%G%P%C%0$O(B <CODE>LOG_DEBUG</CODE> $B$X5-O?$5$l$^$9!#(B
<CODE>syslogd</CODE> $B$r;H$$$?$/$J$1$l$P!"(B<CODE>getty_ps</CODE> $B$N%=!<%9%U%!%$(B
$B%k$NCf$K$"$k(B <CODE>tune.h</CODE> $B$rJT=8$7$F%a%C%;!<%8=PNO$d%G%P%C%0$K$O%m(B
$B%0%U%!%$%k$r;HMQ$9$k$h$&$KJQ99$7$^$7$g$&!#>JN,;~$N%m%0%U%!%$%kL>$O(B 
<CODE>/var/adm/getty.log</CODE> $B$K$J$j$^$9!#(B</P>


<P> FSSTND $B4p=`$H(B syslogd $B$N5!G=$r:NMQ$9$k$+7h$a$F$/$@$5$$!#$b$A$m$s(B 2 
$B$D$rAH$_9g$o$;$k$3$H$b=PMh$^$9!#(B<CODE>Makefile</CODE>, <CODE>tune.h</CODE> $B$*(B
$B$h$S(B <CODE>config.h</CODE> $B$r!"7hDjDL$j$KJT=8$7$^$9!#%Q%C%1!<%8$K4^$^$l$k(B
$B@bL@$K=>$C$F%3%s%Q%$%k$7!"%$%s%9%H!<%k$7$^$9!#(B</P>


<H2><A NAME="ss12.2">12.2</A> <A HREF="Modem-HOWTO.html#toc12.2">uugetty $B$N@_Dj(B</A>
</H2>

<P> <CODE>uugetty</CODE> $B$,%m%0%$%s$K;H$&%]!<%H$r4F;k$7$F$$$k4V$K!"(B
<CODE>uugetty</CODE> $B$rMQ$$$F%b%G%`$+$iEEOC$r$+$1$F$b$5$7$D$+$($"$j$^$;$s!#$3(B
$B$N(B HOWTO $B$N86Cx<T$O(B <CODE>/dev/cuaN</CODE> $B$rEEOC$r$+$1$k$?$a$K;H$&$H=R$Y(B
$B$F$$$^$9(B (uugetty $B$O(B <CODE>/dev/ttyN</CODE> $B$GF0$$$F$$$^$9(B)$B!#$7$+$7!"B>$N(B
$B?M$O%@%$%d%k%$%s$H%@%$%d%k%"%&%H$NN>J}$G(B <CODE>/dev/ttyN</CODE> $B$r;H$o$J$1(B
$B$l$P$J$i$J$$$H8@$$$^$9!#$I$A$i$,@5$7$$$N$G$7$g$&(B???</P>
<P>[$BLuCm(B : <CODE>/dev/cuaN</CODE> $B$H(B <CODE>/dev/ttyN</CODE> $B$K4X$9$k5DO@$O(B 
<A HREF="Modem-HOWTO-8.html#cua_dev">cua $B%G%P%$%9(B</A> $B$K$"$j$^$9!#(B]</P>

<P><CODE>uugetty</CODE> $B$O=EMW$J%m%C%/%U%!%$%k$N4F;k$r9T$$$^$9!#(B
<CODE>/etc/gettydefs</CODE> $B$K%b%G%`$N%(%s%H%j$rDI2C$7$^$9!#(B
<CODE>/etc/gettydefs</CODE> $B$NJT=8$,=*$C$?$i!"0J2<$N$h$&$K$7$F5-=R$,@5$7$$(B
$B$+3NG'$G$-$^$9(B :</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
linux# getty -c /etc/gettydefs
</PRE>
</CODE></BLOCKQUOTE>
</P>


<H3>$B:G6a$N%b%G%`(B</H3>

<P> $B%G!<%?05=L5!G=$r;}$D(B 9600 bps $B0J>e$N%b%G%`$G$O!"%7%j%"%k%]!<%H$r$R(B
$B$H$D$NB.EY$X8GDj$G$-$^$9!#Nc$($P(B :</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
# 115200 fixed speed
F115200# B115200 CS8 # B115200 SANE -ISTRIP HUPCL #@S @L @B login: #F115200
</PRE>
</CODE></BLOCKQUOTE>
</P>


<P> RTS/CTS $B%O!<%I%&%'%"%U%m!<@)8f$r9T$&$h$&@_Dj$9$k$J$i!"(B
<CODE>CRTSCTS</CODE> $B$rDI2C$7$^$9(B :</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
# 115200 fixed speed with hardware flow control
F115200# B115200 CS8 CRTSCTS # B115200 SANE -ISTRIP HUPCL CRTSCTS #@S @L @B login: #F115200
</PRE>
</CODE></BLOCKQUOTE>
</P>


<H3>$B8E$$DcB.$N%b%G%`(B</H3>

<P> (9600 bps $B0J2<$N(B)$BDcB.%b%G%`$G$O!"FCDj$NB.EYMQ$K(B 1 $B9T5-=R$9$kBe$o$j(B
$B$K!"$$$/$D$+$NB.EY$r;n$9$?$a$KJ#?t$N9T$,I,MW$G$9!#(B<CODE>#38400</CODE> $B$H$$$C$?(B
$B3F9T$N:G8e$N!VC18l!W$K$h$j!"%b%G%`$N%(%s%H%j$O$*8_$$$K%j%s%/$7$F$$$k$3(B
$B$H$rCm0U$7$F2<$5$$!#$^$?!"3F9T$N4V$K$O6uGr9T$,#19TI,MW$K$J$k$3$H$K$bCm(B
$B0U$7$F2<$5$$!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
# Modem entries
115200# B115200 CS8 # B115200 SANE -ISTRIP HUPCL #@S @L @B login: #57600

57600# B57600 CS8 # B57600 SANE -ISTRIP HUPCL #@S @L @B login: #38400

38400# B38400 CS8 # B38400 SANE -ISTRIP HUPCL #@S @L @B login: #19200

19200# B19200 CS8 # B19200 SANE -ISTRIP HUPCL #@S @L @B login: #9600

9600# B9600 CS8 # B9600 SANE -ISTRIP HUPCL #@S @L @B login: #2400

2400# B2400 CS8 # B2400 SANE -ISTRIP HUPCL #@S @L @B login: #115200
</PRE>
</CODE></BLOCKQUOTE>
</P>



<H3>$B%m%0%$%s%P%J!<(B</H3>

<P> $B$*K>$_$J$i!"(B<CODE>uugetty</CODE> $B$K!"%m%0%$%s;~$KLLGr$=$&$J%P%J!<$rI=<($5(B
$B$;$k$3$H$b$G$-$^$9!#(BGreg $B$5$s$NNc$G$O!"%7%9%F%`%M!<%`$H%7%j%"%k%i%$%s(B
$BL>!"$=$7$FDL?.B.EY$G$9!#B>$K$b0J2<$N$h$&$J$b$N$,$"$j$^$9(B :</P>

<P>
<BLOCKQUOTE><CODE>
<PRE>
       @B   $B8=:_$NDL?.B.EY(B (bps, @B $B$rJQ49$9$k$H$-$KD4$Y$k(B)
       @D   MM/DD/YY$B$G$"$i$o$5$l$kG/7nF|(B
       @L   uugetty $B$,B0$9$k%7%j%"%k%i%$%s(B (ttySN)
       @S   $B%7%9%F%`L>(B
       @T   HH:MM:SS $B$GI=$5$l$k;~J,IC(B (24$B;~4V@)(B).
       @U   $B8=:_$N@\B3%f!<%6!<?t(B 
$B!!!!!!(B      $B$3$l$O!"(B /etc/utmp $B%U%!%$%kFb$N(B ut_name $B%U%#!<%k%I(B
$B!!!!!!(B      $B$N$&$AM-8z$J%l%3!<%I$N?t$G$9!#(B
       @V   $B%P!<%8%g%s(B  $B%G%U%)%k%H%U%!%$%k$G;XDj$7$?(B OS $B%P!<%8%g%s(B
       '@' $B$=$N$b$N$rI=<($7$?$1$l$P!"(B '\@' $B$+(B '@@' $B$r;H$C$F$/$@$5$$!#(B
</PRE>
</CODE></BLOCKQUOTE>
</P>


<H2><A NAME="ss12.3">12.3</A> <A HREF="Modem-HOWTO.html#toc12.3">uugetty $B$N%+%9%?%^%$%:(B</A>
</H2>

<P> $B3F%]!<%H$r<+:_$K@)8f$G$-$k?tB?$/$N%Q%i%a!<%?!<$,B7$C$F$$$^$9!#$=$l(B
$B$>$l$N%]!<%H$r8DJL$K@_Dj$G$-$k$h$&%]!<%HC10L$N@_Dj%U%!%$%k$,MQ0U$5$l$F(B
$B$$$^$9!#(B<CODE>/etc/conf.uugetty</CODE> $B$O(B <CODE>uugetty</CODE> <EM>$B6&DL$N(B</EM> 
$B@_Dj%U%!%$%k$G!"(B<CODE>/etc/conf.uugetty.ttyS</CODE><EM>N</EM> $B$,$=$N%]!<%H(B
$B$@$1$N@_Dj%U%!%$%k$G$9!#$?$$$F$$$N(B linux $B%G%#%9%H%j%S%e!<%7%g%s$KIUB0(B
$B$7$F$$$k(B <CODE>getty_ps</CODE> $B$N%=!<%9%U%!%$%k$NCf$K!"$3$l$i$N%5%s%W%k%U%!(B
$B%$%k$,4^$^$l$F$$$^$9!#%9%Z!<%9$N4X78$G!"$3$3$K$O7G:\$7$^$;$s!#(B(2.0.7e
$B0JA0$N(B)$B8E$$%P!<%8%g%s$N(B <CODE>uugetty</CODE> $B$r;H$C$F$$$k$+!"(BFSSTND $B8_49$K(B
$B$7$J$+$C$?>l9g$O!"@_Dj%U%!%$%k$O(B 
<CODE>/etc/default/uugetty.ttyS</CODE><EM>N</EM> $B$K$J$C$F$$$k$3$H$KCm0U$7(B
$B$F2<$5$$!#Cx<T$N(B <CODE>/etc/conf.uugetty.ttyS3</CODE> $B$O!"<!$N$h$&$J$b$N$G(B
$B$9!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
# sample uugetty configuration file for a Hayes compatible modem to allow
# incoming modem connections
#
# alternate lock file to check... if this lock file exists, then uugetty is
# restarted so that the modem is re-initialized
ALTLOCK=cua3
ALTLINE=cua3
# line to initialize
INITLINE=cua3
# timeout to disconnect if idle...
TIMEOUT=60
# modem initialization string... 
# format: &lt;expect> &lt;send> ... (chat sequence)
INIT="" AT\r OK\r\n
WAITFOR=RING
CONNECT="" ATA\r CONNECT\s\A
# this line sets the time to delay before sending the login banner
DELAY=1
#DEBUG=010
</PRE>
</CODE></BLOCKQUOTE>
</P>

<P>$B<!$K!"(B<CODE>/etc/inittab</CODE> $B$X0J2<$K<($99T$rDI2C$7$^$9!#%7%j%"%k%]!<%H(B
$B$KBP$7$F(B <CODE>uugetty</CODE> $B$,F0$/$h$&!"(B(2345 $B$"$k$$$O(B 345 $B$H$$$C$?(B)$B%i%s(B
$B%l%Y%k!"@_Dj%U%!%$%k$N>l=j!"%]!<%H!"B.EY!"$=$7$F%G%U%)%k%H$NC<Kv%?%$%W(B
$B$J$I$N4D6-$K9g$o$;$F@5$7$/@_Dj$7$F$/$@$5$$!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
S3:2345:respawn:/sbin/uugetty -d /etc/default/uugetty.ttyS3 ttyS3 F115200 vt100
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P><CODE>init</CODE> $B$r:F5/F0$7$^$9(B :</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
linux# init q 
</PRE>
</CODE></BLOCKQUOTE>
</P>

<P><CODE>/etc/inittab</CODE> $B$K$*$$$F!"B.EY%Q%i%a!<%?$H$7$F%b%G%`$,%5%]!<%H$9(B
$B$k:G9bB.EY$r;H$$$?$$$G$7$g$&!#(B</P>


<P> $B$3$l$G!"%7%j%"%k%]!<%H$X$N@\B3$r(B Linux $B$,4F;k$7$^$9!#JL$N%^%7%s$+$i(B
$BEEOC$r$+$1!"(BLinux $B$X%m%0%$%s$7$F$/$@$5$$!#(B</P>


<P> <CODE>uugetty</CODE> $B$O99$KB?$/$N%*%W%7%g%s$,$"$j$^$9!#40A4$J@bL@$O(B ($B$7$P(B
$B$7$P(B <CODE>uugetty</CODE> $B$H8F$P$l$k(B) <CODE>getty(1m)</CODE> $B$N%^%K%e%"%k$r8+(B
$B$F$/$@$5$$!#$3$NB>$K$b%9%1%8%e!<%j%s%05!G=$d%3!<%k%P%C%/5!G=$,$"$j$^$9!#(B</P>
<P>[$BLuCm(B : $B%^%K%e%"%k$N4IM}%3%^%s%I%;%/%7%g%s(B <CODE>1m</CODE> $B$O!"8=:_$O(B $B%;(B
$B%/%7%g%s(B <CODE>8</CODE> $B$K$J$C$F$$$^$9!#(B]</P>


<HR>
<A HREF="Modem-HOWTO-13.html">$B<!$N%Z!<%8(B</A>
<A HREF="Modem-HOWTO-11.html">$BA0$N%Z!<%8(B</A>
<A HREF="Modem-HOWTO.html#toc12">$BL\<!$X(B</A>
</BODY>
</HTML>