/usr/share/doc/HOWTO/ja-html/PPP-HOWTO-17.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 252 253 254 255 256 257 258 259 260 261 262 263 | <!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@\B3$r<jF0$G5/F0(B</TITLE>
<LINK HREF="PPP-HOWTO-18.html" REL=next>
<LINK HREF="PPP-HOWTO-16.html" REL=previous>
<LINK HREF="PPP-HOWTO.html#toc17" REL=contents>
</HEAD>
<BODY>
<A HREF="PPP-HOWTO-18.html">$B<!$N%Z!<%8(B</A>
<A HREF="PPP-HOWTO-16.html">$BA0$N%Z!<%8(B</A>
<A HREF="PPP-HOWTO.html#toc17">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s17">17.</A> <A HREF="PPP-HOWTO.html#toc17">PPP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3$N$h$&$J(B ppp $B%G%P%$%9$NI=(B
$B<($,8+$i$l$k$O$:$G$9!#(B</P>
<P>
<HR>
<PRE>
ppp0 Link encap:Point-Point Protocol
inet addr:10.144.153.104 P-t-P:10.144.153.51 Mask:255.255.255.0
UP POINTOPOINT RUNNING MTU:552 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
</PRE>
<HR>
</P>
<P>$B$3$3$G!"(B
<UL>
<LI>inet addr:10.144.153.104 $B$O$"$J$?$NB&$N(B IP $BHV9f$G!"(B</LI>
<LI>P-t-P:10.144.153.51 $B$O%5!<%PB&$N(B IP $BHV9f$G$9(B</LI>
</UL>
</P>
<P>(ifconfig $B$O$"$J$?$N(B PPP $B%5!<%P$G;H$C$F$$$k(B IP $BHV9f0J30$OJs9p$7$J$$$+$b(B
$BCN$l$^$;$s(B)</P>
<P>$BCm0U!'(Bifconfig $B$O@\B3$,(B UP $B$G(B RUNNING $B>uBV$K$J$C$F$$$k$3$H$b<($7$F$$$^$9!#(B</P>
<P>$B$b$7!"$3$N$h$&$KI=<($5$l$?>l9g!"(B</P>
<P>
<HR>
<PRE>
ppp0 Link encap:Point-Point Protocol
inet addr:0.0.0.0 P-t-P:0.0.0.0 Mask:0.0.0.0
POINTOPOINT MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
</PRE>
<HR>
</P>
<P>PPP $B@\B3$,$&$^$/3NN)$5$l$F$$$^$;$s!#8e=R$9$k%G%P%C%0$K$D$$$F$N>O$r8fMw(B
$B$/$@$5$$!#(B</P>
<P>$BF1;~$K!"%j%b!<%H%[%9%H(B($B$H$=$N@h(B)$B$X$N7PO)$,3NN)$7$F$$$k$+%A%'%C%/$7$^$7$g(B
$B$&!#$=$N$?$a$K$O!"(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
route -n
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B%3%^%s%I$r;H$$$^$9!#$9$k$H!"0J2<$N$h$&$J=PNO$,8+$i$l$k$O$:$G$9!#(B</P>
<P>
<HR>
<PRE>
Kernel routing table
Destination Gateway Genmask Flags MSS Window Use Iface
10.144.153.3 * 255.255.255.255 UH 1500 0 1 ppp0
127.0.0.0 * 255.0.0.0 U 3584 0 11 lo
10.0.0.0 * 255.0.0.0 U 1500 0 35 eth0
default 10.144.153.3 * UG 1500 0 5 ppp0
</PRE>
<HR>
</P>
<P>$B$3$3$G(B ppp $B%$%s%?!<%U%'%$%9$K(B<B>2 $B$D$N(B</B>$B%(%s%H%j$,$G$-$F$$$k$3$H$K(B
$BFC$KCm0U$7$F$/$@$5$$!#(B</P>
<P>$B:G=i$N$b$N$O%[%9%H$X$N7PO)(B(H $B%U%i%0$,<($7$F$$$^$9(B)$B$G!"@\B3@h$N(B IP $B%"%I%l(B
$B%9$r<($7$F$$$^$9!#$7$+$7!"$=$3$+$i@h$X$N7PO)$O$"$j$^$;$s!#(B</P>
<P>2 $B$D$a$N$b$N$,(B<CODE>$B%G%U%)%k%H(B</CODE>$B$N7PO)(B(default route)$B$G!"(BLinux PC $B$O(B
$B$3$N7PO)$K%m!<%+%k$N%$!<%5%M%C%H08$F$G$O(B<B>$B$J$$(B</B>$BA4$F$N%Q%1%C%H$r(B
$BAw$j$D$1$^$9!#$3$N%G%U%)%k%H$N7PO)$,%M%C%H%o!<%/$X$N7PO)$H$7$F(B PPP $B%5!<(B
$B%P<+?H$r;X$7$F$$$^$9!#(BPPP $B%5!<%P$O2f!9$N%Q%1%C%H$r%$%s%?!<%M%C%H$XAw$j(B
$B$@$7!"JVEz%Q%1%C%H$r2f!9$N$b$H$XAw$C$F$3$J$1$l$P$J$j$^$;$s!#(B</P>
<P>$B%k!<%F%#%s%0%F!<%V%k$K(B 2 $B$D$N%(%s%H%j$,8+$D$+$i$J$$>l9g!"2?$+4V0c$C$F(B
$B$$$^$9(B($B%G%P%C%0$K$D$$$F$N>O$r8+$F$/$@$5$$(B)</P>
<P>$B<!$K(B 'ping' $B$r;H$C$F@\B3$r%F%9%H$7$^$9!#$3$N$?$a$K$O!"(Bifconfig $B$,I=<((B
$B$7$?@\B3@h$N(B IP $BHV9f$r;XDj$7$F!"(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
ping 10.144.153.51
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B$H$7$^$9!#$9$k$H!"$3$N$h$&$J=PNO$,8+$i$l$k$O$:$G$9!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
PING 10.144.153.51 (10.144.153.51): 56 data bytes
64 bytes from 10.144.153.51: icmp_seq=0 ttl=255 time=328.3 ms
64 bytes from 10.144.153.51: icmp_seq=1 ttl=255 time=190.5 ms
64 bytes from 10.144.153.51: icmp_seq=2 ttl=255 time=187.5 ms
64 bytes from 10.144.153.51: icmp_seq=3 ttl=255 time=170.7 ms
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B$3$NI=<($O$$$D$^$G$bB3$/$N$G!"E,Ev$J$H$3$m$G(B CTRL C $B$r2!$7$F=*N;$5$;$^(B
$B$7$g$&!#$9$k$H!"(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
--- 10.144.153.51 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 170.7/219.2/328.3 ms
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B$H$$$C$?I=<($,$5$l$k$O$:$G$9!#(B</P>
<P>$B<!$K!"%[%9%HL>$G(B ping $B$N%F%9%H$r$7$F$_$^$7$g$&!#;XDj$9$k%[%9%HL>$O(B PPP
$B%5!<%P$G$O$J$/!"JL$N%5%$%H$K$"$k%[%9%H$G!"F0$$$F$$$k$3$H$,3N<B$J%[%9%H(B
$B$rA*$S$^$9!#Nc$($P!"(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
ping sunsite.unc.edu
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B$H$7$^$9!#(B</P>
<P>$B:#2s$O!";XDj$7$?%[%9%HL>$r(B <CODE>/etc/resolv.conf</CODE> $B$G;XDj$7$?(B DNS $B$X(B
$B?R$M$F(B IP $BHV9f$XJQ49$7$F$$$k$?$a$KB?>/;~4V$,$+$+$j$^$9$,$4?4G[$J$/(B($B$G(B
$B$b$=$N4V$b%b%G%`$N%i%$%H$OE@LG$7$F$$$k$O$:$G$9(B)$B!#>/$7$7$F$+$i!"0J2<$N(B
$B$h$&$J=PNO$,I=<($5$l$k$O$:$G$9!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
PING sunsite.unc.edu (152.2.254.81): 56 data bytes
64 bytes from 152.2.254.81: icmp_seq=0 ttl=254 time=190.1 ms
64 bytes from 152.2.254.81: icmp_seq=1 ttl=254 time=180.6 ms
64 bytes from 152.2.254.81: icmp_seq=2 ttl=254 time=169.8 ms
64 bytes from 152.2.254.81: icmp_seq=3 ttl=254 time=170.6 ms
64 bytes from 152.2.254.81: icmp_seq=4 ttl=254 time=170.6 ms
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B$3$l$bE,Ev$J$H$3$m$G(B CTRL C $B$r2!$7$FDd;_$5$;!"E}7W>pJs$r8+$^$7$g$&!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
--- sunsite.unc.edu ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 169.8/176.3/190.1 ms
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$BH?1~$,5"$C$F$3$J$1$l$P$3$NJ8=q$N%G%P%C%0$K4X$9$k>O$rFI$s$G$/$@(B
$B$5$$!#(B</P>
<P>$B$9$Y$F$,$&$^$/9T$1$P!"(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
ppp-off
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B%3%^%s%I$G@\B3$r=*N;$5$;$^$9!#(B</P>
<P>$B$7$P$i$/$N8e$K%b%G%`$b%O%s%0%"%C%W$9$k$O$:$G$9!#(B</P>
<P>$B$&$^$/%O%s%0%"%C%W$7$J$$>l9g!"%b%G%`$NEE8;$r@Z$k$+DL?.%=%U%H$rN)$A$"$2(B
$B$F(B +++ $B$rF~NO$7$F%b%G%`$N%3%^%s%I%b!<%I$KF~$j!"(BATH0 $B%3%^%s%I$G@\B3$r@Z(B
$B$j!"%b%G%`$+$i(B OK $B%W%m%s%W%H$,5"$k$3$H$r3NG'$7$F$/$@$5$$!#(B</P>
<P>pppd $B$,:n$C$?%m%C%/%U%!%$%k$b>C$7$F$*$-$^$7$g$&!#(B
<HR>
<PRE>
rm -f /var/lock/LCK..cuaX
</PRE>
<HR>
</P>
<HR>
<A HREF="PPP-HOWTO-18.html">$B<!$N%Z!<%8(B</A>
<A HREF="PPP-HOWTO-16.html">$BA0$N%Z!<%8(B</A>
<A HREF="PPP-HOWTO.html#toc17">$BL\<!$X(B</A>
</BODY>
</HTML>
|