1 |
nightmorph 07/04/14 02:39:25 |
2 |
|
3 |
Modified: hb-net-modules.xml |
4 |
Log: |
5 |
more updates for pppoe and bug 171584 |
6 |
|
7 |
Revision Changes Path |
8 |
1.23 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.23&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-net-modules.xml?rev=1.23&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-net-modules.xml?r1=1.22&r2=1.23 |
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.22 |
18 |
retrieving revision 1.23 |
19 |
diff -u -r1.22 -r1.23 |
20 |
--- hb-net-modules.xml 8 Apr 2007 01:28:11 -0000 1.22 |
21 |
+++ hb-net-modules.xml 14 Apr 2007 02:39:25 -0000 1.23 |
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.22 2007/04/08 01:28:11 nightmorph Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-modules.xml,v 1.23 2007/04/14 02:39:25 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>8.0</version> |
36 |
-<date>2007-04-07</date> |
37 |
+<version>8.2</version> |
38 |
+<date>2007-04-13</date> |
39 |
|
40 |
<section> |
41 |
<title>Network Modules</title> |
42 |
@@ -204,7 +204,7 @@ |
43 |
</body> |
44 |
</section> |
45 |
<section> |
46 |
-<title>ADSL Modem</title> |
47 |
+<title>ADSL with PPPoE/PPPoA</title> |
48 |
<body> |
49 |
|
50 |
<p> |
51 |
@@ -216,27 +216,48 @@ |
52 |
</pre> |
53 |
|
54 |
<note> |
55 |
-If you need PPPoA, then you need to use >=<c>baselayout-1.12.x</c>. |
56 |
+If you need PPPoA, then make sure to use >=<c>baselayout-1.12.x</c>. |
57 |
</note> |
58 |
|
59 |
<p> |
60 |
-Second, create the PPP net script: |
61 |
+Second, create the PPP net script and the net script for the ethernet interface |
62 |
+to be used by PPP: |
63 |
</p> |
64 |
|
65 |
-<pre caption="Creating the PPP net script"> |
66 |
+<pre caption="Creating the PPP and ethernet scripts"> |
67 |
# <i>ln -s /etc/init.d/net.lo /etc/init.d/net.ppp0</i> |
68 |
+# <i>ln -s /etc/init.d/net.lo /etc/init.d/net.eth0</i> |
69 |
</pre> |
70 |
|
71 |
<p> |
72 |
+Be sure to set RC_NET_STRICT_CHECKING="yes" in <path>/etc/conf.d/rc</path>. |
73 |
+</p> |
74 |
+ |
75 |
+<p> |
76 |
Now we need to configure <path>/etc/conf.d/net</path>. |
77 |
</p> |
78 |
|
79 |
<pre caption="A basic PPPoE setup"> |
80 |
+config_eth0=( null ) <comment>(Specify your ethernet interface)</comment> |
81 |
config_ppp0=( "ppp" ) |
82 |
-link_ppp0="eth0" <comment>(For PPPoE users; replace eth0 with your actual PPP interface)</comment> |
83 |
+link_ppp0="eth0" <comment>(Specify your ethernet interface)</comment> |
84 |
plugins_ppp0=( "pppoe" ) |
85 |
username_ppp0='user' |
86 |
password_ppp0='password' |
87 |
+pppd_ppp0=( |
88 |
+ "noauth" |
89 |
+ "defaultroute" |
90 |
+ "usepeerdns" |
91 |
+ "holdoff 3" |
92 |
+ "child-timeout 60" |
93 |
+ "lcp-echo-interval 15" |
94 |
+ "lcp-echo-failure 3" |
95 |
+ noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp |
96 |
+) |
97 |
+ |
98 |
+depend_ppp0() { |
99 |
+ need net.eth0 |
100 |
+} |
101 |
</pre> |
102 |
|
103 |
<p> |
104 |
@@ -248,6 +269,12 @@ |
105 |
"username" * "password" |
106 |
</pre> |
107 |
|
108 |
+<p> |
109 |
+If you use PPPoE with a USB modem you'll need to emerge <c>br2684ctl</c>. Please |
110 |
+read <path>/usr/portage/net-dialup/speedtouch-usb/files/README</path> for |
111 |
+information on how to properly configure it. |
112 |
+</p> |
113 |
+ |
114 |
<impo> |
115 |
Please carefully read the section on ADSL and PPP in |
116 |
<path>/etc/conf.d/net.example</path>. It contains many more detailed |
117 |
|
118 |
|
119 |
|
120 |
-- |
121 |
gentoo-doc-cvs@g.o mailing list |