/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-config.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-config.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.99 Revision 1.100
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.99 2008/05/02 08:04:23 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.100 2009/02/11 08:40:54 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12You need to edit some important configuration files. In this chapter 12You need to edit some important configuration files. In this chapter
13you receive an overview of these files and an explanation on how to 13you receive an overview of these files and an explanation on how to
14proceed. 14proceed.
15</abstract> 15</abstract>
16 16
17<version>9.2</version> 17<version>9.3</version>
18<date>2008-05-02</date> 18<date>2009-02-11</date>
19 19
20<section> 20<section>
21<title>Filesystem Information</title> 21<title>Filesystem Information</title>
22<subsection> 22<subsection>
23<title>What is fstab?</title> 23<title>What is fstab?</title>
301config_eth0=( "192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255" ) 301config_eth0=( "192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255" )
302routes_eth0=( "default via 192.168.0.1" ) 302routes_eth0=( "default via 192.168.0.1" )
303</pre> 303</pre>
304 304
305<p> 305<p>
306To use DHCP and add specific DHCP options, define <c>config_eth0</c> and 306To use DHCP, define <c>config_eth0</c>:
307<c>dhcp_eth0</c>:
308</p> 307</p>
309 308
310<pre caption="Automatically obtaining an IP address for eth0"> 309<pre caption="Automatically obtaining an IP address for eth0">
311config_eth0=( "dhcp" ) 310config_eth0=( "dhcp" )
312dhcp_eth0="nodns nontp nonis"
313</pre> 311</pre>
314 312
315<p> 313<p>
316Please read <path>/etc/conf.d/net.example</path> for a list of all available 314Please read <path>/etc/conf.d/net.example</path> for a list of all available
317options. 315options. Be sure to also read your DHCP client manpage if you need to set
316specific DHCP options.
318</p> 317</p>
319 318
320<p> 319<p>
321If you have several network interfaces repeat the above steps for 320If you have several network interfaces repeat the above steps for
322<c>config_eth1</c>, <c>config_eth2</c>, etc. 321<c>config_eth1</c>, <c>config_eth2</c>, etc.

Legend:
Removed from v.1.99  
changed lines
  Added in v.1.100

  ViewVC Help
Powered by ViewVC 1.1.20