/usr/share/doc/HOWTO/ja-html/PPP-connection-3.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 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Linux $B%7%9%F%`$K$*$1$k(B PPP $B@\B3(B: $B%3%s%U%#%.%e%l!<%7%g%s!&%U%!%$%k(B</TITLE>
<LINK HREF="PPP-connection-4.html" REL=next>
<LINK HREF="PPP-connection-2.html" REL=previous>
<LINK HREF="PPP-connection.html#toc3" REL=contents>
</HEAD>
<BODY>
<A HREF="PPP-connection-4.html">$B<!$N%Z!<%8(B</A>
<A HREF="PPP-connection-2.html">$BA0$N%Z!<%8(B</A>
<A HREF="PPP-connection.html#toc3">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s3">3. $B%3%s%U%#%.%e%l!<%7%g%s!&%U%!%$%k(B</A></H2>
<P>$BI.<T$O!"(B<CODE>/etc/ppp</CODE> $B$H$$$&%G%#%l%/%H%j!<$r:n$j!"(B<CODE>options</CODE> $B$H(B
<CODE>chat</CODE> $B$H$$$$D$N%U%!%$%k$r$=$NCf$KCV$-$^$7$?!#(B<CODE>options</CODE>
$B$O!"(Bpppd $B$,<B9T$5$l$?$H$-$K<+F0E*$K(B
$BFI$_9~$^$l!"(B<CODE>chat</CODE> $B$O!"(Bppp $B@\B3$N$?$a$K(B LanRover $B$H$$$&%5!<%P!<$K(B
$B%m%0%$%s$9$k:]$K;H$o$l$k(B B $B%7%'%k$G=q$+$l$?%9%/%j%W%H$G$9!#(B $B0J2<$O!"(B
$B$=$l$i$N%U%!%$%k$G$9!'(B
<P>
<DL>
<DT><B><CODE>/etc/ppp/options</CODE>:</B><DD><P>
<BLOCKQUOTE><CODE>
<PRE>
/dev/cua2 38400 crtscts modem
noipdefault
defaultroute
kdebug 2
connect /etc/ppp/chat
</PRE>
</CODE></BLOCKQUOTE>
<P>$B$3$l$i$N%*%W%7%g%s$N@bL@$K$D$$$F$O!"(Bman $B%Z!<%8$r;2>H$7$F$/$@$5$$!#(B
<P>
<DT><B><CODE>/etc/ppp/chat</CODE>:</B><DD><P>
<BLOCKQUOTE><CODE>
<PRE>
#!/bin/sh
#
# $B%5!<%P!<(BXXXXX$B$K@\B3(B
#
/usr/etc/chat \
"" ATDT1234567890 \
CONNECT "" \
115200 "" \
"ogin: " jhall \
"ssword: " XXXX \
"XXXXX>" ppp
</PRE>
</CODE></BLOCKQUOTE>
<P>
</DL>
<P>$B$3$N(B <CODE>chat</CODE> $B%9%/%j%W%H$O!"#29TL\0J9_$N0z?t$rIU$1$F(B
<CODE>/usr/etc/chat</CODE>
$B$H$$$&%W%m%0%i%`$r<B9T$5$;$k$h$&$K=q$+$l$F$$$^$9!#I.<T$O!"$3$N%9%/%j%W%H(B
$B$r8+$d$9$/$9$k$?$a$KK\Mh%3%^%s%I%i%$%s$G#19T$K$9$k$H$3$m$r$"$($F0z?t$r(B
<CODE>\</CODE> $B$r;H$C$FJ#?t9T$K$7$^$7$?!#3F9T$N:G=i$N0z?t$O!"%5!<%P!<$b$7$/$O(B
$B%b%G%`$+$i5"$C$FMh$k$H;W$o$l$k%9%H%j%s%0$G!"#2HVL\$O!"(BLinux $BB&$+$iAw$k(B
$B%9%H%j%s%0$G$9!#(B
<P>
<OL>
<LI>$B0z?t$N:G=i$N9T$O!"<u$1<h$k%9%H%j%s%0$O2?$b$J$/!"<!$N%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Q%9%o!<%I$r$b$i$C$?8e!"(Btelnet $B$r;H$C$F@\B3$7(B
$B$h$&$H$9$k%5!<%P!<$K%m%0%$%s$7$F!"$I$N$h$&$K(B <CODE>chat</CODE> $B%9%/%j%W%H$r=q$1$P(B
$B$$$$$+3N$+$a$k$N$b$$$$$G$7$g$&!#(B $B0J2<$O!"$=$NNc$G$9!'(B
<P>
<BLOCKQUOTE><CODE>
<PRE>
% telnet xxxxx
Trying xxx.xxx.xxx.xxx...
Connected to xxxxx
Escape character is '^]'.
@ Userid: jhall
Password?
Shiva LanRover/E PLUS, Version 3.5 95/03/07
xxxxx>
</PRE>
</CODE></BLOCKQUOTE>
<P>$BI.<T$O!"%G%P%0$N$?$a$K0J2<$N%9%F!<%H%a%s%H$r(B <CODE>/etc/syslog.conf</CODE>
$B$KDI2C$7$^$7$?!'(B
<P>
<BLOCKQUOTE><CODE>
<PRE>
local2.* /dev/console
local2.* /usr/adm/ppplog
</PRE>
</CODE></BLOCKQUOTE>
<P>[$BCm0U!':G=i$H#2HVL\$N%(%s%H%j!<$N4V$K$O!">/$J$/$F$b%?%V$r#18DF~$l$kI,MW$,(B
$B$"$j$^$9!#(B]
<P>$B$^$?(B <CODE>/etc/resolv.conf</CODE> $B$K%M!<%`%5!<%P!<$NEPO?$rK:$l$:$K9T$C$F$/$@$5$$!#(B
<P>
<HR>
<A HREF="PPP-connection-4.html">$B<!$N%Z!<%8(B</A>
<A HREF="PPP-connection-2.html">$BA0$N%Z!<%8(B</A>
<A HREF="PPP-connection.html#toc3">$BL\<!$X(B</A>
</BODY>
</HTML>
|