/[gentoo]/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml
Gentoo

Diff of /xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.5
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml,v 1.4 2011/08/23 15:12:17 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml,v 1.5 2011/09/21 19:47:55 swift Exp $ -->
3<!DOCTYPE included SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE included SYSTEM "/dtd/guide.dtd">
4 4
5<included> 5<included>
6 6
7<version>4</version> 7<version>5</version>
8<date>2011-08-23</date> 8<date>2011-09-21</date>
9 9
10<section> 10<section>
11<title>Configure the system</title> 11<title>Configure the system</title>
12 12
13<body test="func:keyval('raid+lvm')='no'"> 13<body test="func:keyval('raid+lvm')='no'">
57 57
58<p> 58<p>
59Configure your network in <path>/etc/conf.d/net</path>. Add the <c>net.eth0</c> 59Configure your network in <path>/etc/conf.d/net</path>. Add the <c>net.eth0</c>
60init script to the default run level. If you have multiple NICs, symlink them 60init script to the default run level. If you have multiple NICs, symlink them
61to the <c>net.eth0</c> init script and add them to the default run level as 61to the <c>net.eth0</c> init script and add them to the default run level as
62well. Either edit <path>/etc/conf.d/net</path> with <c>nano</c> or use the 62well. Don't forget to set your hostname too. Either edit
63following commands: 63<path>/etc/conf.d/net</path> and <path>/etc/conf.d/hostname</path> with
64<c>nano</c> or use the following commands:
64</p> 65</p>
65 66
66<pre caption="Configure networking"> 67<pre caption="Configure networking">
67livecd etc # <i>cd init.d</i> 68livecd etc # <i>cd init.d</i>
68livecd init.d # <i>ln -s net.lo net.eth0</i> 69livecd init.d # <i>ln -s net.lo net.eth0</i>
69livecd init.d # <i>cd ../conf.d</i> 70livecd init.d # <i>cd ../conf.d</i>
70livecd conf.d # <i>echo 'config_eth0="192.168.1.10 netmask 255.255.255.0 brd 192.168.1.255"' >> net</i> 71livecd conf.d # <i>echo 'config_eth0="192.168.1.10 netmask 255.255.255.0 brd 192.168.1.255"' >> net</i>
71livecd conf.d # <i>echo 'routes_eth0="default via 192.168.1.1"' >> net</i> 72livecd conf.d # <i>echo 'routes_eth0="default via 192.168.1.1"' >> net</i>
73livecd conf.d # <i>echo 'hostname="myhostname"' > hostname</i>
72livecd conf.d # <i>rc-update add net.eth0 default</i> 74livecd conf.d # <i>rc-update add net.eth0 default</i>
73<comment>(If you compiled your network card driver as a module, add it to /etc/conf.d/modules</comment> 75<comment>(If you compiled your network card driver as a module, add it to /etc/conf.d/modules</comment>
74livecd conf.d # <i>echo 'modules="r8169"' >> /etc/conf.d/modules</i> 76livecd conf.d # <i>echo 'modules="r8169"' >> /etc/conf.d/modules</i>
75<comment>(If you want to reconnect via ssh after you have rebooted your new box)</comment> 77<comment>(If you want to reconnect via ssh after you have rebooted your new box)</comment>
76livecd conf.d # <i>rc-update add sshd default</i> 78livecd conf.d # <i>rc-update add sshd default</i>

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20