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

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

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

Revision 1.2 Revision 1.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.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.0 -->
6 6
7<sections> 7<sections>
8 8
9<version>1.0</version> 9<version>1.1</version>
10<date>2005-06-06</date> 10<date>2005-06-14</date>
11 11
12<section> 12<section>
13<title>Introduction</title> 13<title>Introduction</title>
14<body> 14<body>
15 15
56<pre caption="Install wpa_supplicant"> 56<pre caption="Install wpa_supplicant">
57# <i>emerge net-wireless/wpa_supplicant</i> 57# <i>emerge net-wireless/wpa_supplicant</i>
58</pre> 58</pre>
59 59
60<impo> 60<impo>
61You have to have CONFIG_PACKET enabled in your kernel for wpa_supplicant to work 61You have to have CONFIG_PACKET enabled in your kernel for wpa_supplicant to
62work.
62</impo> 63</impo>
63 64
64<p> 65<p>
65Now we have to configure <path>/etc/conf.d/net</path> to so that we prefer 66Now we have to configure <path>/etc/conf.d/net</path> to so that we prefer
66wpa_supplicant over wireless-tools (if both are installed, wireless-tools 67wpa_supplicant over wireless-tools (if both are installed, wireless-tools
78 79
79<note> 80<note>
80If you're using the host-ap driver you will need to put the card in Managed 81If you're using the host-ap driver you will need to put the card in Managed
81mode before it can be used with wpa_supplicant correctly. You can use 82mode before it can be used with wpa_supplicant correctly. You can use
82<e>iwconfig_eth0="mode managed"</e> to achieve this in 83<e>iwconfig_eth0="mode managed"</e> to achieve this in
83<c>/etc/conf.d/net</c>. 84<path>/etc/conf.d/net</path>.
84</note> 85</note>
85 86
86<p> 87<p>
87That was simple wasn't it? However, we still have to configure wpa_supplicant 88That was simple wasn't it? However, we still have to configure wpa_supplicant
88itself which is a bit more tricky depending on how secure the Access Points 89itself which is a bit more tricky depending on how secure the Access Points
203<path>/etc/conf.d/wireless</path> this guide recommends you store them in 204<path>/etc/conf.d/wireless</path> this guide recommends you store them in
204<path>/etc/conf.d/net</path> 205<path>/etc/conf.d/net</path>
205</note> 206</note>
206 207
207<impo> 208<impo>
208You <b>will</b> need to consult the 209You <e>will</e> need to consult the
209<uri link="?part=3&amp;chap=2#variable_name">variable name</uri> 210<uri link="?part=3&amp;chap=2#variable_name">variable name</uri>
210documentation. 211documentation.
211</impo> 212</impo>
212 213
213<pre caption="sample iwconfig setup in /etc/conf.d/net"> 214<pre caption="sample iwconfig setup in /etc/conf.d/net">
337</pre> 338</pre>
338 339
339<impo> 340<impo>
340The below is taken verbatim from the BSD wavelan documentation found at 341The below is taken verbatim from the BSD wavelan documentation found at
341<uri link="http://www.netbsd.org/Documentation/network/wavelan.html"> 342<uri link="http://www.netbsd.org/Documentation/network/wavelan.html">
342the NetBSD documentation</uri><br/><br/> 343the NetBSD documentation</uri>.
343There are 14 channels possible; We are told that channels 1-11 are legal for 344There are 14 channels possible; We are told that channels 1-11 are legal for
344North America, channels 1-13 for most of Europe, channels 10-13 for France, 345North America, channels 1-13 for most of Europe, channels 10-13 for France,
345and only channel 14 for Japan. If in doubt, please refer to the documentation 346and only channel 14 for Japan. If in doubt, please refer to the documentation
346that came with your card or access point. Make sure that the channel you 347that came with your card or access point. Make sure that the channel you
347select is the same channel your access point (or the other card in an ad-hoc 348select is the same channel your access point (or the other card in an ad-hoc
397<tr> 398<tr>
398 <ti>associate_test_eth0</ti> 399 <ti>associate_test_eth0</ti>
399 <ti>MAC</ti> 400 <ti>MAC</ti>
400 <ti> 401 <ti>
401 Some drivers do not reset the MAC address associated with to an 402 Some drivers do not reset the MAC address associated with to an
402 invalid one when they loose or attempt to associate.<br/> 403 invalid one when they loose or attempt to associate.
403 Some drivers do not reset the quality level when whey loose 404 Some drivers do not reset the quality level when they loose
404 or attempt assocciation.<br/> 405 or attempt assocciation.
405 Valid settings are MAC, quality and all. 406 Valid settings are MAC, quality and all.
406 </ti> 407 </ti>
407</tr> 408</tr>
408<tr> 409<tr>
409 <ti>scan_mode_eth0</ti> 410 <ti>scan_mode_eth0</ti>
415</tr> 416</tr>
416<tr> 417<tr>
417 <ti>iwpriv_scan_pre_eth0</ti> 418 <ti>iwpriv_scan_pre_eth0</ti>
418 <ti/> 419 <ti/>
419 <ti> 420 <ti>
420 Sends some iwpriv commands to the interface before scanning<br/> 421 Sends some iwpriv commands to the interface before scanning.
421 See the iwpriv man page for more details 422 See the iwpriv man page for more details
422 </ti> 423 </ti>
423</tr> 424</tr>
424<tr> 425<tr>
425 <ti>iwpriv_scan_post_eth0</ti> 426 <ti>iwpriv_scan_post_eth0</ti>
426 <ti/> 427 <ti/>
427 <ti> 428 <ti>
428 Sends some iwpriv commands to the interface after scanning<br/> 429 Sends some iwpriv commands to the interface after scanning.
429 See the iwpriv man page for more details 430 See the iwpriv man page for more details
430 </ti> 431 </ti>
431</tr> 432</tr>
432</table> 433</table>
433 434
447<note> 448<note>
448These work if you're using WPA Supplicant or Wireless Tools. 449These work if you're using WPA Supplicant or Wireless Tools.
449</note> 450</note>
450 451
451<impo> 452<impo>
452You <b>will</b> need to consult the 453You <e>will</e> need to consult the
453<uri link="?part=3&amp;chap=2#variable_name">variable name</uri> 454<uri link="?part=3&amp;chap=2#variable_name">variable name</uri>
454documentation. 455documentation.
455</impo> 456</impo>
456 457
457<pre caption="override network settings per ESSID"> 458<pre caption="override network settings per ESSID">

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20