/[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.126 Revision 1.127
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.126 2013/12/17 11:48:58 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.127 2013/12/17 11:52:05 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12You need to edit some important configuration files. In this chapter 12You need to edit some important configuration files. In this chapter
13you receive an overview of these files and an explanation on how to 13you receive an overview of these files and an explanation on how to
14proceed. 14proceed.
15</abstract> 15</abstract>
16 16
17<version>32</version> 17<version>33</version>
18<date>2013-12-17</date> 18<date>2013-12-17</date>
19 19
20<section> 20<section>
21<title>Filesystem Information</title> 21<title>Filesystem Information</title>
22<subsection> 22<subsection>
216You only need a domain if your ISP or network administrator says so, or if you 216You only need a domain if your ISP or network administrator says so, or if you
217have a DNS server but not a DHCP server. You don't need to worry about DNS or 217have a DNS server but not a DHCP server. You don't need to worry about DNS or
218domainnames if your networking is setup for DHCP. 218domainnames if your networking is setup for DHCP.
219</p> 219</p>
220 220
221<note>
222The <path>/etc/conf.d/net</path> file does not exist by default, so you might
223need to create it.
224</note>
225
221<pre caption="Setting the domainname"> 226<pre caption="Setting the domainname">
222# <i>nano -w /etc/conf.d/net</i> 227# <i>nano -w /etc/conf.d/net</i>
223 228
224<comment>(Set the dns_domain variable to your domain name)</comment> 229<comment>(Set the dns_domain variable to your domain name)</comment>
225dns_domain_lo="<i>homenetwork</i>" 230dns_domain_lo="<i>homenetwork</i>"
291this example): 296this example):
292</p> 297</p>
293 298
294<pre caption="Opening /etc/conf.d/net for editing"> 299<pre caption="Opening /etc/conf.d/net for editing">
295# <i>nano -w /etc/conf.d/net</i> 300# <i>nano -w /etc/conf.d/net</i>
296</pre>
297
298<p>
299You will see the following file:
300</p>
301
302<pre caption="Default /etc/conf.d/net">
303# This blank configuration will automatically use DHCP for any net.*
304# scripts in /etc/init.d. To create a more complete configuration,
305# please review /usr/share/doc/netifrc-*/net.example.bz2 and save
306# your configuration in /etc/conf.d/net (this file :]!).
307</pre> 301</pre>
308 302
309<p> 303<p>
310To enter your own IP address, netmask and gateway, you need 304To enter your own IP address, netmask and gateway, you need
311to set both <c>config_eth0</c> and <c>routes_eth0</c>: 305to set both <c>config_eth0</c> and <c>routes_eth0</c>:

Legend:
Removed from v.1.126  
changed lines
  Added in v.1.127

  ViewVC Help
Powered by ViewVC 1.1.20