Translation

(itstool) path: sect2/para
English
For additional information, refer to <link xlink:href="http://renaud.waldura.com/doc/freebsd/pppoe/">Cheaper Broadband with FreeBSD on DSL</link> by Renaud Waldura.
0/1640
Context English Persian State
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>.
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="http://renaud.waldura.com/doc/freebsd/pppoe/">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="http://www.faqs.org/rfcs/rfc2516.html">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>:
net.graph.nonstandard_pppoe=1
or can be done immediately with the command:
<prompt>#</prompt> <userinput>sysctl net.graph.nonstandard_pppoe=1</userinput>
Unfortunately, because this is a system-wide setting, it is not possible to talk to a normal PPPoE client or server and a <trademark class="registered">3Com</trademark> <trademark class="registered">HomeConnect</trademark> ADSL Modem at the same time.
Using <application>PPP</application> over <acronym>ATM</acronym> (PPPoA)
<primary><acronym>PPP</acronym></primary> <secondary>over <acronym>ATM</acronym></secondary>
<primary>PPPoA</primary>
The following describes how to set up PPP over <acronym>ATM</acronym> (PPPoA). PPPoA is a popular choice among European DSL providers.
Using mpd
The <application>mpd</application> application can be used to connect to a variety of services, in particular PPTP services. It can be installed using the <package>net/mpd5</package> package or port. Many ADSL modems require that a PPTP tunnel is created between the modem and computer.
Once installed, configure <application>mpd</application> to suit the provider's settings. The port places a set of sample configuration files which are well documented in <filename>/usr/local/etc/mpd/</filename>. A complete guide to configure <application>mpd</application> is available in HTML format in <filename>/usr/ports/share/doc/mpd/</filename>. Here is a sample configuration for connecting to an ADSL service with <application>mpd</application>. The configuration is spread over two files, first the <filename>mpd.conf</filename>:
This example <filename>mpd.conf</filename> only works with <application>mpd</application> 4.x.

Loading…

No matching activity found.

Browse all component changes

Glossary

English Persian
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: sect2/para
Source string location
book.translate.xml:52752
String age
9 months ago
Source string age
a year ago
Translation file
books/fa/handbook.po, string 8612