| … | |
… | |
| 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.23 2004/02/08 09:54:39 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.28 2004/03/07 12:01:02 swift Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | <section> |
10 | <section> |
| 11 | <title>Filesystem Information</title> |
11 | <title>Filesystem Information</title> |
| 12 | <subsection> |
12 | <subsection> |
| … | |
… | |
| 257 | gateway 192.168.0.1 while the third one just activates the interface for |
257 | gateway 192.168.0.1 while the third one just activates the interface for |
| 258 | rp-pppoe usage: |
258 | rp-pppoe usage: |
| 259 | </p> |
259 | </p> |
| 260 | |
260 | |
| 261 | <pre caption="Examples for /etc/conf.d/net"> |
261 | <pre caption="Examples for /etc/conf.d/net"> |
| 262 | <comment>(For DHCP:)</comment> |
262 | <comment>(For DHCP)</comment> |
| 263 | iface_eth0="dhcp" |
263 | iface_eth0="dhcp" |
| 264 | |
264 | |
| 265 | <comment>(For static IP:)</comment> |
265 | <comment>(For static IP)</comment> |
| 266 | iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0" |
266 | iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0" |
| 267 | gateway="eth0/192.168.0.1" |
267 | gateway="eth0/192.168.0.1" |
| 268 | |
268 | |
| 269 | <comment>(For rp-pppoe:)</comment> |
269 | <comment>(For rp-pppoe)</comment> |
| 270 | iface_eth0="up" |
270 | iface_eth0="up" |
| 271 | </pre> |
271 | </pre> |
| 272 | |
272 | |
| 273 | <p> |
273 | <p> |
| 274 | If you have several network interfaces, create extra <c>iface_eth</c> variables, |
274 | If you have several network interfaces, create extra <c>iface_eth</c> variables, |
| … | |
… | |
| 338 | If your system is the only system (or the nameservers handle all name |
338 | If your system is the only system (or the nameservers handle all name |
| 339 | resolution) a single line is sufficient: |
339 | resolution) a single line is sufficient: |
| 340 | </p> |
340 | </p> |
| 341 | |
341 | |
| 342 | <pre caption="/etc/hosts for lonely or fully integrated PCs"> |
342 | <pre caption="/etc/hosts for lonely or fully integrated PCs"> |
| 343 | 127.0.0.1 localhost tux |
343 | 127.0.0.1 localhost |
| 344 | </pre> |
344 | </pre> |
| 345 | |
345 | |
| 346 | <p> |
346 | <p> |
| 347 | Save and exit the editor to continue. |
347 | Save and exit the editor to continue. |
| 348 | </p> |
348 | </p> |
| … | |
… | |
| 362 | <p> |
362 | <p> |
| 363 | PCMCIA-users should first install the <c>pcmcia-cs</c> package: |
363 | PCMCIA-users should first install the <c>pcmcia-cs</c> package: |
| 364 | </p> |
364 | </p> |
| 365 | |
365 | |
| 366 | <pre caption="Installing pcmcia-cs"> |
366 | <pre caption="Installing pcmcia-cs"> |
| 367 | # <i>emerge --usepkg pcmcia-cs</i> |
367 | # <i>emerge pcmcia-cs</i> |
| 368 | </pre> |
368 | </pre> |
| 369 | |
369 | |
| 370 | <p> |
370 | <p> |
| 371 | When <c>pcmcia-cs</c> is installed, add <c>pcmcia</c> to the <e>default</e> |
371 | When <c>pcmcia-cs</c> is installed, add <c>pcmcia</c> to the <e>default</e> |
| 372 | runlevel: |
372 | runlevel: |