|
Lines 2134-2150
Link Here
|
| 2134 |
<filename>/etc/ppp/ppp.conf</filename>. You will need to be |
2134 |
<filename>/etc/ppp/ppp.conf</filename>. You will need to be |
| 2135 |
<username>root</username> to perform both of these operations. An |
2135 |
<username>root</username> to perform both of these operations. An |
| 2136 |
example section of <filename>ppp.conf</filename> is given |
2136 |
example section of <filename>ppp.conf</filename> is given |
| 2137 |
below.</para> |
2137 |
below. For further information on <filename>ppp.conf</filename> |
|
|
2138 |
options consult the <application>ppp</application> manual page, |
| 2139 |
&man.ppp.8;.</para> |
| 2138 |
|
2140 |
|
| 2139 |
<programlisting>adsl: |
2141 |
<programlisting>adsl: |
| 2140 |
set log phase chat lcp ipcp ccp tun command |
2142 |
set log phase chat lcp ipcp ccp tun command |
| 2141 |
set timeout 0 |
2143 |
set timeout 0 |
| 2142 |
enable dns |
2144 |
enable dns |
| 2143 |
set authname <replaceable>username</replaceable> |
2145 |
set authname <replaceable>username</replaceable> <co id="co-ex-user"> |
| 2144 |
set authkey <replaceable>password</replaceable> |
2146 |
set authkey <replaceable>password</replaceable> <co id="co-ex-pass"> |
| 2145 |
set ifaddr 0 0 |
2147 |
set ifaddr 0 0 |
| 2146 |
add default HISADDR</programlisting> |
2148 |
add default HISADDR</programlisting> |
| 2147 |
|
2149 |
|
|
|
2150 |
<calloutlist> |
| 2151 |
<callout arearefs="co-ex-user"> |
| 2152 |
<para>The username of your account with the DSL provider.</para> |
| 2153 |
</callout> |
| 2154 |
<callout arearefs="co-ex-pass"> |
| 2155 |
<para>The password for your account.</para> |
| 2156 |
</callout> |
| 2157 |
</calloutlist> |
| 2158 |
|
| 2159 |
<warning> |
| 2160 |
<para>Because you must put your account's password in the |
| 2161 |
<filename>ppp.conf</filename> file in plain text form you should |
| 2162 |
make sure than nobody can read the contents of this file. The |
| 2163 |
following series of commands will make sure the file is only |
| 2164 |
readable by the <username>root</username> account. Refer to the |
| 2165 |
manuals pages for &man.chmod.1; and &man.chown.8; for further |
| 2166 |
information.</para> |
| 2167 |
<screen>&prompt.root; <userinput>chown root:wheel /etc/ppp/ppp.conf</userinput> |
| 2168 |
&prompt.root; <userinput>chmod 600 /etc/ppp/ppp.conf</userinput></screen> |
| 2169 |
</warning> |
| 2170 |
|
| 2148 |
<para>This will open a tunnel for a PPP session to your DSL router. |
2171 |
<para>This will open a tunnel for a PPP session to your DSL router. |
| 2149 |
Ethernet DSL modems have a preconfigured LAN IP address which you |
2172 |
Ethernet DSL modems have a preconfigured LAN IP address which you |
| 2150 |
connect to. In the case of the Alcatel Speedtouch Home this address is |
2173 |
connect to. In the case of the Alcatel Speedtouch Home this address is |
|
Lines 2153-2159
Link Here
|
| 2153 |
start a <application>ppp</application> session execute the following |
2176 |
start a <application>ppp</application> session execute the following |
| 2154 |
command.</para> |
2177 |
command.</para> |
| 2155 |
|
2178 |
|
| 2156 |
<screen>&prompt.root; pptp <replaceable>address</replaceable> <replaceable>isp</replaceable></screen> |
2179 |
<screen>&prompt.root; <userinput>pptp <replaceable>address</replaceable> <replaceable>isp</replaceable></userinput></screen> |
| 2157 |
|
2180 |
|
| 2158 |
<tip> |
2181 |
<tip> |
| 2159 |
<para>You may wish to add an ampersand (<quote>&</quote>) to the |
2182 |
<para>You may wish to add an ampersand (<quote>&</quote>) to the |
|
Lines 2168-2174
Link Here
|
| 2168 |
process has confirmed a connection you can examine the tunnel like |
2191 |
process has confirmed a connection you can examine the tunnel like |
| 2169 |
so.</para> |
2192 |
so.</para> |
| 2170 |
|
2193 |
|
| 2171 |
<screen>&prompt.user; ifconfig <replaceable>tun0</replaceable> |
2194 |
<screen>&prompt.user; <userinput>ifconfig <replaceable>tun0</replaceable></userinput> |
| 2172 |
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 |
2195 |
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 |
| 2173 |
inet 216.136.204.21 --> 204.152.186.171 netmask 0xffffff00 |
2196 |
inet 216.136.204.21 --> 204.152.186.171 netmask 0xffffff00 |
| 2174 |
Opened by PID 918</screen> |
2197 |
Opened by PID 918</screen> |