/[gentoo]/xml/htdocs/doc/en/handbook/hb-net-modules.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-net-modules.xml

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

Revision 1.24 Revision 1.25
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-net-modules.xml,v 1.24 2007/11/02 20:33:55 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-modules.xml,v 1.25 2009/02/13 04:40:27 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12Gentoo provides you flexible networking - here you are told about choosing 12Gentoo provides you flexible networking - here you are told about choosing
13different DHCP clients, setting up bonding, bridging, VLANs and more. 13different DHCP clients, setting up bonding, bridging, VLANs and more.
14</abstract> 14</abstract>
15 15
16<version>8.3</version> 16<version>8.4</version>
17<date>2007-11-02</date> 17<date>2009-02-12</date>
18 18
19<section> 19<section>
20<title>Network Modules</title> 20<title>Network Modules</title>
21<body> 21<body>
22 22
42<pre caption="Module preference"> 42<pre caption="Module preference">
43<comment># Prefer iproute2 over ifconfig</comment> 43<comment># Prefer iproute2 over ifconfig</comment>
44modules=( "iproute2" ) 44modules=( "iproute2" )
45 45
46<comment># You can also specify other modules for an interface 46<comment># You can also specify other modules for an interface
47# In this case we prefer udhcpc over dhcpcd</comment> 47# In this case we prefer pump over dhcpcd</comment>
48modules_eth0=( "udhcpc" ) 48modules_eth0=( "pump" )
49 49
50<comment># You can also specify which modules not to use - for example you may be 50<comment># You can also specify which modules not to use - for example you may be
51# using a supplicant or linux-wlan-ng to control wireless configuration but 51# using a supplicant or linux-wlan-ng to control wireless configuration but
52# you still want to configure network settings per ESSID associated with.</comment> 52# you still want to configure network settings per ESSID associated with.</comment>
53modules=( "!iwconfig" ) 53modules=( "!iwconfig" )
106other things like wireless, PPP or other things if required before you can use 106other things like wireless, PPP or other things if required before you can use
107DHCP. 107DHCP.
108</p> 108</p>
109 109
110<p> 110<p>
111DHCP can be provided by <c>dhclient</c>, <c>dhcpcd</c>, <c>pump</c> or 111DHCP can be provided by <c>dhclient</c>, <c>dhcpcd</c>, or <c>pump</c>. Each
112<c>udhcpc</c>. Each DHCP module has its pros and cons - here's a quick run down. 112DHCP module has its pros and cons - here's a quick run down.
113</p> 113</p>
114 114
115<table> 115<table>
116<tr> 116<tr>
117 <th>DHCP Module</th> 117 <th>DHCP Module</th>
149 <ti> 149 <ti>
150 No longer maintained upstream, unreliable, especially over modems, cannot 150 No longer maintained upstream, unreliable, especially over modems, cannot
151 get NIS servers from DHCP 151 get NIS servers from DHCP
152 </ti> 152 </ti>
153</tr> 153</tr>
154<tr>
155 <ti><c>udhcpc</c></ti>
156 <ti><c>net-misc/udhcp</c></ti>
157 <ti>
158 Lightweight - smallest DHCP client around, made for embedded systems
159 </ti>
160 <ti>
161 Unproven - no distro uses it by default, cannot define a timeout beyond 3
162 seconds
163 </ti>
164</tr>
165</table> 154</table>
166 155
167<p> 156<p>
168If you have more than one DHCP client installed, you need to specify which one 157If you have more than one DHCP client installed, you need to specify which one
169to use - otherwise we default to <c>dhcpcd</c> if available. 158to use - otherwise we default to <c>dhcpcd</c> if available.
195dhcpcd_eth0="-t 10" <comment># Timeout after 10 seconds</comment> 184dhcpcd_eth0="-t 10" <comment># Timeout after 10 seconds</comment>
196dhcp_eth0="release nodns nontp nonis" <comment># Only get an address</comment> 185dhcp_eth0="release nodns nontp nonis" <comment># Only get an address</comment>
197</pre> 186</pre>
198 187
199<note> 188<note>
200<c>dhcpcd</c>, <c>udhcpc</c> and <c>pump</c> send the current hostname to the 189<c>dhcpcd</c> and <c>pump</c> send the current hostname to the
201DHCP server by default so you don't need to specify this anymore. 190DHCP server by default so you don't need to specify this anymore.
202</note> 191</note>
203 192
204</body> 193</body>
205</section> 194</section>

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

  ViewVC Help
Powered by ViewVC 1.1.20