/[gentoo]/xml/htdocs/doc/en/home-router-howto.xml
Gentoo

Diff of /xml/htdocs/doc/en/home-router-howto.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.57 Revision 1.58
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.57 2007/04/03 23:06:21 vapier Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.58 2007/04/07 02:16:43 vapier Exp $ -->
4 4
5<guide link="/doc/en/home-router-howto.xml" lang="en"> 5<guide link="/doc/en/home-router-howto.xml" lang="en">
6<title>Home Router Guide</title> 6<title>Home Router Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
15</abstract> 15</abstract>
16 16
17<!-- The content of this document is released into the public domain --> 17<!-- The content of this document is released into the public domain -->
18<license/> 18<license/>
19 19
20<version>1.36</version> 20<version>1.37</version>
21<date>2007-04-03</date> 21<date>2007-04-06</date>
22 22
23<chapter> 23<chapter>
24<title>Introduction</title> 24<title>Introduction</title>
25<section> 25<section>
26<body> 26<body>
189<section> 189<section>
190<title>ADSL and PPPoE</title> 190<title>ADSL and PPPoE</title>
191<body> 191<body>
192 192
193<p> 193<p>
194All the fancy PPPoE software has been bundled up into one little nice package 194All the fancy PPPoE software that used to be provided by rp-pppoe
195nowadays called <uri link="http://www.roaringpenguin.com/">Roaring 195(<uri link="http://www.roaringpenguin.com/">Roaring Penguin</uri>) has been
196integrated into the <uri link="http://samba.org/ppp/">standard PPP
196Penguin</uri>. Simply <c>emerge rp-pppoe</c> and you'll be on your way. 197package</uri>. Simply <c>emerge ppp</c> and you'll be on your way. Remember
197Remember how I said you'll need username/password information? Well I wasn't 198how I said you'll need username/password information? Well I wasn't lying so
198lying so I hope you have it now! Load up <path>/etc/ppp/pppoe.conf</path> in 199I hope you have it now! Load up <path>/etc/conf.d/net</path> in your favorite
199your favorite editor and set it up. 200editor and set it up.
200</p> 201</p>
201 202
202<note> 203<note>
203In order for the following net settings to work, you must have 204In order for the following net settings to work, you must have
204baselayout-1.11.14 or later installed on your system. 205baselayout-1.12.9 or later installed on your system.
205</note> 206</note>
206 207
207<pre caption="Setting up eth1"> 208<pre caption="Setting up eth1">
208<comment>(Replace 'vla9h924' with your username and 'password' with your password)</comment> 209<comment>(Replace 'vla9h924' with your username and 'boogie' with your password)</comment>
209 210
210# <i>nano /etc/ppp/pap-secrets</i>
211<comment># client server secret</comment>
212"vla9h924" * "password"
213# <i>nano /etc/conf.d/net</i> 211# <i>nano /etc/conf.d/net</i>
214<comment>Tell baselayout to use adsl for your eth1:</comment> 212<comment>Tell baselayout to use adsl over eth1 for ppp0:</comment>
215config_eth1=( "adsl" ) 213config_ppp0=( "ppp" )
216user_eth1=( "vla9h924" ) 214link_ppp0="eth1"
215plugins_ppp0=( "pppoe" )
216pppd_ppp0=(
217 "defaultroute"
218 "usepeerdns"
219 <comment>There may be other settings you want, see /etc/conf.d/net.example</comment>
220)
221username_ppp0="vla9h924"
222password_ppp0="boogie"
223
217# <i>ln -s net.lo /etc/init.d/net.eth1</i> 224# <i>ln -s net.lo /etc/init.d/net.ppp0</i>
218# <i>rc-update add net.eth1 default</i> 225# <i>rc-update add net.ppp0 default</i>
219# <i>/etc/init.d/net.eth1 start</i> 226# <i>/etc/init.d/net.ppp0 start</i>
220</pre> 227</pre>
221 228
222<warn> 229<warn>
223When the DSL interface comes up, it will create ppp0. Although your NIC is 230When the DSL interface comes up, it will create ppp0. Although your NIC is
224called eth1, the IP is actually bound to ppp0. From now on, when you see 231called eth1, the IP is actually bound to ppp0. From now on, when you see
225examples that utilize 'eth1', substitute with 'ppp0'. 232examples that utilize 'eth1', substitute with 'ppp0'.
233</warn>
234
235<warn>
236Make sure you change the permissions of the /etc/conf.d/net file so that only
237root can read/write it since you're sticking your username/password in it.
238</warn>
239
240<warn>
241For people transitioning from the <c>rp-pppoe</c> package, or for people who
242hit weird connection resets, see the MTU section in the Troubleshooting
243chapter.
226</warn> 244</warn>
227 245
228</body> 246</body>
229</section> 247</section>
230 248

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58

  ViewVC Help
Powered by ViewVC 1.1.20