View | Details | Raw Unified | Return to bug 37030
Collapse All | Expand All

(-)chapter.sgml (-13 / +68 lines)
Lines 2104-2127 Link Here
2104
      <see>PPP, over ATM</see>
2104
      <see>PPP, over ATM</see>
2105
    </indexterm>
2105
    </indexterm>
2106
2106
2107
    <para>The following describes how to set up PPP over ATM, a.k.a,
2107
    <para>The following describes how to set up PPP over ATM, (PPPoA).
2108
      PPPoA.  Currently, the only hardware supported is the Alcatel
2108
	  PPPoA is a popular choice among European DSL providers.</para>
2109
      Speedtouch USB ADSL modem</para>
2110
2109
2111
    <sect2>
2110
    <sect2>
2112
      <title>Installing PPPoA</title>
2111
      <title>Using PPPoA with the Alcatel Speedtouch USB</title>
2113
2112
2114
      <para>PPPoA is supplied as a port in FreeBSD because the firmware
2113
      <para>PPPoA support for this device is supplied as a port in
2115
	is not distributable under <ulink
2114
	  FreeBSD because the firmware is not distributable under <ulink
2116
	url="http://www.alcatel.com/consumer/dsl/disclaimer_lx.htm">
2115
	  url="http://www.alcatel.com/consumer/dsl/disclaimer_lx.htm">
2117
	Alcatel's license agreement</ulink>.</para>
2116
	  Alcatel's license agreement</ulink>.</para>
2118
2119
      <para>To install the port, simply use the <link linkend="ports">
2120
	ports collection</link> to install the <filename role="package">net/pppoa</filename>
2121
	port and follow
2122
	the instructions provided there.</para>
2123
2117
2118
      <para>To install the software, simply use the <link linkend="ports">
2119
	  ports collection</link>. Install the
2120
	  <filename role="package">net/pppoa</filename> port and follow the
2121
	  instructions provided with it.</para>
2124
    </sect2>
2122
    </sect2>
2123
	<sect2>
2124
	  <title>Using pptpclient</title>
2125
	  
2126
	  <para>It is also possible to use FreeBSD to connect to other PPPoA
2127
	  sevices using <filename role="package">net/pptpclient</filename>.</para>
2128
	  
2129
	  <para>To use <filename role="package">net/pptpclient</filename> to
2130
	  connect to a DSL service, install the port or package and edit your
2131
	  <filename>/etc/ppp/ppp.conf</filename>. You will need to be
2132
	  <username>root</username> to perform both of these operations. An
2133
	  example section of <filename>ppp.conf</filename> is given below.</para>
2134
2135
	  <programlisting>adsl:
2136
 set log phase chat lcp ipcp ccp tun command
2137
 set timeout 0
2138
 enable dns
2139
 set authname <replaceable>username</replaceable>
2140
 set authkey <replaceable>password</replaceable>
2141
 set ifaddr 0 0
2142
 add default HISADDR</programlisting>
2143
2144
	  <para>This will open a tunnel for a PPP session to your DSL
2145
	  router. Ethernet DSL modems have a preconfigured LAN IP address
2146
	  which you connect to. In the case of the Alcatel Speedtouch Home
2147
	  this address is <hostid role="ipaddr">10.0.0.138</hostid>. Your
2148
	  routers documentation should tell you which address your device
2149
	  uses. To open the tunnel and start a
2150
	  <application>ppp</application> session execute the following
2151
	  command.</para>
2152
2153
	  <screen>&prompt.root; pptp <replaceable>address</replaceable> <replaceable>isp</replaceable></screen>
2154
2155
	  <tip><para>You may wish to add a &amp; to the end of the previous
2156
	  command because <application>pptp</application> will not return
2157
	  your prompt to you otherwise.</para></tip>
2158
	  
2159
	  <para>A <devicename>tun</devicename> virtual tunnel device will be
2160
	  created for interaction between the <application>pptp</application>
2161
	  and <application>ppp</application> processes. Once you have been
2162
	  returned to your prompt, or the <application>pptp</application>
2163
	  process has confirmed a connection can you examine the tunnel like
2164
	  so.</para>
2165
2166
	  <screen>&prompt.user; ifconfig <replaceable>tun0</replaceable>
2167
tun0: flags=8051&lt;UP,POINTOPOINT,RUNNING,MULTICAST&gt; mtu 1500
2168
        inet 216.136.204.21 --> 204.152.186.171 netmask 0xffffff00 
2169
        Opened by PID 918
2170
	  </screen>
2171
2172
	  <para>If you are unable to connect check that the configurations
2173
	  on your router, which are usually accessible via
2174
	  <application>telnet</application> or with a web browser. If you
2175
	  still cannot connect you should examine the output of the
2176
	  <application>pptp</application> command and the contents of the
2177
	  <application>ppp</application> log file,
2178
	  <filename>/var/log/ppp.log</filename> for clues.</para>
2179
	</sect2>
2125
  </sect1>
2180
  </sect1>
2126
2181
2127
  <sect1 id="slip">
2182
  <sect1 id="slip">

Return to bug 37030