Gentoo Archives: gentoo-doc-cvs

From: Josh Saddler <nightmorph@××××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: hb-net-modules.xml
Date: Sun, 08 Apr 2007 01:28:24
Message-Id: E1HaMCR-0007p4-KU@stork.gentoo.org
1 nightmorph 07/04/08 01:28:11
2
3 Modified: hb-net-modules.xml
4 Log:
5 new ADSL/PPP setup, bug 171584. note that i went ahead and did the major version number bump a day or so ahead of the release schedule. i figure, why not. early is better.
6
7 Revision Changes Path
8 1.22 xml/htdocs/doc/en/handbook/hb-net-modules.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-net-modules.xml?rev=1.22&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-net-modules.xml?rev=1.22&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-net-modules.xml?r1=1.21&r2=1.22
13
14 Index: hb-net-modules.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-modules.xml,v
17 retrieving revision 1.21
18 retrieving revision 1.22
19 diff -u -r1.21 -r1.22
20 --- hb-net-modules.xml 4 Jan 2007 06:03:26 -0000 1.21
21 +++ hb-net-modules.xml 8 Apr 2007 01:28:11 -0000 1.22
22 @@ -4,7 +4,7 @@
23 <!-- The content of this document is licensed under the CC-BY-SA license -->
24 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
25
26 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-modules.xml,v 1.21 2007/01/04 06:03:26 nightmorph Exp $ -->
27 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-modules.xml,v 1.22 2007/04/08 01:28:11 nightmorph Exp $ -->
28
29 <sections>
30
31 @@ -13,8 +13,8 @@
32 different DHCP clients, setting up bonding, bridging, VLANs and more.
33 </abstract>
34
35 -<version>7.1</version>
36 -<date>2007-01-04</date>
37 +<version>8.0</version>
38 +<date>2007-04-07</date>
39
40 <section>
41 <title>Network Modules</title>
42 @@ -211,35 +211,49 @@
43 First we need to install the ADSL software.
44 </p>
45
46 -<pre caption="Install the rp-pppoe package">
47 -# <i>emerge net-dialup/rp-pppoe</i>
48 +<pre caption="Install the ppp package">
49 +# <i>emerge net-dialup/ppp</i>
50 </pre>
51
52 -<warn>
53 -<c>baselayout-1.11.x</c> supports PPPoE only. Hopefully future versions will
54 -support PPPoA.
55 -</warn>
56 +<note>
57 +If you need PPPoA, then you need to use >=<c>baselayout-1.12.x</c>.
58 +</note>
59 +
60 +<p>
61 +Second, create the PPP net script:
62 +</p>
63 +
64 +<pre caption="Creating the PPP net script">
65 +# <i>ln -s /etc/init.d/net.lo /etc/init.d/net.ppp0</i>
66 +</pre>
67
68 <p>
69 -Now we need to configure <c>eth0</c> to be an ADSL interface and enter our
70 -username by updating <path>/etc/conf.d/net</path>.
71 +Now we need to configure <path>/etc/conf.d/net</path>.
72 </p>
73
74 -<pre caption="Configure eth0 for ADSL in /etc/conf.d/net">
75 -config_eth0=( "adsl" )
76 -adsl_user_eth0="username"
77 +<pre caption="A basic PPPoE setup">
78 +config_ppp0=( "ppp" )
79 +link_ppp0="eth0" <comment>(For PPPoE users; replace eth0 with your actual PPP interface)</comment>
80 +plugins_ppp0=( "pppoe" )
81 +username_ppp0='user'
82 +password_ppp0='password'
83 </pre>
84
85 <p>
86 -Finally you need to define your username and password in
87 -<path>/etc/ppp/pap-secrets</path>.
88 +You can also set your password in <path>/etc/ppp/pap-secrets</path>.
89 </p>
90
91 -<pre caption="sample /etc/ppp/pap-secrets">
92 +<pre caption="Sample /etc/ppp/pap-secrets">
93 <comment># The * is important</comment>
94 "username" * "password"
95 </pre>
96
97 +<impo>
98 +Please carefully read the section on ADSL and PPP in
99 +<path>/etc/conf.d/net.example</path>. It contains many more detailed
100 +explanations of all the settings your particular PPP setup will likely need.
101 +</impo>
102 +
103 </body>
104 </section>
105 <section id="apipa">
106
107
108
109 --
110 gentoo-doc-cvs@g.o mailing list