/[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.118 Revision 1.122
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.118 2013/02/23 18:38:22 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.122 2013/07/24 20:40:40 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>24</version> 17<version>28</version>
18<date>2013-02-23</date> 18<date>2013-07-24</date>
19 19
20<section> 20<section>
21<title>Filesystem Information</title> 21<title>Filesystem Information</title>
22<subsection> 22<subsection>
23<title>What is fstab?</title> 23<title>What is fstab?</title>
296<p> 296<p>
297To enter your own IP address, netmask and gateway, you need 297To enter your own IP address, netmask and gateway, you need
298to set both <c>config_eth0</c> and <c>routes_eth0</c>: 298to set both <c>config_eth0</c> and <c>routes_eth0</c>:
299</p> 299</p>
300 300
301<note>
302This assumes that your network interface will be called eth0. This is, however,
303very system dependent. It is recommended to assume that the interface is named
304the same as the interface name when booted from the installation media <e>if</e>
305the installation media is sufficiently recent. More information can be found in
306<uri link="?part=4&amp;chap=2#doc_chap4">Network Interface Naming</uri>.
307</note>
308
301<pre caption="Manually setting IP information for eth0"> 309<pre caption="Manually setting IP information for eth0">
302config_eth0="192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255" 310config_eth0="192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255"
303routes_eth0="default via 192.168.0.1" 311routes_eth0="default via 192.168.0.1"
304</pre> 312</pre>
305 313
343# <i>rc-update add net.eth0 default</i> 351# <i>rc-update add net.eth0 default</i>
344</pre> 352</pre>
345 353
346<p> 354<p>
347If you have several network interfaces, you need to create the appropriate 355If you have several network interfaces, you need to create the appropriate
348<path>net.eth1</path>, <path>net.eth2</path> etc. just like you did with 356<path>net.*</path> files just like you did with <path>net.eth0</path>.
349<path>net.eth0</path>. 357</p>
358
350</p> 359<p>
360If you later find out the assumption about the network interface name (which we
361currently document as eth0) was wrong, then
362</p>
363
364<ol>
365<li>
366update the <path>/etc/conf.d/net</path> file with the correct interface name (like enp3s0
367instead of eth0),
368</li>
369<li>
370create new symbolic link (like <path>/etc/init.d/net.enp3s0</path>),
371</li>
372<li>
373remove the old symbolic link (<c>rm /etc/init.d/net.eth0</c>),
374</li>
375<li>
376add the new one to the default runlevel, and
377</li>
378<li>
379remove the old one using <c>rc-update del net.eth0 default</c>.
380</li>
381</ol>
351 382
352</body> 383</body>
353</subsection> 384</subsection>
354<subsection> 385<subsection>
355<title>Writing Down Network Information</title> 386<title>Writing Down Network Information</title>
544<pre caption="Reload shell environment"> 575<pre caption="Reload shell environment">
545# env-update &amp;&amp; source /etc/profile 576# env-update &amp;&amp; source /etc/profile
546</pre> 577</pre>
547 578
548<p> 579<p>
549We made a full <uri link="../guide-localization.xml#doc_chap3">Localization 580We made a full <uri link="https://wiki.gentoo.org/wiki/Localization/HOWTO">Localization
550Guide</uri> to help you through this process. You can also read our detailed 581Guide</uri> to help you through this process. You can also read the detailed
551<uri link="../utf-8.xml#doc_chap2">UTF-8 Guide</uri> for very specific 582<uri link="https://wiki.gentoo.org/wiki/UTF-8">UTF-8 article</uri> for very specific
552informations to enable UTF-8 on your system. 583informations to enable UTF-8 on your system.
553</p> 584</p>
554 585
555<p test="not(func:keyval('arch')='PPC64')"> 586<p test="not(func:keyval('arch')='PPC64')">
556Please continue with <uri link="?part=1&amp;chap=9">Installing Necessary System 587Please continue with <uri link="?part=1&amp;chap=9">Installing Necessary System

Legend:
Removed from v.1.118  
changed lines
  Added in v.1.122

  ViewVC Help
Powered by ViewVC 1.1.20