| 1 | <?xml version='1.0' encoding='UTF-8'?> |
1 | <?xml version='1.0' encoding='UTF-8'?> |
| 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.64 2005/06/11 18:25:09 fox2mike Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.65 2005/06/11 19:45:37 fox2mike Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <version>2.6</version> |
11 | <version>2.7</version> |
| 12 | <date>2005-06-11</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> |
| 18 | <body> |
18 | <body> |
| 19 | |
19 | |
| 20 | <p> |
20 | <p> |
| 21 | Under Linux, all partitions used by the system must be listed in |
21 | Under Linux, all partitions used by the system must be listed in |
| 22 | <path>/etc/fstab</path>. This file contains the mountpoints of those partitions |
22 | <path>/etc/fstab</path>. This file contains the mountpoints of those partitions |
| 23 | (where they are seen in the file system structure), how they should be mounted |
23 | (where they are seen in the file system structure), how they should be mounted |
| 24 | and with what special options (automatically or not, whether users can mount |
24 | and with what special options (automatically or not, whether users can mount |
| 25 | them or not, etc.) |
25 | them or not, etc.) |
| 26 | </p> |
26 | </p> |
| … | |
… | |
| 209 | # <i>rc-update add domainname default</i> |
209 | # <i>rc-update add domainname default</i> |
| 210 | </pre> |
210 | </pre> |
| 211 | |
211 | |
| 212 | </body> |
212 | </body> |
| 213 | </subsection> |
213 | </subsection> |
| 214 | <subsection> |
214 | <subsection> |
| 215 | <title>Configuring your Network</title> |
215 | <title>Configuring your Network</title> |
| 216 | <body> |
216 | <body> |
| 217 | |
217 | |
| 218 | <p> |
218 | <p> |
| 219 | Before you get that "Hey, we've had that already"-feeling, you should remember |
219 | Before you get that "Hey, we've had that already"-feeling, you should remember |
| 220 | that the networking you set up in the beginning of the gentoo installation was |
220 | that the networking you set up in the beginning of the gentoo installation was |
| 221 | just for the installation. Right now you are going to configure networking for |
221 | just for the installation. Right now you are going to configure networking for |
| 222 | your Gentoo system permanently. |
222 | your Gentoo system permanently. |
| 223 | </p> |
223 | </p> |
|
|
224 | |
|
|
225 | <note> |
|
|
226 | More detailed information about networking, including advanced topics like |
|
|
227 | bonding, bridging, 802.11q VLANs or wireless networking is covered in the <uri |
|
|
228 | link="?part=4">Gentoo Network Configuration</uri> section. |
|
|
229 | </note> |
| 224 | |
230 | |
| 225 | <p> |
231 | <p> |
| 226 | All networking information is gathered in <path>/etc/conf.d/net</path>. It uses |
232 | All networking information is gathered in <path>/etc/conf.d/net</path>. It uses |
| 227 | a straightforward yet not intuitive syntax if you don't know how to set up |
233 | a straightforward yet not intuitive syntax if you don't know how to set up |
| 228 | networking manually. But don't fear, we'll explain everything :) |
234 | networking manually. But don't fear, we'll explain everything :) |
| 229 | </p> |
235 | </p> |
| 230 | |
236 | |
| 231 | <p> |
237 | <p> |
| 232 | First open <path>/etc/conf.d/net</path> with your favorite editor (<c>nano</c> |
238 | First open <path>/etc/conf.d/net</path> with your favorite editor (<c>nano</c> |
| 233 | is used in this example): |
239 | is used in this example): |
| 234 | </p> |
240 | </p> |
| 235 | |
241 | |
| 236 | <pre caption="Opening /etc/conf.d/net for editing"> |
242 | <pre caption="Opening /etc/conf.d/net for editing"> |
| 237 | # <i>nano -w /etc/conf.d/net</i> |
243 | # <i>nano -w /etc/conf.d/net</i> |
| 238 | </pre> |
244 | </pre> |