/[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.47 Revision 1.48
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.47 2004/10/16 20:20:25 vapier Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.48 2004/10/23 11:02:06 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
20and with what special options (automatically or not, whether users can mount 20and with what special options (automatically or not, whether users can mount
21them or not, etc.) 21them or not, etc.)
22</p> 22</p>
216</body> 216</body>
217</subsection> 217</subsection>
218<subsection> 218<subsection>
219<title>Configuring your Network</title> 219<title>Configuring your Network</title>
220<body> 220<body>
221 221
222<p> 222<p>
223Before you get that "Hey, we've had that already"-feeling, you should remember 223Before you get that "Hey, we've had that already"-feeling, you should remember
224that the networking you set up in the beginning of the gentoo installation was 224that the networking you set up in the beginning of the gentoo installation was
225just for the installation. Right now you are going to configure networking for 225just for the installation. Right now you are going to configure networking for
226your Gentoo system permanently. 226your Gentoo system permanently.
227</p> 227</p>
228 228
229<p> 229<p>
230All networking information is gathered in <path>/etc/conf.d/net</path>. It uses 230All networking information is gathered in <path>/etc/conf.d/net</path>. It uses
231a straightforward yet not intuitive syntax if you don't know how to setup 231a straightforward yet not intuitive syntax if you don't know how to set up
232networking manually. But don't fear, we'll explain everything :) 232networking manually. But don't fear, we'll explain everything :)
233</p> 233</p>
234 234
235<p> 235<p>
236First open <path>/etc/conf.d/net</path> with your favorite editor (<c>nano</c> 236First open <path>/etc/conf.d/net</path> with your favorite editor (<c>nano</c>
237is used in this example): 237is used in this example):
238</p> 238</p>
239 239
240<pre caption="Opening /etc/conf.d/net for editing"> 240<pre caption="Opening /etc/conf.d/net for editing">
241# <i>nano -w /etc/conf.d/net</i> 241# <i>nano -w /etc/conf.d/net</i>
242</pre> 242</pre>
243 243
244<p> 244<p>
245The first variable you'll find is <c>iface_eth0</c>. It uses the following 245The first variable you'll find is <c>iface_eth0</c>. It uses the following
246syntax: 246syntax:
247</p> 247</p>
248 248
249<pre caption="iface_eth0 syntaxis"> 249<pre caption="iface_eth0 syntaxis">
250iface_eth0="<i>&lt;your ip address&gt;</i> broadcast <i>&lt;your broadcast address&gt;</i> netmask <i>&lt;your netmask&gt;</i>" 250iface_eth0="<i>&lt;your ip address&gt;</i> broadcast <i>&lt;your broadcast address&gt;</i> netmask <i>&lt;your netmask&gt;</i>"
251</pre> 251</pre>
252 252
253<p> 253<p>
254If you use DHCP (automatic IP retrieval), you should just set <c>iface_eth0</c> 254If you use DHCP (automatic IP retrieval), you should just set <c>iface_eth0</c>
255to <c>dhcp</c>. If you use rp-pppoe (e.g. for ADSL), set it to <c>up</c>. 255to <c>dhcp</c>. If you use rp-pppoe (e.g. for ADSL), set it to <c>up</c>.
256If you need to setup your network manually and you're 256If you need to set up your network manually and you're
257not familiar with all the above terms, please read the section on <uri 257not familiar with all the above terms, please read the section on <uri
258link="?part=1&amp;chap=3#network_term">Understanding Network 258link="?part=1&amp;chap=3#network_term">Understanding Network
259Terminology</uri> if you haven't done so already. 259Terminology</uri> if you haven't done so already.
260</p> 260</p>
261 261
262<p> 262<p>
263So let us give three examples; the first one uses DHCP, the second one a static 263So let us give three examples; the first one uses DHCP, the second one a static
264IP (192.168.0.2) with netmask 255.255.255.0, broadcast 192.168.0.255 and 264IP (192.168.0.2) with netmask 255.255.255.0, broadcast 192.168.0.255 and
265gateway 192.168.0.1 while the third one just activates the interface for 265gateway 192.168.0.1 while the third one just activates the interface for
266rp-pppoe usage: 266rp-pppoe usage:
267</p> 267</p>
268 268
269<pre caption="Examples for /etc/conf.d/net"> 269<pre caption="Examples for /etc/conf.d/net">
270<comment>(For DHCP)</comment> 270<comment>(For DHCP)</comment>
271iface_eth0="dhcp" 271iface_eth0="dhcp"

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

  ViewVC Help
Powered by ViewVC 1.1.20