/usr/share/doc/HOWTO/ja-html/PPP-HOWTO-29.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 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
<TITLE>Linux PPP HOWTO: PPP $B%5!<%P$N@_Dj(B</TITLE>
<LINK HREF="PPP-HOWTO-30.html" REL=next>
<LINK HREF="PPP-HOWTO-28.html" REL=previous>
<LINK HREF="PPP-HOWTO.html#toc29" REL=contents>
</HEAD>
<BODY>
<A HREF="PPP-HOWTO-30.html">$B<!$N%Z!<%8(B</A>
<A HREF="PPP-HOWTO-28.html">$BA0$N%Z!<%8(B</A>
<A HREF="PPP-HOWTO.html#toc29">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s29">29.</A> <A HREF="PPP-HOWTO.html#toc29">PPP $B%5!<%P$N@_Dj(B</A></H2>
<P>$B4{$K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)$B@\B3!#(B</A>
</H2>
<P>PPP $B%5!<%P$r@_Dj$9$kA0$K(B Linux $B$,@5$7$/EEOC$r<u$1$i$l$k$3$H$r3NG'$7$F(B
$B$*$$$F$/$@$5$$!#(B</P>
<P><B>$B$3$N(B HOWTO $B$G$O$=$NItJ,$O07$$$^$;$s!#A*$s$@(B getty $B$N%I%-%e%a%s%H$d(B
serial HOWTO $B$r8fMw$/$@$5$$!#(B</B></P>
<H2><A NAME="ss29.5">29.5</A> <A HREF="PPP-HOWTO.html#toc29.5">PPP $B$N%*%W%7%g%s%U%!%$%k$N@_Dj(B</A>
</H2>
<P><CODE>/etc/ppp/options</CODE> $B$K$OA4$F$N%]!<%H$K6&DL$9$k%*%W%7%g%s$r@_Dj$7(B
$B$^$9!#;d$?$A$,;H$C$F$$$k%*%W%7%g%s$O!'(B</P>
<P>
<HR>
<PRE>
asyncmap 0
netmask 255.255.254.0
proxyarp
lock
crtscts
modem
</PRE>
<HR>
</P>
<P>$BCm0U(B - $B;d$?$A$O(B($BL@<(E*$K(B)$B7PO)$r;XDj$7$F$$$^$;$s(B - $B2C$($F%G%U%)%k%H%k!<%H(B
$B%*%W%7%g%s$b;XDj$7$F$$$^$;$s!#$J$<$J$i!"(B(PPP $B%5!<%P$K$H$C$F(B)$BI,MW$J5!G=(B
$B$O(B ppp $B%/%i%$%"%s%H(B<B>$B$+$i(B</B>$B$N%Q%1%C%H$r(B LAN/Internet $B$XAw$j$@$7!"(B
LAN/Internet $B$+$i$N%Q%1%C%H$r%/%i%$%"%s%H(B<B>$B$X(B</B>$BAw$j$@$9$3$H$@$1$@$+(B
$B$i$G$9!#(B</P>
<P>$B$3$N$?$a$KI,MW$J$N$O%/%i%"%s%H%^%7%s$X$N%[%9%H$H$7$F$N7PO)$H(Bpppd $B$KM?(B
$B$($k(B 'proxyarp' $B%*%W%7%g%s$@$1$G$9!#(B</P>
<P>proxyarp $B%*%W%7%g%s$r;XDj$9$k$H(B($B6C$/$Y$-$3$H$K(B)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<P>$B$3$N%(%$%j%"%9$N0UL#$O(B</P>
<P>
<UL>
<LI>exec : $B8=:_F0$$$F$$$k%W%m%0%i%`(B($B$3$NNc$G$O%7%'%k(B)$B$KBX$($F!";XDj$7$?%W(B
$B%m%0%i%`$r5/F0!#(B
</LI>
<LI>pppd -detach : pppd $B$r(B fork $B$7$F%P%C%/%0%i%&%s%I$KF~$i$J$$$h$&$K(B
$B$7$F5/F0!#$3$&$7$F$*$1$P(B pppd $B$,=*N;$7$?;~$K(B(PPP $B@\B3Cf$K5/F0$7$?(B)$B%W%m(B
$B%;%9$bA4$F=*N;$7$^$9!#(B
</LI>
</UL>
$B%f!<%6$,%m%0%$%s$7$F$/$l$P!"(B'w' $B%3%^%s%I$G0J2<$N$h$&$KI=<($5$l$^$9!#(B</P>
<P>
<HR>
<PRE>
6:24pm up 3 days, 7:00, 4 users, load average: 0.05, 0.03, 0.00
User tty login@ idle JCPU PCPU what
hartr ttyC0 3:05am 9:14 -
</PRE>
<HR>
</P>
<P>$B$3$l$G$*=*$$!#=i$a$K8@$C$?DL$j!"C1=c$G4pK\E*$J(B PPP $B%5!<%P%7%9%F%`$,=P(B
$BMh>e$,$j$^$7$?!#(B</P>
<HR>
<A HREF="PPP-HOWTO-30.html">$B<!$N%Z!<%8(B</A>
<A HREF="PPP-HOWTO-28.html">$BA0$N%Z!<%8(B</A>
<A HREF="PPP-HOWTO.html#toc29">$BL\<!$X(B</A>
</BODY>
</HTML>
|