| … | |
… | |
| 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.62 2005/06/09 07:16:39 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.64 2005/06/11 18:25:09 fox2mike Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <version>2.4</version> |
11 | <version>2.6</version> |
| 12 | <date>2005-06-09</date> |
12 | <date>2005-06-11</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> |
| … | |
… | |
| 238 | </pre> |
238 | </pre> |
| 239 | |
239 | |
| 240 | <p> |
240 | <p> |
| 241 | The first variable you'll find is called <c>config_eth0</c>. As you can probably |
241 | The first variable you'll find is called <c>config_eth0</c>. As you can probably |
| 242 | imagine, this variable configured the eth0 network interface. If the interface |
242 | imagine, this variable configured the eth0 network interface. If the interface |
| 243 | needs to automatically obtain an IP through DHCP, you should set it like so: |
243 | needs to automatically obtain an IP address through DHCP, you should set it |
|
|
244 | like so: |
| 244 | </p> |
245 | </p> |
| 245 | |
246 | |
| 246 | <pre caption="Automatically obtaining an IP for eth0"> |
247 | <pre caption="Automatically obtaining an IP address for eth0"> |
| 247 | config_eth0=( "dhcp" ) |
248 | config_eth0=( "dhcp" ) |
| 248 | </pre> |
249 | </pre> |
| 249 | |
250 | |
| 250 | <p> |
251 | <p> |
| 251 | However, if you have to enter your own IP address, netmask and gateway, you need |
252 | However, if you have to enter your own IP address, netmask and gateway, you need |