Translation

(itstool) path: sect2/para
To configure <citerefentry><refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></citerefentry> to provide logging for the <application>PPP</application> connection, make sure this line exists in <filename>/etc/syslog.conf</filename>:
182/2420
Context English Chinese (Simplified) (zh_CN) State
ppp ON example&gt; <userinput>set authkey <replaceable>mypassword</replaceable></userinput>
ppp ON example&gt; <userinput>set authkey <replaceable>mypassword</replaceable></userinput>
Where <replaceable>mypassword</replaceable> should be replaced with the password that was assigned by the <acronym>ISP</acronym>.
其中,<replaceable>mypassword</replaceable>应替换为<acronym>ISP</acronym>分配的密码。
If a connection is established, but cannot seem to find any domain name, try to <citerefentry><refentrytitle>ping</refentrytitle><manvolnum>8</manvolnum></citerefentry> an <acronym>IP</acronym> address. If there is 100 percent (100%) packet loss, it is likely that a default route was not assigned. Double check that <option>add default HISADDR</option> was set during the connection. If a connection can be made to a remote <acronym>IP</acronym> address, it is possible that a resolver address has not been added to <filename>/etc/resolv.conf</filename>. This file should look like:
如果连接已经建立,但找不到域名,请尝试<citerefentry><refentrytitle>ping</refentrytitle><manvolnum>8</manvolnum></citerefentry> <acronym>IP</acronym>地址。如果出现100%(100%)丢包,很可能是没有分配默认路由。仔细检查<option>add default HISADDR</option>是否在连接时设置了。如果可以连接到远程<acronym>IP</acronym>地址,则可能是没有在<filename>/etc/resolv.conf</filename>中添加 DNS。这个文件应该是这样的:
domain <replaceable>example.com</replaceable>
nameserver <replaceable>x.x.x.x</replaceable>
nameserver <replaceable>y.y.y.y</replaceable>
domain <replaceable>example.com</replaceable>
nameserver <replaceable>x.x.x.x</replaceable>
nameserver <replaceable>y.y.y.y</replaceable>
Where <replaceable>x.x.x.x</replaceable> and <replaceable>y.y.y.y</replaceable> should be replaced with the <acronym>IP</acronym> address of the <acronym>ISP</acronym>'s DNS servers.
其中 <replaceable>x.x.x.x</replaceable> 和 <replaceable>y.y.y.y</replaceable> 应当替换为 <acronym>ISP</acronym> DNS 服务器的 <acronym>IP</acronym> 地址。
To configure <citerefentry><refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></citerefentry> to provide logging for the <application>PPP</application> connection, make sure this line exists in <filename>/etc/syslog.conf</filename>:
要配置 <citerefentry><refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></citerefentry>为<application>PPP</application>连接提供日志记录,请确保在<filename>/etc/syslog.conf</filename>中存在这一行:
!ppp
*.* /var/log/ppp.log
!ppp
*.* /var/log/ppp.log
Using <acronym>PPP</acronym> over Ethernet (PPPoE)
在以太网络使用<acronym>PPP</acronym>(PPPoE)
This section describes how to set up <acronym>PPP</acronym> over Ethernet (<acronym>PPPoE</acronym>).
本章介绍如何配置 <acronym>PPP</acronym> over Ethernet (<acronym>PPPoE</acronym>)。
Here is an example of a working <filename>ppp.conf</filename>:
下面是<filename>ppp.conf</filename>的样例:
default:
set log Phase tun command # you can add more detailed logging if you wish
set ifaddr 10.0.0.1/0 10.0.0.2/0

name_of_service_provider:
set device PPPoE:<replaceable>xl1</replaceable> # replace xl1 with your Ethernet device
set authname YOURLOGINNAME
set authkey YOURPASSWORD
set dial
set login
add default HISADDR
default:
set log Phase tun command # you can add more detailed logging if you wish
set ifaddr 10.0.0.1/0 10.0.0.2/0

name_of_service_provider:
set device PPPoE:<replaceable>xl1</replaceable> # replace xl1 with your Ethernet device
set authname YOURLOGINNAME
set authkey YOURPASSWORD
set dial
set login
add default HISADDR

Loading…

To configure <citerefentry><refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></citerefentry> to provide logging for the <application>PPP</application> connection, make sure this line exists in <filename>/etc/syslog.conf</filename>:
要配置 <citerefentry><refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></manvolnum></citerefentry>为<application>PPP</application>连接提供日志记录,请确保在<filename>/etc/syslog.conf</filename>中存在这一行:
a month ago
To configure <citerefentry><refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></citerefentry> to provide logging for the <application>PPP</application> connection, make sure this line exists in <filename>/etc/syslog.conf</filename>:
要配置 <citerefentry><refentrytitle>syslog</refentrytitle><manvolnum>3</manvolnum></manvolnum></citerefentry>为<application>PPP</application>连接提供日志记录,请确保在<filename>/etc/syslog.conf</filename>中存在这一行:
a month ago
Browse all component changes

Glossary

English Chinese (Simplified) (zh_CN)
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: sect2/para
Labels
No labels currently set.
Source string location
book.translate.xml:50730
Source string age
9 months ago
Translation file
books/zh_CN/handbook.po, string 8275