/[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
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
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>
24<body> 24<body>
25 25
26<p> 26<p>
27Under Linux, all partitions used by the system must be listed in 27Under Linux, all partitions used by the system must be listed in
28<path>/etc/fstab</path>. This file contains the mount points of those partitions 28<path>/etc/fstab</path>. This file contains the mount points of those partitions
29(where they are seen in the file system structure), how they should be mounted 29(where they are seen in the file system structure), how they should be mounted
30and with what special options (automatically or not, whether users can mount 30and with what special options (automatically or not, whether users can mount
31them or not, etc.) 31them or not, etc.)
32</p> 32</p>
33 33
291# please review /etc/conf.d/net.example and save your configuration 291# please review /etc/conf.d/net.example and save your configuration
292# in /etc/conf.d/net (this file :]!). 292# in /etc/conf.d/net (this file :]!).
293</pre> 293</pre>
294 294
295<p> 295<p>
296To enter your own IP address, netmask and gateway, you need 296To enter your own IP address, netmask and gateway, you need
297to set both <c>config_eth0</c> and <c>routes_eth0</c>: 297to set both <c>config_eth0</c> and <c>routes_eth0</c>:
298</p> 298</p>
299 299
300<pre caption="Manually setting IP information for eth0"> 300<pre caption="Manually setting IP information for eth0">
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.
323</p> 322</p>
324 323
325<p> 324<p>
326Now save the configuration and exit to continue. 325Now save the configuration and exit to continue.
327</p> 326</p>
328 327
329</body> 328</body>
330</subsection> 329</subsection>
331<subsection> 330<subsection>
332<title>Automatically Start Networking at Boot</title> 331<title>Automatically Start Networking at Boot</title>

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

  ViewVC Help
Powered by ViewVC 1.1.20