(itstool) path: sect1/programlisting
ppp_nat="YES" # if you want to enable nat for your local network, otherwise NO
Context English Spanish State
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></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>:
*.* /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>:
set log Phase tun command # you can add more detailed logging if you wish
set ifaddr

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_nat="YES" # if you want to enable nat for your local network, otherwise NO
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>.
As a last resort, one could try installing the <package>net/rr-pppoe</package> package or port. Bear in mind however, this may de-program your modem and render it useless, so think twice before doing it. Simply install the program shipped with the modem. Then, access the <guimenu>System</guimenu> menu from the program. The name of the profile should be listed there. It is usually <emphasis>ISP</emphasis>.
The profile name (service tag) will be used in the PPPoE configuration entry in <filename>ppp.conf</filename> as the provider part for <command>set device</command>. Refer to <citerefentry><refentrytitle>ppp</refentrytitle><manvolnum>8</manvolnum></citerefentry> for full details. It should look like this:
set device PPPoE:<replaceable>xl1</replaceable>:<replaceable>ISP</replaceable>
Do not forget to change <replaceable>xl1</replaceable> to the proper device for the Ethernet card.
Do not forget to change <replaceable>ISP</replaceable> to the profile.
For additional information, refer to <link xlink:href="">Cheaper Broadband with FreeBSD on DSL</link> by Renaud Waldura.
PPPoE with a <trademark class="registered">3Com</trademark> <trademark class="registered">HomeConnect</trademark> ADSL Modem Dual Link
This modem does not follow the PPPoE specification defined in <link xlink:href="">RFC 2516</link>.
In order to make FreeBSD capable of communicating with this device, a sysctl must be set. This can be done automatically at boot time by updating <filename>/etc/sysctl.conf</filename>:
or can be done immediately with the command:
<prompt>#</prompt> <userinput>sysctl net.graph.nonstandard_pppoe=1</userinput>


User avatar None

New source string

FreeBSD Doc / books_handbookSpanish

New source string a year ago
Browse all component changes


English Spanish
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: sect1/programlisting
Source string location
String age
a year ago
Source string age
a year ago
Translation file
books/es_ES/handbook.po, string 8603