/[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.37 Revision 1.38
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/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.37 2004/07/26 09:04:42 dertobi123 Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.38 2004/07/29 16:33:59 swift Exp $ -->
8 8
9<sections> 9<sections>
10<section> 10<section>
11<title>Filesystem Information</title> 11<title>Filesystem Information</title>
12<subsection> 12<subsection>
13<title>What is fstab?</title> 13<title>What is fstab?</title>
14<body> 14<body>
15 15
16<p> 16<p>
17Under Linux, all partitions used by the system must be listed in 17Under Linux, all partitions used by the system must be listed in
18<path>/etc/fstab</path>. This file contains the mountpoints of those partitions 18<path>/etc/fstab</path>. This file contains the mountpoints of those partitions
19(where they are seen in the file system structure), how they should be mounted 19(where they are seen in the file system structure), how they should be mounted
20(special options) and when (automatically or not, can users mount those or not, 20(special options) and when (automatically or not, can users mount those or not,
21etc.). 21etc.).
22</p> 22</p>
256not familiar with all the above terms, please read the section on <uri 256not familiar with all the above terms, please read the section on <uri
257link="?part=1&amp;chap=3#doc_chap4_sect3">Understanding Network 257link="?part=1&amp;chap=3#doc_chap4_sect3">Understanding Network
258Terminology</uri> if you haven't done so already. 258Terminology</uri> if you haven't done so already.
259</p> 259</p>
260 260
261<p> 261<p>
262So let us give three examples; the first one uses DHCP, the second one a static 262So let us give three examples; the first one uses DHCP, the second one a static
263IP (192.168.0.2) with netmask 255.255.255.0, broadcast 192.168.0.255 and 263IP (192.168.0.2) with netmask 255.255.255.0, broadcast 192.168.0.255 and
264gateway 192.168.0.1 while the third one just activates the interface for 264gateway 192.168.0.1 while the third one just activates the interface for
265rp-pppoe usage: 265rp-pppoe usage:
266</p> 266</p>
267 267
268<pre caption="Examples for /etc/conf.d/net"> 268<pre caption="Examples for /etc/conf.d/net">
269<comment>(For DHCP)</comment> 269<comment>(For DHCP)</comment>
270iface_eth0="dhcp" 270iface_eth0="dhcp"
271<comment>Some network admins require that you use the</comment> 271<comment># Some network admins require that you use the</comment>
272<comment>hostname and domainname provided by the DHCP server.</comment> 272<comment># hostname and domainname provided by the DHCP server.</comment>
273<comment>In that case, add the following to let dhcpcd use them.</comment> 273<comment># In that case, add the following to let dhcpcd use them.</comment>
274<comment>That will override your own hostname and domainname definitions.</comment> 274<comment># That will override your own hostname and domainname definitions.</comment>
275dhcpcd_eth0="-HD" 275dhcpcd_eth0="-HD"
276<comment>If you intend on using NTP to keep your machine clock synchronized, use</comment> 276<comment># If you intend on using NTP to keep your machine clock synchronized, use</comment>
277<comment>the -N option to prevent dhcpcd from overwriting your /etc/ntp.conf file</comment> 277<comment># the -N option to prevent dhcpcd from overwriting your /etc/ntp.conf file</comment>
278dhcpcd_eth0="-N" 278dhcpcd_eth0="-N"
279 279
280<comment>(For static IP)</comment> 280<comment>(For static IP)</comment>
281iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0" 281iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
282gateway="eth0/192.168.0.1" 282gateway="eth0/192.168.0.1"
283 283
284<comment>(For rp-pppoe)</comment> 284<comment>(For rp-pppoe)</comment>
285iface_eth0="up" 285iface_eth0="up"
286</pre> 286</pre>
287 287
288<p> 288<p>
289If you have several network interfaces, create extra <c>iface_eth</c> variables, 289If you have several network interfaces, create extra <c>iface_eth</c> variables,
290like <c>iface_eth1</c>, <c>iface_eth2</c> etc. The <c>gateway</c> variable 290like <c>iface_eth1</c>, <c>iface_eth2</c> etc. The <c>gateway</c> variable
291shouldn't be reproduced as you can only set one gateway per computer. 291shouldn't be reproduced as you can only set one gateway per computer.
292</p> 292</p>

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

  ViewVC Help
Powered by ViewVC 1.1.20