FreeBSD Bugzilla – Attachment 21097 Details for
Bug 37042
Further additions to PPPoA section of the Handbook
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.98 KB, created by
dominic_marks
on 2002-04-13 18:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
dominic_marks
Created:
2002-04-13 18:20:01 UTC
Size:
2.98 KB
patch
obsolete
>Index: chapter.sgml >=================================================================== >RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip/chapter.sgml,v >retrieving revision 1.71 >diff -u -r1.71 chapter.sgml >--- chapter.sgml 2002/04/13 00:40:12 1.71 >+++ chapter.sgml 2002/04/13 17:10:31 >@@ -2134,17 +2134,40 @@ > <filename>/etc/ppp/ppp.conf</filename>. You will need to be > <username>root</username> to perform both of these operations. An > example section of <filename>ppp.conf</filename> is given >- below.</para> >+ below. For further information on <filename>ppp.conf</filename> >+ options consult the <application>ppp</application> manual page, >+ &man.ppp.8;.</para> > > <programlisting>adsl: > set log phase chat lcp ipcp ccp tun command > set timeout 0 > enable dns >- set authname <replaceable>username</replaceable> >- set authkey <replaceable>password</replaceable> >+ set authname <replaceable>username</replaceable> <co id="co-ex-user"> >+ set authkey <replaceable>password</replaceable> <co id="co-ex-pass"> > set ifaddr 0 0 > add default HISADDR</programlisting> > >+ <calloutlist> >+ <callout arearefs="co-ex-user"> >+ <para>The username of your account with the DSL provider.</para> >+ </callout> >+ <callout arearefs="co-ex-pass"> >+ <para>The password for your account.</para> >+ </callout> >+ </calloutlist> >+ >+ <warning> >+ <para>Because you must put your account's password in the >+ <filename>ppp.conf</filename> file in plain text form you should >+ make sure than nobody can read the contents of this file. The >+ following series of commands will make sure the file is only >+ readable by the <username>root</username> account. Refer to the >+ manuals pages for &man.chmod.1; and &man.chown.8; for further >+ information.</para> >+ <screen>&prompt.root; <userinput>chown root:wheel /etc/ppp/ppp.conf</userinput> >+&prompt.root; <userinput>chmod 600 /etc/ppp/ppp.conf</userinput></screen> >+ </warning> >+ > <para>This will open a tunnel for a PPP session to your DSL router. > Ethernet DSL modems have a preconfigured LAN IP address which you > connect to. In the case of the Alcatel Speedtouch Home this address is >@@ -2153,7 +2176,7 @@ > start a <application>ppp</application> session execute the following > command.</para> > >- <screen>&prompt.root; pptp <replaceable>address</replaceable> <replaceable>isp</replaceable></screen> >+ <screen>&prompt.root; <userinput>pptp <replaceable>address</replaceable> <replaceable>isp</replaceable></userinput></screen> > > <tip> > <para>You may wish to add an ampersand (<quote>&</quote>) to the >@@ -2168,7 +2191,7 @@ > process has confirmed a connection you can examine the tunnel like > so.</para> > >- <screen>&prompt.user; ifconfig <replaceable>tun0</replaceable> >+ <screen>&prompt.user; <userinput>ifconfig <replaceable>tun0</replaceable></userinput> > tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500 > inet 216.136.204.21 --> 204.152.186.171 netmask 0xffffff00 > Opened by PID 918</screen>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 37042
: 21097