From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C2EB9138200 for ; Wed, 3 Apr 2013 18:32:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15EB1E0A52; Wed, 3 Apr 2013 18:32:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1C5A0E0A52 for ; Wed, 3 Apr 2013 18:32:28 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AD706335DF0 for ; Wed, 3 Apr 2013 18:32:26 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 559) id 740102171D; Wed, 3 Apr 2013 18:32:25 +0000 (UTC) From: "Mike Frysinger (vapier)" To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: home-router-howto.xml X-VCS-Repository: gentoo X-VCS-Files: home-router-howto.xml X-VCS-Directories: xml/htdocs/doc/en X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20130403183225.740102171D@flycatcher.gentoo.org> Date: Wed, 3 Apr 2013 18:32:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@lists.gentoo.org Reply-to: docs-team@lists.gentoo.org X-Archives-Salt: 919fe2e2-5cc6-4350-86a0-f95e646d28fa X-Archives-Hash: e4589968521d0c630310651a9cf73c22 vapier 13/04/03 18:32:25 Modified: home-router-howto.xml Log: update to preferred openrc style for /etc/conf.d/net settings #461850 by Tina Revision Changes Path 1.66 xml/htdocs/doc/en/home-router-howto.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/home-router-howto.xml?rev=1.66&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/home-router-howto.xml?rev=1.66&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/home-router-howto.xml?r1=1.65&r2=1.66 Index: home-router-howto.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v retrieving revision 1.65 retrieving revision 1.66 diff -u -r1.65 -r1.66 --- home-router-howto.xml 30 Oct 2011 11:56:08 -0000 1.65 +++ home-router-howto.xml 3 Apr 2013 18:32:25 -0000 1.66 @@ -1,6 +1,6 @@ - + Home Router Guide @@ -17,8 +17,8 @@ -2 -2011-10-30 +3 +2013-04-03 Introduction @@ -200,24 +200,19 @@ editor and set it up.

- -In order for the following net settings to work, you must have -baselayout-1.12.9 or later installed on your system. - -
 (Replace 'vla9h924' with your username and 'boogie' with your password)
 
 # nano /etc/conf.d/net
-Tell baselayout to use adsl over eth1 for ppp0:
-config_ppp0=( "ppp" )
+Tell openrc to use adsl over eth1 for ppp0:
+config_ppp0="ppp"
 link_ppp0="eth1"
-plugins_ppp0=( "pppoe" )
-pppd_ppp0=(
-  "defaultroute"
-  "usepeerdns"
+plugins_ppp0="pppoe"
+pppd_ppp0="
+  defaultroute
+  usepeerdns
   There may be other settings you want, see /usr/share/doc/openrc-*/net.example.bz2
-)
+"
 username_ppp0="vla9h924"
 password_ppp0="boogie"
 
@@ -261,13 +256,13 @@
 # emerge dhcpcd
 # nano /etc/conf.d/net
 You'll need an entry like so:
-config_eth1=( "dhcp" )
+config_eth1="dhcp"
 
 Static IP Users:
 # nano /etc/conf.d/net
 You'll need entries like so:
-config_eth1=( "66.92.78.102 broadcast 66.92.78.255 netmask 255.255.255.0" )
-routes_eth1=( "default gw 66.92.78.1" )
+config_eth1="66.92.78.102/24 brd 66.92.78.255"
+routes_eth1="default via 66.92.78.1"
 # nano /etc/resolv.conf
 Add one line per DNS server:
 nameserver 123.123.123.123
@@ -298,7 +293,7 @@
 
 # nano /etc/conf.d/net
 Add a line like the following:
-config_eth0=( "192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0" )
+config_eth0="192.168.0.1/24 brd 192.168.0.255"
 # rc-update add net.eth0 default
 # /etc/init.d/net.eth0 start