1 |
nightmorph 10/05/24 20:36:52 |
2 |
|
3 |
Modified: hb-net-wireless.xml |
4 |
Log: |
5 |
Redo the wireless handbook. Wifi on linux has come a long way in the last ten years. I recommended graphical clients as the easiest, fastest way to join wifi networks *before* trying command line tools like wpa_supplicant and wireless-tools. Bug 320567. |
6 |
|
7 |
Revision Changes Path |
8 |
1.17 xml/htdocs/doc/en/handbook/hb-net-wireless.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-net-wireless.xml?rev=1.17&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-net-wireless.xml?rev=1.17&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-net-wireless.xml?r1=1.16&r2=1.17 |
13 |
|
14 |
Index: hb-net-wireless.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-wireless.xml,v |
17 |
retrieving revision 1.16 |
18 |
retrieving revision 1.17 |
19 |
diff -u -r1.16 -r1.17 |
20 |
--- hb-net-wireless.xml 15 Apr 2009 07:28:50 -0000 1.16 |
21 |
+++ hb-net-wireless.xml 24 May 2010 20:36:52 -0000 1.17 |
22 |
@@ -4,38 +4,69 @@ |
23 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
24 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
25 |
|
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-wireless.xml,v 1.16 2009/04/15 07:28:50 nightmorph Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-wireless.xml,v 1.17 2010/05/24 20:36:52 nightmorph Exp $ --> |
28 |
|
29 |
<sections> |
30 |
|
31 |
<abstract> |
32 |
-Wireless isn't straightforward. Hopefully we'll get you working! |
33 |
+Wireless configuration can be tricky. Hopefully we'll get you working! |
34 |
</abstract> |
35 |
|
36 |
-<version>8.1</version> |
37 |
-<date>2009-04-15</date> |
38 |
+<version>9.0</version> |
39 |
+<date>2010-05-24</date> |
40 |
|
41 |
<section> |
42 |
<title>Introduction</title> |
43 |
<body> |
44 |
|
45 |
<p> |
46 |
-Currently we support wireless setup either by <c>wireless-tools</c> or |
47 |
-<c>wpa_supplicant</c>. The important thing to remember is that you configure for |
48 |
-wireless networks on a global basis and not an interface basis. |
49 |
+Wireless networking on Linux is usually pretty straightforward. There are two |
50 |
+ways of configuring wifi: graphical clients, or the command line. |
51 |
</p> |
52 |
|
53 |
<p> |
54 |
-<c>wpa_supplicant</c> is the best choice, but it does not support all drivers. |
55 |
-For a list of supported drivers, <uri |
56 |
+The <e>easiest</e> way is to use a graphical client once you've installed a <uri |
57 |
+link="/doc/en/?catid=desktop">desktop environment</uri>. Most graphical clients, |
58 |
+such as <uri link="http://wicd.sourceforge.net">wicd</uri> and <uri |
59 |
+link="http://www.gnome.org/projects/NetworkManager">NetworkManager</uri>, are |
60 |
+pretty self-explanatory. They offer a handy point-and-click interface that gets |
61 |
+you on a network in just a few seconds. |
62 |
+</p> |
63 |
+ |
64 |
+<note> |
65 |
+<c>wicd</c> offers a command line utility <e>in addition</e> to the main |
66 |
+graphical interface. You can get it by emerging <c>wicd</c> with the |
67 |
+<c>ncurses</c> USE flag set. This <c>wicd-curses</c> utility is particularly |
68 |
+useful for folks who don't use a gtk-based desktop environment, but still want |
69 |
+an easy command line tool that doesn't require hand-editing configuration |
70 |
+files. |
71 |
+</note> |
72 |
+ |
73 |
+<p> |
74 |
+However, if you don't want to use a graphical client, then you can configure |
75 |
+wifi on the command line by editing a few configuration files. This takes a bit |
76 |
+more time to setup, but it also requires the fewest packages to download and |
77 |
+install. Since the graphical clients are mostly self-explanatory (with helpful |
78 |
+screenshots at their homepages), we'll focus on the command line alternatives. |
79 |
+</p> |
80 |
+ |
81 |
+<p> |
82 |
+You can setup wireless networking on the command line by installing |
83 |
+<c>wireless-tools</c> or <c>wpa_supplicant</c>. The important thing to remember |
84 |
+is that you configure wireless networks on a global basis and not an interface |
85 |
+basis. |
86 |
+</p> |
87 |
+ |
88 |
+<p> |
89 |
+<c>wpa_supplicant</c> is the best choice. For a list of supported drivers, <uri |
90 |
link="http://hostap.epitest.fi/wpa_supplicant">read the wpa_supplicant |
91 |
-site</uri>. Also, <c>wpa_supplicant</c> can currently only connect to SSIDs |
92 |
-that you have configured. |
93 |
+site</uri>. |
94 |
</p> |
95 |
|
96 |
<p> |
97 |
<c>wireless-tools</c> supports nearly all cards and drivers, but it cannot |
98 |
-connect to WPA only Access Points. |
99 |
+connect to WPA-only Access Points. If your networks only offer WEP encryption or |
100 |
+are completely open, you may prefer the simplicity of <c>wireless-tools</c>. |
101 |
</p> |
102 |
|
103 |
<warn> |
104 |
@@ -54,8 +85,7 @@ |
105 |
|
106 |
<p> |
107 |
<uri link="http://hostap.epitest.fi/wpa_supplicant">WPA Supplicant</uri> is a |
108 |
-package that allows you to connect to WPA enabled access points. Its setup is |
109 |
-fairly fluid as it is still in beta - however it works fine for the most part. |
110 |
+package that allows you to connect to WPA enabled access points.. |
111 |
</p> |
112 |
|
113 |
<pre caption="Install wpa_supplicant"> |
114 |
@@ -67,6 +97,13 @@ |
115 |
<c>wpa_supplicant</c> to work. |
116 |
</impo> |
117 |
|
118 |
+<note> |
119 |
+Depending on your USE flags, <c>wpa_supplicant</c> can install a graphical |
120 |
+interface written in Qt4, which will integrate nicely with KDE. To get it, run |
121 |
+<c>echo "net-wireless/wpa_supplicant qt4" >> /etc/portage/package.use</c> as |
122 |
+root before emerging <c>wpa_supplicant</c>. |
123 |
+</note> |
124 |
+ |
125 |
<p> |
126 |
Now we have to configure <path>/etc/conf.d/net</path> to so that we prefer |
127 |
<c>wpa_supplicant</c> over <c>wireless-tools</c> (if both are installed, |
128 |
@@ -98,7 +135,7 @@ |
129 |
which ships with <c>wpa_supplicant</c>. |
130 |
</p> |
131 |
|
132 |
-<pre caption="an example /etc/wpa_supplicant/wpa_supplicant.conf"> |
133 |
+<pre caption="An example /etc/wpa_supplicant/wpa_supplicant.conf"> |
134 |
<comment># The below line not be changed otherwise we refuse to work</comment> |
135 |
ctrl_interface=/var/run/wpa_supplicant |