/[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.41 Revision 1.42
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.41 2004/08/04 08:46:30 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.42 2004/08/06 12:16:52 neysx 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>
242 242
243<p> 243<p>
244The first variable you'll find is <c>iface_eth0</c>. It uses the following 244The first variable you'll find is <c>iface_eth0</c>. It uses the following
245syntax: 245syntax:
246</p> 246</p>
247 247
248<pre caption="iface_eth0 syntaxis"> 248<pre caption="iface_eth0 syntaxis">
249iface_eth0="<i>&lt;your ip address&gt;</i> broadcast <i>&lt;your broadcast address&gt;</i> netmask <i>&lt;your netmask&gt;</i>" 249iface_eth0="<i>&lt;your ip address&gt;</i> broadcast <i>&lt;your broadcast address&gt;</i> netmask <i>&lt;your netmask&gt;</i>"
250</pre> 250</pre>
251 251
252<p> 252<p>
253If you use DHCP (automatic IP retrieval), you should just set <c>iface_eth0</c> 253If you use DHCP (automatic IP retrieval), you should just set <c>iface_eth0</c>
254to <c>dhcp</c>. If you use rp-pppoe (e.g. for ADSL), set it to <c>up</c>. 254to <c>dhcp</c>. If you use rp-pppoe (e.g. for ADSL), set it to <c>up</c>.
255If you need to setup your network manually and you're 255If you need to setup your network manually and you're
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#network_term">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>

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

  ViewVC Help
Powered by ViewVC 1.1.20