1 |
vapier 07/04/07 02:16:43 |
2 |
|
3 |
Modified: home-router-howto.xml |
4 |
Log: |
5 |
transition from rp-pppoe/adsl to ppp/pppoe for adsl/pppoe users |
6 |
|
7 |
Revision Changes Path |
8 |
1.58 xml/htdocs/doc/en/home-router-howto.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/home-router-howto.xml?rev=1.58&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/home-router-howto.xml?rev=1.58&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/home-router-howto.xml?r1=1.57&r2=1.58 |
13 |
|
14 |
Index: home-router-howto.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v |
17 |
retrieving revision 1.57 |
18 |
retrieving revision 1.58 |
19 |
diff -u -r1.57 -r1.58 |
20 |
--- home-router-howto.xml 3 Apr 2007 23:06:21 -0000 1.57 |
21 |
+++ home-router-howto.xml 7 Apr 2007 02:16:43 -0000 1.58 |
22 |
@@ -1,6 +1,6 @@ |
23 |
<?xml version='1.0' encoding='UTF-8'?> |
24 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
25 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.57 2007/04/03 23:06:21 vapier Exp $ --> |
26 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.58 2007/04/07 02:16:43 vapier Exp $ --> |
27 |
|
28 |
<guide link="/doc/en/home-router-howto.xml" lang="en"> |
29 |
<title>Home Router Guide</title> |
30 |
@@ -17,8 +17,8 @@ |
31 |
<!-- The content of this document is released into the public domain --> |
32 |
<license/> |
33 |
|
34 |
-<version>1.36</version> |
35 |
-<date>2007-04-03</date> |
36 |
+<version>1.37</version> |
37 |
+<date>2007-04-06</date> |
38 |
|
39 |
<chapter> |
40 |
<title>Introduction</title> |
41 |
@@ -191,32 +191,39 @@ |
42 |
<body> |
43 |
|
44 |
<p> |
45 |
-All the fancy PPPoE software has been bundled up into one little nice package |
46 |
-nowadays called <uri link="http://www.roaringpenguin.com/">Roaring |
47 |
-Penguin</uri>. Simply <c>emerge rp-pppoe</c> and you'll be on your way. |
48 |
-Remember how I said you'll need username/password information? Well I wasn't |
49 |
-lying so I hope you have it now! Load up <path>/etc/ppp/pppoe.conf</path> in |
50 |
-your favorite editor and set it up. |
51 |
+All the fancy PPPoE software that used to be provided by rp-pppoe |
52 |
+(<uri link="http://www.roaringpenguin.com/">Roaring Penguin</uri>) has been |
53 |
+integrated into the <uri link="http://samba.org/ppp/">standard PPP |
54 |
+package</uri>. Simply <c>emerge ppp</c> and you'll be on your way. Remember |
55 |
+how I said you'll need username/password information? Well I wasn't lying so |
56 |
+I hope you have it now! Load up <path>/etc/conf.d/net</path> in your favorite |
57 |
+editor and set it up. |
58 |
</p> |
59 |
|
60 |
<note> |
61 |
In order for the following net settings to work, you must have |
62 |
-baselayout-1.11.14 or later installed on your system. |
63 |
+baselayout-1.12.9 or later installed on your system. |
64 |
</note> |
65 |
|
66 |
<pre caption="Setting up eth1"> |
67 |
-<comment>(Replace 'vla9h924' with your username and 'password' with your password)</comment> |
68 |
+<comment>(Replace 'vla9h924' with your username and 'boogie' with your password)</comment> |
69 |
|
70 |
-# <i>nano /etc/ppp/pap-secrets</i> |
71 |
-<comment># client server secret</comment> |
72 |
-"vla9h924" * "password" |
73 |
# <i>nano /etc/conf.d/net</i> |
74 |
-<comment>Tell baselayout to use adsl for your eth1:</comment> |
75 |
-config_eth1=( "adsl" ) |
76 |
-user_eth1=( "vla9h924" ) |
77 |
-# <i>ln -s net.lo /etc/init.d/net.eth1</i> |
78 |
-# <i>rc-update add net.eth1 default</i> |
79 |
-# <i>/etc/init.d/net.eth1 start</i> |
80 |
+<comment>Tell baselayout to use adsl over eth1 for ppp0:</comment> |
81 |
+config_ppp0=( "ppp" ) |
82 |
+link_ppp0="eth1" |
83 |
+plugins_ppp0=( "pppoe" ) |
84 |
+pppd_ppp0=( |
85 |
+ "defaultroute" |
86 |
+ "usepeerdns" |
87 |
+ <comment>There may be other settings you want, see /etc/conf.d/net.example</comment> |
88 |
+) |
89 |
+username_ppp0="vla9h924" |
90 |
+password_ppp0="boogie" |
91 |
+ |
92 |
+# <i>ln -s net.lo /etc/init.d/net.ppp0</i> |
93 |
+# <i>rc-update add net.ppp0 default</i> |
94 |
+# <i>/etc/init.d/net.ppp0 start</i> |
95 |
</pre> |
96 |
|
97 |
<warn> |
98 |
@@ -225,6 +232,17 @@ |
99 |
examples that utilize 'eth1', substitute with 'ppp0'. |
100 |
</warn> |
101 |
|
102 |
+<warn> |
103 |
+Make sure you change the permissions of the /etc/conf.d/net file so that only |
104 |
+root can read/write it since you're sticking your username/password in it. |
105 |
+</warn> |
106 |
+ |
107 |
+<warn> |
108 |
+For people transitioning from the <c>rp-pppoe</c> package, or for people who |
109 |
+hit weird connection resets, see the MTU section in the Troubleshooting |
110 |
+chapter. |
111 |
+</warn> |
112 |
+ |
113 |
</body> |
114 |
</section> |
115 |
|
116 |
|
117 |
|
118 |
|
119 |
-- |
120 |
gentoo-doc-cvs@g.o mailing list |