/[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.73 Revision 1.74
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.73 2005/09/21 19:30:32 jkt Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.74 2005/11/19 09:31:05 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>2.14</version> 11<version>2.15</version>
12<date>2005-09-21</date> 12<date>2005-11-19</date>
13 13
14<section> 14<section>
15<title>Filesystem Information</title> 15<title>Filesystem Information</title>
16<subsection> 16<subsection>
17<title>What is fstab?</title> 17<title>What is fstab?</title>
18<body> 18<body>
19 19
20<p> 20<p>
21Under Linux, all partitions used by the system must be listed in 21Under Linux, all partitions used by the system must be listed in
22<path>/etc/fstab</path>. This file contains the mountpoints of those partitions 22<path>/etc/fstab</path>. This file contains the mountpoints of those partitions
23(where they are seen in the file system structure), how they should be mounted 23(where they are seen in the file system structure), how they should be mounted
24and with what special options (automatically or not, whether users can mount 24and with what special options (automatically or not, whether users can mount
25them or not, etc.) 25them or not, etc.)
26</p> 26</p>
27 27
265</p> 265</p>
266 266
267<pre caption="Default /etc/conf.d/net"> 267<pre caption="Default /etc/conf.d/net">
268# This blank configuration will automatically use DHCP for any net.* 268# This blank configuration will automatically use DHCP for any net.*
269# scripts in /etc/init.d. To create a more complete configuration, 269# scripts in /etc/init.d. To create a more complete configuration,
270# please review /etc/conf.d/net.example and save your configuration 270# please review /etc/conf.d/net.example and save your configuration
271# in /etc/conf.d/net (this file :]!). 271# in /etc/conf.d/net (this file :]!).
272</pre> 272</pre>
273 273
274<p> 274<p>
275To enter your own IP address, netmask and gateway, you need 275To enter your own IP address, netmask and gateway, you need
276to set both <c>config_eth0</c> and <c>routes_eth0</c>: 276to set both <c>config_eth0</c> and <c>routes_eth0</c>:
277</p> 277</p>
278 278
279<pre caption="Manually setting IP information for eth0"> 279<pre caption="Manually setting IP information for eth0">
280config_eth0=( "192.168.0.2 netmask 255.255.255.0" ) 280config_eth0=( "192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255" )
281routes_eth0=( "default gw 192.168.0.1" ) 281routes_eth0=( "default gw 192.168.0.1" )
282</pre> 282</pre>
283 283
284<p> 284<p>
285To use DHCP and add specific DHCP options, define <c>config_eth0</c> and 285To use DHCP and add specific DHCP options, define <c>config_eth0</c> and
286<c>dhcp_eth0</c>: 286<c>dhcp_eth0</c>:
287</p> 287</p>
288 288
289<pre caption="Automatically obtaining an IP address for eth0"> 289<pre caption="Automatically obtaining an IP address for eth0">
290config_eth0=( "dhcp" ) 290config_eth0=( "dhcp" )
291dhcp_eth0="nodns nontp nonis" 291dhcp_eth0="nodns nontp nonis"
292</pre> 292</pre>
293 293
294<p> 294<p>
295Please read <path>/etc/conf.d/net.example</path> for a list of all available 295Please read <path>/etc/conf.d/net.example</path> for a list of all available

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.74

  ViewVC Help
Powered by ViewVC 1.1.20