-- 吴鲁加<[EMAIL PROTECTED]>
<!-- retain these comments for translator revision tracking --> <!-- original version: 11648 -->
<sect2 arch="not-s390" id="PPP"> <title>璁剧疆PPP</title> <para> <!-- You will next be asked whether you wish to install the rest of the system using PPP. If you are installing from CD-ROM and/or are connected directly to the network, you can safely say &MSG-NO; and skip this section. --> ?跺?绯荤?浼??绀轰????瑕?�??PPP瀹??绯荤????????ㄤ唤??濡??浣?????CD-ROM瀹??锛???�??宸茬?杩???扮?缁??浜?? ?d?浣??浠ュ?绛?�????苟璺宠?杩????�? </para><para> <!-- If you do choose to configure PPP at this point, a program named <command>pppconfig</command> will be run. This program helps you configure your PPP connection. <emphasis>Make sure, when it asks you for the name of your dialup connection, that you name it <userinput>provider</userinput>.</emphasis> --> 濡??浣?�???ㄧ??ㄩ?缃?PP锛?搴??绋??<command>pppconfig</command>灏?府?╀?瀹????画宸ヤ???<emphasis>璁颁?锛??绋????ず浣???ユ??疯??ュ?绉版?锛??搴??杈??<userinput>provider</userinput>??/emphasis> </para><para> <!-- Hopefully, the <command>pppconfig</command> program will walk you through a pain-free PPP connection setup. However, if it does not work for you, see below for detailed instructions. --> 濡??椤哄?锛?command>pppconfig</command>?藉?寮??浣?揩??????缃?�????锛???�瑕?户缁??????㈢??蜂??戒护浠???? </para><para> <!-- In order to setup PPP, you'll need to know the basics of file viewing and editing in GNU/Linux. To view files, you should use <command>more</command>, and <command>zmore</command> for compressed files with a <userinput>.gz</userinput> extension. For example, to view <filename>README.debian.gz</filename>, type <userinput>zmore README.debian.gz</userinput>. The base system comes with an editor named <command>nano</command>, which is very simple to use, but does not have a lot of features. You will probably want to install more full-featured editors and viewers later, such as <command>jed</command>, <command>nvi</command>, <command>less</command>, and <command>emacs</command>. --> ?ㄥ?濮????? 浣??瑕??瑙e?GNU/Linux涓????欢?ョ????杈???虹??ヨ???瑕?????涓??浠讹? 浣??浠ヤ娇??command>more</command>???ョ?甯?userinput>.gz</userinput>??????缂╂。?讹? ??互??command>zmore</command>?戒护锛?渚??锛??瀵??<filename>README.debian.gz</filename>??欢锛?浣??浠ラ??ュ?浠?userinput>zmore README.debian.gz</userinput>???�灏??瑁??绯荤?涓?甫???涓?娇?ㄧ????????ュ????杈??锛??<command>nano</command>??浣????互??画瀹???跺????寮哄ぇ???杈??濡?command>jed</command>锛?command>nvi</command>锛?command>less</command>锛?command>emacs</command>绛?�? </para><para> <!-- Edit <filename>/etc/ppp/peers/provider</filename> and replace <userinput>/dev/modem</userinput> with <userinput>/dev/ttyS<replaceable>#</replaceable></userinput> where <replaceable>#</replaceable> stands for the number of your serial port. In Linux, serial ports are counted from 0; your first serial port <phrase arch="i386">(i.e., <userinput>COM1</userinput>)</phrase> is <filename>/dev/ttyS0</filename> under Linux. <phrase arch="powerpc;m68k">On Macintoshes with serial ports, the modem port is <filename>/dev/ttyS0</filename> and the printer port is <filename>/dev/ttyS1</filename>.</phrase> The next step is to edit <filename>/etc/chatscripts/provider</filename> and insert your provider's phone number, your user-name and password. Please do not delete the <quote>\q</quote> that precedes the password. It hides the password from appearing in your log files. --> 缂??<filename>/etc/ppp/peers/provider</filename>锛?灏?userinput>/dev/modem</userinput>?挎?涓?userinput>/dev/ttyS<replaceable>#</replaceable></userinput>???朵腑<replaceable>#</replaceable>???浜????odem涓插??枫�???inux涓??涓插????0寮�濮???扮?锛?浣??绗??涓?覆??phrase arch="i386">(濡?userinput>COM1</userinput>)</phrase>灏卞?<filename>/dev/ttyS0</filename>??<phrase arch="powerpc;m68k">濡??浣??Macintoshes涓?? ?d?modem绔????filename>/dev/ttyS0</filename>锛?????虹?绔????filename>/dev/ttyS1</filename>??/phrase> </para><para> <!-- Many providers use PAP or CHAP for login sequence instead of text mode authentication. Others use both. If your provider requires PAP or CHAP, you'll need to follow a different procedure. Comment out everything below the dialing string (the one that starts with <quote>ATDT</quote>) in <filename>/etc/chatscripts/provider</filename>, modify <filename>/etc/ppp/peers/provider</filename> as described above, and add <userinput>user <replaceable>name</replaceable></userinput> where <replaceable>name</replaceable> stands for your user-name for the provider you are trying to connect to. Next, edit <filename>/etc/ppp/pap-secrets</filename> or <filename>/etc/ppp/chap-secrets</filename> and enter your password there. --> 璁稿??ㄥ????????ㄤ娇??AP??HAP浣?负璁よ??规??ュ?浠f???????妯″?璁よ????ㄤ唤ISP涓よ�?????锛?濡??浣??ISP?�瑕?AP??HAP锛?浣??瑕??濡??姝ラ?杩????疆锛?灏?filename>/etc/chatscripts/provider</filename>??欢涓???峰?涓蹭???????瀹规敞???(?充?<quote>ATDT</quote>寮�濮??琛??????涔?敞???<filename>/etc/ppp/peers/provider</filename>??欢涓???峰?涓蹭????瀹癸? 骞舵坊??userinput>user <replaceable>name</replaceable></userinput>锛?杩????replaceable>name</replaceable>????????SP????风??枫�??跺?缂??<filename>/etc/ppp/pap-secrets</filename>??filename>/etc/ppp/chap-secrets</filename>锛??ㄥ?涓?~?ヤ??????�? </para><para> <!-- You will also need to edit <filename>/etc/resolv.conf</filename> and add your provider's name server (DNS) IP addresses. The lines in <filename>/etc/resolv.conf</filename> are in the following format: <userinput>nameserver <replaceable>xxx.xxx.xxx.xxx</replaceable></userinput> where the <replaceable>x</replaceable>s stand for numbers in your IP address. Optionally, you could add the <userinput>usepeerdns</userinput> option to the <filename>/etc/ppp/peers/provider</filename> file, which will enable automatic choosing of appropriate DNS servers, using settings the remote host usually provides. --> 浣???�瑕??杈?filename>/etc/resolv.conf</filename>锛?灏????SP???????″? (DNS) ??IP ?板?濉??杩????<filename>/etc/resolv.conf</filename>????????~???寮??璇ユ?锛?<userinput>nameserver <replaceable>xxx.xxx.xxx.xxx</replaceable></userinput> 杩????replaceable>x</replaceable>??NS??IP ?板???浣?负??�?」锛?浣????互??filename>/etc/ppp/peers/provider</filename>涓?坊??userinput>usepeerdns</userinput>锛?杩??绯荤??藉??ㄥ?瑕???跺�?�???????DNS ????ㄣ�? </para><para> <!-- Unless your provider has a login sequence different from the majority of ISPs, you are done! Start the PPP connection by typing <command>pon</command> as root, and monitor the process using <command>plog</command> command. To disconnect, use <command>poff</command>, again, as root. --> ?ら?浣?? ISP ??????寮???跺?涓昏? ISP ???澶х?宸??锛????杩??灏遍?缃???????浠?oot??韩浠介???command>pon</command>灏辫???? PPP 杩??锛?<command>plog</command>?藉????褰??杩??锛?瑕??寮�杩??锛???????互root韬?唤?ц?<command>poff</command>?? </para><para> <!-- Read <filename>/usr/share/doc/ppp/README.Debian.gz</filename> file for more information on using PPP on Debian. --> ???<filename>/usr/share/doc/ppp/README.Debian.gz</filename>??互?峰??村?Debian涓??PPP??疆淇℃??? </para><para> <!-- For static SLIP connections, you will need to add the <userinput>slattach</userinput> command (from the <classname>net-tools</classname> package) into <filename>/etc/init.d/network</filename>. Dynamic SLIP will require the <classname>gnudip</classname> package. --> 瀵逛???�?LIP杩???ヨ?锛?浣??瑕??涓?classname>net-tools</classname>杞?欢??腑??userinput>slattach</userinput>?戒护??filename>/etc/init.d/network</filename>涓?�??ㄦ�?LIP杩??瑕?classname>gnudip</classname>杞?欢??�? </para> </sect2>

