Translation

(itstool) path: sect2/para
English
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:
0/5830
Context English Spanish State
We have successfully authenticated with our <acronym>ISP</acronym> and are waiting for the assigned <acronym>IP</acronym> address.
PPP ON example&gt;
We have made an agreement on an <acronym>IP</acronym> address and successfully completed our connection.
PPP ON example&gt;<userinput>add default HISADDR</userinput>
Here we add our default route, we need to do this before we can talk to the outside world as currently the only established connection is with the peer. If this fails due to existing routes, put a bang character <literal>!</literal> in front of the <option>add</option>. Alternatively, set this before making the actual connection and it will negotiate a new route accordingly.
If everything went good we should now have an active connection to the Internet, which could be thrown into the background using <keycombo action="simul"><keycap>CTRL</keycap> <keycap>z</keycap></keycombo> If <command>PPP</command> returns to <command>ppp</command> then the connection has bee lost. This is good to know because it shows the connection status. Capital P's represent a connection to the <acronym>ISP</acronym> and lowercase p's show that the connection has been lost.
Debugging
If a connection cannot be established, turn hardware flow <acronym>CTS/RTS</acronym> to off using <option>set ctsrts off</option>. This is mainly the case when connected to some <application>PPP</application>-capable terminal servers, where <application>PPP</application> hangs when it tries to write data to the communication link, and waits for a Clear To Send (<acronym>CTS</acronym>) signal which may never come. When using this option, include <option>set accmap</option> as it may be required to defeat hardware dependent on passing certain characters from end to end, most of the time XON/XOFF. Refer to <citerefentry><refentrytitle>ppp</refentrytitle><manvolnum>8</manvolnum></citerefentry> for more information on this option and how it is used.
An older modem may need <option>set parity even</option>. Parity is set at none be default, but is used for error checking with a large increase in traffic, on older modems.
<application>PPP</application> may not return to the command mode, which is usually a negotiation error where the <acronym>ISP</acronym> is waiting for negotiating to begin. At this point, using <command>~p</command> will force ppp to start sending the configuration information.
If a login prompt never appears, <acronym>PAP</acronym> or <acronym>CHAP</acronym> authentication is most likely required. To use <acronym>PAP</acronym> or <acronym>CHAP</acronym>, add the following options to <application>PPP</application> before going into terminal mode:
ppp ON example&gt; <userinput>set authname <replaceable>myusername</replaceable></userinput>
Where <replaceable>myusername</replaceable> should be replaced with the username that was assigned by the <acronym>ISP</acronym>.
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>.
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:
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.
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>:
!ppp
*.* /var/log/ppp.log
Using <acronym>PPP</acronym> over Ethernet (PPPoE)
This section describes how to set up <acronym>PPP</acronym> over Ethernet (<acronym>PPPoE</acronym>).
Here is an example of a working <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
As <systemitem class="username">root</systemitem>, run:
<prompt>#</prompt> <userinput>ppp -ddial name_of_service_provider</userinput>
Add the following to <filename>/etc/rc.conf</filename>:
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="YES" # if you want to enable nat for your local network, otherwise NO
ppp_profile="name_of_service_provider"
Using a PPPoE Service Tag
Sometimes it will be necessary to use a service tag to establish the connection. Service tags are used to distinguish between different PPPoE servers attached to a given network.
Any required service tag information should be in the documentation provided by the <acronym>ISP</acronym>.

Loading…

User avatar None

New source string

FreeBSD Doc / books_handbookSpanish

New source string a year ago
Browse all component changes

Glossary

English Spanish
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: sect2/para
Source string location
book.translate.xml:52636
String age
a year ago
Source string age
a year ago
Translation file
books/es_ES/handbook.po, string 8591