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 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 
1.42 2006/03/17 10:17:04 neysx Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 
1.43 2006/03/29 01:30:31 vapier Exp $ -->
 
 <guide link="/doc/en/home-router-howto.xml" lang="en">
 <title>Home Router Guide</title>
@@ -17,8 +17,8 @@
 <!-- The content of this document is released into the public domain -->
 <license/>
 
-<version>1.25</version>
-<date>2006-03-17</date>
+<version>1.26</version>
+<date>2006-03-28</date>
 
 <chapter>
 <title>Introduction</title>
@@ -247,7 +247,7 @@
 <comment>Static IP Users:</comment>
 # <i>nano /etc/conf.d/net</i>
 <comment>You'll need entries like so:</comment>
-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" )
 # <i>nano /etc/resolv.conf</i>
 <comment>Add one line per DNS server:</comment>
@@ -279,7 +279,7 @@
 <pre caption="Setting up eth0">
 # <i>nano /etc/conf.d/net</i>
 <comment>Add a line like the following:</comment>
-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" )
 # <i>rc-update add net.eth0 default</i>
 # <i>/etc/init.d/net.eth0 start</i>
 </pre>
@@ -325,11 +325,11 @@
 <pre caption="Setting up a DHCP server">
 # <i>emerge dnsmasq</i>
 # <i>nano /etc/dnsmasq.conf</i>
-<comment>You should need to just add this one line:</comment>
+<comment>Add this line to enable dhcp:</comment>
 dhcp-range=192.168.0.100,192.168.0.250,72h
+<comment>Restrict dnsmasq to just the LAN interface</comment>
+interface=eth0
 
-# <i>nano /etc/conf.d/dnsmasq</i>
-<comment>Add "-i eth0" to DNSMASQ_OPTS</comment>
 # <i>rc-update add dnsmasq default</i>
 # <i>/etc/init.d/dnsmasq start</i>
 </pre>



-- 
[email protected] mailing list

Reply via email to