Gentoo Archives: gentoo-doc-cvs

From: vapier <vapier@×××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: home-router-howto.xml
Date: Wed, 29 Mar 2006 01:30:25
Message-Id: 200603290130.k2T1UYO8027413@robin.gentoo.org
1 vapier 06/03/29 01:30:32
2
3 Modified: home-router-howto.xml
4 Log:
5 some baselayout/dnsmasq tweaks from Davide Giannotti
6
7 Revision Changes Path
8 1.43 xml/htdocs/doc/en/home-router-howto.xml
9
10 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
11 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
12 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
13
14 Index: home-router-howto.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v
17 retrieving revision 1.42
18 retrieving revision 1.43
19 diff -u -r1.42 -r1.43
20 --- home-router-howto.xml 17 Mar 2006 10:17:04 -0000 1.42
21 +++ home-router-howto.xml 29 Mar 2006 01:30:31 -0000 1.43
22 @@ -1,6 +1,6 @@
23 <?xml version='1.0' encoding='UTF-8'?>
24 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
25 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.42 2006/03/17 10:17:04 neysx Exp $ -->
26 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.43 2006/03/29 01:30:31 vapier Exp $ -->
27
28 <guide link="/doc/en/home-router-howto.xml" lang="en">
29 <title>Home Router Guide</title>
30 @@ -17,8 +17,8 @@
31 <!-- The content of this document is released into the public domain -->
32 <license/>
33
34 -<version>1.25</version>
35 -<date>2006-03-17</date>
36 +<version>1.26</version>
37 +<date>2006-03-28</date>
38
39 <chapter>
40 <title>Introduction</title>
41 @@ -247,7 +247,7 @@
42 <comment>Static IP Users:</comment>
43 # <i>nano /etc/conf.d/net</i>
44 <comment>You'll need entries like so:</comment>
45 -ifconfig_eth1=( "66.92.78.102 broadcast 66.92.78.255 netmask 255.255.255.0" )
46 +config_eth1=( "66.92.78.102 broadcast 66.92.78.255 netmask 255.255.255.0" )
47 routes_eth1=( "default gw 66.92.78.1" )
48 # <i>nano /etc/resolv.conf</i>
49 <comment>Add one line per DNS server:</comment>
50 @@ -279,7 +279,7 @@
51 <pre caption="Setting up eth0">
52 # <i>nano /etc/conf.d/net</i>
53 <comment>Add a line like the following:</comment>
54 -ifconfig_eth0=( "192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0" )
55 +config_eth0=( "192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0" )
56 # <i>rc-update add net.eth0 default</i>
57 # <i>/etc/init.d/net.eth0 start</i>
58 </pre>
59 @@ -325,11 +325,11 @@
60 <pre caption="Setting up a DHCP server">
61 # <i>emerge dnsmasq</i>
62 # <i>nano /etc/dnsmasq.conf</i>
63 -<comment>You should need to just add this one line:</comment>
64 +<comment>Add this line to enable dhcp:</comment>
65 dhcp-range=192.168.0.100,192.168.0.250,72h
66 +<comment>Restrict dnsmasq to just the LAN interface</comment>
67 +interface=eth0
68
69 -# <i>nano /etc/conf.d/dnsmasq</i>
70 -<comment>Add "-i eth0" to DNSMASQ_OPTS</comment>
71 # <i>rc-update add dnsmasq default</i>
72 # <i>/etc/init.d/dnsmasq start</i>
73 </pre>
74
75
76
77 --
78 gentoo-doc-cvs@g.o mailing list