/[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.55 Revision 1.58
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.55 2005/01/04 18:11:20 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.58 2005/04/08 12:03:44 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>1.51</version> 11<version>2.1</version>
12<date>2004-12-26</date> 12<date>2005-04-07</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>
154<pre caption="Adding openprom filesystem to /etc/fstab"> 154<pre caption="Adding openprom filesystem to /etc/fstab">
155none /proc/openprom openpromfs defaults 0 0 155none /proc/openprom openpromfs defaults 0 0
156</pre> 156</pre>
157 157
158<p> 158<p>
159If you need <c>usbfs</c>, add the following line to <path>/etc/fstab</path>:
160</p>
161
162<pre caption="Adding usbfs filesystem to /etc/fstab">
163none /proc/bus/usb usbfs defaults 0 0
164</pre>
165
166<p>
167Double-check your <path>/etc/fstab</path>, save and quit to continue. 159Double-check your <path>/etc/fstab</path>, save and quit to continue.
168</p> 160</p>
169 161
170</body> 162</body>
171</subsection> 163</subsection>
242</p> 234</p>
243 235
244<pre caption="Opening /etc/conf.d/net for editing"> 236<pre caption="Opening /etc/conf.d/net for editing">
245# <i>nano -w /etc/conf.d/net</i> 237# <i>nano -w /etc/conf.d/net</i>
246</pre> 238</pre>
239
240<!-- Old baselayout - current stable -->
247 241
248<p> 242<p>
249The first variable you'll find is <c>iface_eth0</c>. It uses the following 243The first variable you'll find is <c>iface_eth0</c>. It uses the following
250syntax: 244syntax:
251</p> 245</p>
294If you have several network interfaces, create extra <c>iface_eth</c> variables, 288If you have several network interfaces, create extra <c>iface_eth</c> variables,
295like <c>iface_eth1</c>, <c>iface_eth2</c> etc. The <c>gateway</c> variable 289like <c>iface_eth1</c>, <c>iface_eth2</c> etc. The <c>gateway</c> variable
296shouldn't be reproduced as you can only set one gateway per computer. 290shouldn't be reproduced as you can only set one gateway per computer.
297</p> 291</p>
298 292
293<!-- New baselayout - current testing
294
295<p>
296The first variable you'll find is called <c>config_eth0</c>. As you can probably
297imagine, this variable configured the eth0 network interface. If the interface
298needs to automatically obtain an IP through DHCP, you should set it like so:
299</p>
300
301<pre caption="Automatically obtaining an IP for eth0">
302config_eth0=( "dhcp" )
303</pre>
304
305<p>
306However, if you have to enter your own IP address, netmask and gateway, you need
307to set both <c>config_eth0</c> and <c>routes_eth0</c>:
308</p>
309
310<pre caption="Manually setting IP information for eth0">
311config_eth0=( "192.168.0.2 netmask 255.255.255.0" )
312routes_eth0=( "default gw 192.168.0.1" )
313</pre>
314
315<p>
316If you have several network interfaces repeat the above steps for
317<c>config_eth1</c>, <c>config_eth2</c>, etc.
318</p>
319
320-->
321
299<p> 322<p>
300Now save the configuration and exit to continue. 323Now save the configuration and exit to continue.
301</p> 324</p>
302 325
303</body> 326</body>

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.58

  ViewVC Help
Powered by ViewVC 1.1.20