From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HcYAt-0004j1-C2 for garchives@archives.gentoo.org; Sat, 14 Apr 2007 02:39:39 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l3E2dRRN021140; Sat, 14 Apr 2007 02:39:27 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l3E2dQwZ021135 for ; Sat, 14 Apr 2007 02:39:27 GMT Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 167AC64A0F for ; Sat, 14 Apr 2007 02:39:26 +0000 (UTC) Received: from nightmorph by stork.gentoo.org with local (Exim 4.60) (envelope-from ) id 1HcYAf-0006Th-7l for gentoo-doc-cvs@lists.gentoo.org; Sat, 14 Apr 2007 02:39:25 +0000 To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] cvs commit: hb-net-modules.xml Message-Id: From: Josh Saddler Date: Sat, 14 Apr 2007 02:39:25 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@gentoo.org Reply-to: docs-team@lists.gentoo.org X-Archives-Salt: 6b75a4bb-4729-4bbf-8e87-7d481fb3dae8 X-Archives-Hash: c1046331b6a8a8e6132cc378dd55ea01 nightmorph 07/04/14 02:39:25 Modified: hb-net-modules.xml Log: more updates for pppoe and bug 171584 Revision Changes Path 1.23 xml/htdocs/doc/en/handbook/hb-net-modules.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-net-modules.xml?rev=1.23&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-net-modules.xml?rev=1.23&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-net-modules.xml?r1=1.22&r2=1.23 Index: hb-net-modules.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-modules.xml,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- hb-net-modules.xml 8 Apr 2007 01:28:11 -0000 1.22 +++ hb-net-modules.xml 14 Apr 2007 02:39:25 -0000 1.23 @@ -4,7 +4,7 @@ - + @@ -13,8 +13,8 @@ different DHCP clients, setting up bonding, bridging, VLANs and more. -8.0 -2007-04-07 +8.2 +2007-04-13
Network Modules @@ -204,7 +204,7 @@
-ADSL Modem +ADSL with PPPoE/PPPoA

@@ -216,27 +216,48 @@ -If you need PPPoA, then you need to use >=baselayout-1.12.x. +If you need PPPoA, then make sure to use >=baselayout-1.12.x.

-Second, create the PPP net script: +Second, create the PPP net script and the net script for the ethernet interface +to be used by PPP:

-
+
 # ln -s /etc/init.d/net.lo /etc/init.d/net.ppp0
+# ln -s /etc/init.d/net.lo /etc/init.d/net.eth0
 

+Be sure to set RC_NET_STRICT_CHECKING="yes" in /etc/conf.d/rc. +

+ +

Now we need to configure /etc/conf.d/net.

+config_eth0=( null ) (Specify your ethernet interface)
 config_ppp0=( "ppp" )
-link_ppp0="eth0" (For PPPoE users; replace eth0 with your actual PPP interface)
+link_ppp0="eth0" (Specify your ethernet interface)
 plugins_ppp0=( "pppoe" )
 username_ppp0='user'
 password_ppp0='password'
+pppd_ppp0=(
+       "noauth"
+       "defaultroute"
+       "usepeerdns"
+       "holdoff 3"
+       "child-timeout 60"
+       "lcp-echo-interval 15"
+       "lcp-echo-failure 3"
+       noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp
+)
+
+depend_ppp0() {
+    need net.eth0
+}
 

@@ -248,6 +269,12 @@ "username" * "password"

+

+If you use PPPoE with a USB modem you'll need to emerge br2684ctl. Please +read /usr/portage/net-dialup/speedtouch-usb/files/README for +information on how to properly configure it. +

+ Please carefully read the section on ADSL and PPP in /etc/conf.d/net.example. It contains many more detailed -- gentoo-doc-cvs@gentoo.org mailing list