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.54) id 1FOPVw-00031U-Pv for garchives@archives.gentoo.org; Wed, 29 Mar 2006 01:30:25 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k2T1UbP3025316; Wed, 29 Mar 2006 01:30:37 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k2T1UYO8027413 for ; Wed, 29 Mar 2006 01:30:36 GMT Message-Id: <200603290130.k2T1UYO8027413@robin.gentoo.org> Received: from lark.gentoo.osuosl.org ([140.211.166.177] helo=lark) by smtp.gentoo.org with smtp (Exim 4.54) id 1FOPW4-0008Iq-TT for gentoo-doc-cvs@lists.gentoo.org; Wed, 29 Mar 2006 01:30:33 +0000 Received: by lark (sSMTP sendmail emulation); Wed, 29 Mar 2006 01:30:32 +0000 From: "vapier" Date: Wed, 29 Mar 2006 01:30:32 +0000 To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] cvs commit: home-router-howto.xml 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: 0bce375a-12a7-44a3-9c3f-715e25700f93 X-Archives-Hash: 4b7c08e706a32c1a088951ea4573c4b4 vapier 06/03/29 01:30:32 Modified: home-router-howto.xml Log: some baselayout/dnsmasq tweaks from Davide Giannotti Revision Changes Path 1.43 xml/htdocs/doc/en/home-router-howto.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/home-router-howto.xml?rev=1.43&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/home-router-howto.xml?rev=1.43&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/home-router-howto.xml.diff?r1=1.42&r2=1.43&cvsroot=gentoo Index: home-router-howto.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- home-router-howto.xml 17 Mar 2006 10:17:04 -0000 1.42 +++ home-router-howto.xml 29 Mar 2006 01:30:31 -0000 1.43 @@ -1,6 +1,6 @@ - + Home Router Guide @@ -17,8 +17,8 @@ -1.25 -2006-03-17 +1.26 +2006-03-28 Introduction @@ -247,7 +247,7 @@ Static IP Users: # nano /etc/conf.d/net You'll need entries like so: -ifconfig_eth1=( "66.92.78.102 broadcast 66.92.78.255 netmask 255.255.255.0" ) +config_eth1=( "66.92.78.102 broadcast 66.92.78.255 netmask 255.255.255.0" ) routes_eth1=( "default gw 66.92.78.1" ) # nano /etc/resolv.conf Add one line per DNS server: @@ -279,7 +279,7 @@
 # nano /etc/conf.d/net
 Add a line like the following:
-ifconfig_eth0=( "192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0" )
+config_eth0=( "192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0" )
 # rc-update add net.eth0 default
 # /etc/init.d/net.eth0 start
 
@@ -325,11 +325,11 @@
 # emerge dnsmasq
 # nano /etc/dnsmasq.conf
-You should need to just add this one line:
+Add this line to enable dhcp:
 dhcp-range=192.168.0.100,192.168.0.250,72h
+Restrict dnsmasq to just the LAN interface
+interface=eth0
 
-# nano /etc/conf.d/dnsmasq
-Add "-i eth0" to DNSMASQ_OPTS
 # rc-update add dnsmasq default
 # /etc/init.d/dnsmasq start
 
-- gentoo-doc-cvs@gentoo.org mailing list