[a130a69] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY wpa_supplicant-download-http
|
---|
[4c869cdd] | 8 | "http://hostap.epitest.fi/releases/wpa_supplicant-&wpa_supplicant-version;.tar.gz">
|
---|
| 9 | <!ENTITY wpa_supplicant-download-ftp " ">
|
---|
[b91aa96] | 10 | <!ENTITY wpa_supplicant-md5sum "96ff75c3a514f1f324560a2376f13110">
|
---|
[cf193634] | 11 | <!ENTITY wpa_supplicant-size "2.5 MB">
|
---|
[b91aa96] | 12 | <!ENTITY wpa_supplicant-buildsize "31 MB">
|
---|
| 13 | <!ENTITY wpa_supplicant-time "0.4 SBU (includes optional gui)">
|
---|
[a130a69] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="wpa_supplicant" xreflabel="wpa_supplicant-&wpa_supplicant-version;">
|
---|
| 17 | <?dbhtml filename="wpa_supplicant.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
[34a2d053] | 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
[a130a69] | 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>wpa_supplicant-&wpa_supplicant-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="wpa_supplicant">
|
---|
| 27 | <primary sortas="a-wpa_supplicant">wpa_supplicant</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
[4c869cdd] | 31 | <title>Introduction to WPA Supplicant</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
| 34 | <application>WPA Supplicant</application> is a Wi-Fi Protected Access
|
---|
| 35 | (WPA) client and IEEE 802.1X supplicant. It implements WPA key negotiation
|
---|
| 36 | with a WPA Authenticator and Extensible Authentication Protocol (EAP)
|
---|
| 37 | authentication with an Authentication Server. In addition, it controls the
|
---|
| 38 | roaming and IEEE 802.11 authentication/association of the wireless LAN
|
---|
| 39 | driver. This is useful for connecting to a password protected wireless
|
---|
| 40 | access point.
|
---|
| 41 | </para>
|
---|
[a130a69] | 42 |
|
---|
[d8aa38f0] | 43 | &lfs79_checked;
|
---|
[5603a81] | 44 |
|
---|
[a130a69] | 45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 46 | <itemizedlist spacing="compact">
|
---|
| 47 | <listitem>
|
---|
[4c869cdd] | 48 | <para>
|
---|
| 49 | Download (HTTP): <ulink url="&wpa_supplicant-download-http;"/>
|
---|
| 50 | </para>
|
---|
[a130a69] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[4c869cdd] | 53 | <para>
|
---|
| 54 | Download (FTP): <ulink url="&wpa_supplicant-download-ftp;"/>
|
---|
| 55 | </para>
|
---|
[a130a69] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[4c869cdd] | 58 | <para>
|
---|
| 59 | Download MD5 sum: &wpa_supplicant-md5sum;
|
---|
| 60 | </para>
|
---|
[a130a69] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[4c869cdd] | 63 | <para>
|
---|
| 64 | Download size: &wpa_supplicant-size;
|
---|
| 65 | </para>
|
---|
[a130a69] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[4c869cdd] | 68 | <para>
|
---|
| 69 | Estimated disk space required: &wpa_supplicant-buildsize;
|
---|
| 70 | </para>
|
---|
[a130a69] | 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
[4c869cdd] | 73 | <para>
|
---|
| 74 | Estimated build time: &wpa_supplicant-time;
|
---|
| 75 | </para>
|
---|
[a130a69] | 76 | </listitem>
|
---|
| 77 | </itemizedlist>
|
---|
[4c869cdd] | 78 |
|
---|
| 79 | <bridgehead renderas="sect3">WPA Supplicant Dependencies</bridgehead>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 82 | <para role="recommended">
|
---|
| 83 | <xref linkend="libnl"/> and
|
---|
| 84 | <xref linkend="openssl"/>
|
---|
| 85 | </para>
|
---|
[a130a69] | 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[26c1bdd] | 88 | <para role="optional">
|
---|
[b91aa96] | 89 | <xref linkend="dbus"/>,
|
---|
| 90 | <xref linkend="libxml2"/>, and
|
---|
[7af92fe5] | 91 | <xref linkend="qt4"/>
|
---|
[26c1bdd] | 92 | </para>
|
---|
[a130a69] | 93 |
|
---|
| 94 | <para condition="html" role="usernotes">User Notes:
|
---|
[4c869cdd] | 95 | <ulink url="&blfs-wiki;/wpa_supplicant"/>
|
---|
| 96 | </para>
|
---|
[8fa167c] | 97 |
|
---|
[a130a69] | 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="kernel" id="wpa_supplicant-kernel">
|
---|
| 101 | <title>Kernel Configuration</title>
|
---|
| 102 |
|
---|
[4c869cdd] | 103 | <para>
|
---|
[8fa167c] | 104 | Enable the following options in the kernel configuration as well as
|
---|
| 105 | specific device drivers for your hardware and recompile the kernel if
|
---|
| 106 | necessary:
|
---|
[4c869cdd] | 107 | </para>
|
---|
[a130a69] | 108 |
|
---|
[ac38e9dc] | 109 | <screen><literal>[*] Networking support ---> [CONFIG_NET]
|
---|
| 110 | [*] Wireless ---> [CONFIG_WIRELESS]
|
---|
| 111 | <*/M> cfg80211 - wireless configuration API [CONFIG_CFG80211]
|
---|
| 112 | [*] cfg80211 wireless extensions compatibility [CONFIG_CFG80211_WEXT]
|
---|
| 113 | <*/M> Generic IEEE 802.11 Networking Stack (mac80211) [CONFIG_MAC80211]
|
---|
| 114 | Device Drivers --->
|
---|
| 115 | [*] Network device support ---> [CONFIG_NETDEVICES]
|
---|
| 116 | [*] Wireless LAN ---> [CONFIG_WLAN]</literal></screen>
|
---|
[a130a69] | 117 |
|
---|
[4c869cdd] | 118 | <para>
|
---|
[ac38e9dc] | 119 | Open the submenu and select the options that support your hardware:
|
---|
[0d7900a] | 120 | <command>lspci</command> from <xref linkend="pciutils"/> can be used to
|
---|
[4c869cdd] | 121 | view your hardware configuration.
|
---|
| 122 | </para>
|
---|
[a130a69] | 123 |
|
---|
| 124 | <indexterm zone="wpa_supplicant wpa_supplicant-kernel">
|
---|
| 125 | <primary sortas="d-wpa_supplicant">wpa_supplicant</primary>
|
---|
| 126 | </indexterm>
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="installation">
|
---|
[4c869cdd] | 130 | <title>Installation of WPA Supplicant</title>
|
---|
| 131 |
|
---|
| 132 | <para>
|
---|
| 133 | First you will need to create an initial configuration file for the
|
---|
| 134 | build process. You can read <filename>wpa_supplicant/README</filename>
|
---|
| 135 | and <filename>wpa_supplicant/defconfig</filename> for the explanation
|
---|
| 136 | of the following options as well as other options that can be used.
|
---|
| 137 | Create a build configuration file that should work for standard WiFi
|
---|
| 138 | setups by running the following command:
|
---|
| 139 | </para>
|
---|
[a130a69] | 140 |
|
---|
[4c869cdd] | 141 | <screen><userinput>cat > wpa_supplicant/.config << "EOF"
|
---|
[8fa167c] | 142 | <literal>CONFIG_BACKEND=file
|
---|
[4c869cdd] | 143 | CONFIG_CTRL_IFACE=y
|
---|
[8cce479c] | 144 | CONFIG_DEBUG_FILE=y
|
---|
| 145 | CONFIG_DEBUG_SYSLOG=y
|
---|
| 146 | CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
|
---|
[4c869cdd] | 147 | CONFIG_DRIVER_NL80211=y
|
---|
[a130a69] | 148 | CONFIG_DRIVER_WEXT=y
|
---|
[4c869cdd] | 149 | CONFIG_DRIVER_WIRED=y
|
---|
[a130a69] | 150 | CONFIG_EAP_GTC=y
|
---|
| 151 | CONFIG_EAP_LEAP=y
|
---|
| 152 | CONFIG_EAP_MD5=y
|
---|
| 153 | CONFIG_EAP_MSCHAPV2=y
|
---|
| 154 | CONFIG_EAP_OTP=y
|
---|
| 155 | CONFIG_EAP_PEAP=y
|
---|
| 156 | CONFIG_EAP_TLS=y
|
---|
| 157 | CONFIG_EAP_TTLS=y
|
---|
[4c869cdd] | 158 | CONFIG_IEEE8021X_EAPOL=y
|
---|
| 159 | CONFIG_IPV6=y
|
---|
| 160 | CONFIG_LIBNL32=y
|
---|
[a130a69] | 161 | CONFIG_PEERKEY=y
|
---|
| 162 | CONFIG_PKCS12=y
|
---|
| 163 | CONFIG_READLINE=y
|
---|
[4c869cdd] | 164 | CONFIG_SMARTCARD=y
|
---|
| 165 | CONFIG_WPS=y
|
---|
[8fa167c] | 166 | CFLAGS += -I/usr/include/libnl3</literal>
|
---|
[4c869cdd] | 167 | EOF</userinput></screen>
|
---|
| 168 |
|
---|
| 169 | <para>
|
---|
| 170 | If you wish to use <application>WPA Supplicant</application> with
|
---|
[7e9d2b38] | 171 | <xref linkend="NetworkManager"/>, add the required options to
|
---|
| 172 | the <application>WPA Supplicant</application> build configuration
|
---|
| 173 | file by running the following command:
|
---|
[4c869cdd] | 174 | </para>
|
---|
[26c1bdd] | 175 |
|
---|
[4c869cdd] | 176 | <screen><userinput>cat >> wpa_supplicant/.config << "EOF"
|
---|
[8fa167c] | 177 | <literal>CONFIG_CTRL_IFACE_DBUS=y
|
---|
[4c869cdd] | 178 | CONFIG_CTRL_IFACE_DBUS_NEW=y
|
---|
[8fa167c] | 179 | CONFIG_CTRL_IFACE_DBUS_INTRO=y</literal>
|
---|
[4c869cdd] | 180 | EOF</userinput></screen>
|
---|
[a130a69] | 181 |
|
---|
[4c869cdd] | 182 | <para>
|
---|
| 183 | Install <application>WPA Supplicant</application> by running the
|
---|
| 184 | following commands:
|
---|
| 185 | </para>
|
---|
[a130a69] | 186 |
|
---|
[4c869cdd] | 187 | <screen><userinput>cd wpa_supplicant &&
|
---|
| 188 | make BINDIR=/sbin LIBDIR=/lib</userinput></screen>
|
---|
[a130a69] | 189 |
|
---|
[8cce479c] | 190 | <para>
|
---|
[7af92fe5] | 191 | If you have installed <xref linkend="qt4"/> and wish to build
|
---|
[2946338a] | 192 | the <application>WPA Supplicant</application> GUI program, run
|
---|
[8cce479c] | 193 | the following commands:
|
---|
| 194 | </para>
|
---|
| 195 |
|
---|
| 196 | <screen><userinput>pushd wpa_gui-qt4 &&
|
---|
[b91aa96] | 197 | qmake wpa_gui.pro &&
|
---|
[8cce479c] | 198 | make &&
|
---|
| 199 | popd</userinput></screen>
|
---|
| 200 |
|
---|
[4c869cdd] | 201 | <para>
|
---|
| 202 | This package does not come with a test suite.
|
---|
| 203 | </para>
|
---|
[a130a69] | 204 |
|
---|
[4c869cdd] | 205 | <para>
|
---|
[2946338a] | 206 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
[4c869cdd] | 207 | </para>
|
---|
[a130a69] | 208 |
|
---|
[97a30d62] | 209 | <screen role="root"><userinput>install -v -m755 wpa_{cli,passphrase,supplicant} /sbin/ &&
|
---|
| 210 | install -v -m644 doc/docbook/wpa_supplicant.conf.5 /usr/share/man/man5/ &&
|
---|
| 211 | install -v -m644 doc/docbook/wpa_{cli,passphrase,supplicant}.8 /usr/share/man/man8/</userinput></screen>
|
---|
[a130a69] | 212 |
|
---|
[7e9d2b38] | 213 | <para>
|
---|
| 214 | Install the <application>systemd</application> support files by
|
---|
| 215 | running the following command as the <systemitem
|
---|
| 216 | class="username">root</systemitem> user:
|
---|
| 217 | </para>
|
---|
| 218 |
|
---|
| 219 | <screen role="root"><userinput>install -v -m644 systemd/*.service /lib/systemd/system/</userinput></screen>
|
---|
| 220 |
|
---|
[4c869cdd] | 221 | <para>
|
---|
| 222 | If you have built <application>WPA Supplicant</application> with
|
---|
| 223 | <application>D-Bus</application> support, you will need to install
|
---|
| 224 | <application>D-Bus</application> configuration files. Install them
|
---|
| 225 | by running the following commands as the
|
---|
| 226 | <systemitem class="username">root</systemitem> user:
|
---|
| 227 | </para>
|
---|
[a130a69] | 228 |
|
---|
[4c869cdd] | 229 | <screen role="root"><userinput>install -v -m644 dbus/fi.{epitest.hostap.WPASupplicant,w1.wpa_supplicant1}.service \
|
---|
[97a30d62] | 230 | /usr/share/dbus-1/system-services/ &&
|
---|
[2946338a] | 231 | install -v -m644 dbus/dbus-wpa_supplicant.conf \
|
---|
| 232 | /etc/dbus-1/system.d/wpa_supplicant.conf</userinput></screen>
|
---|
[a130a69] | 233 |
|
---|
[7e9d2b38] | 234 | <para>
|
---|
| 235 | Additionally, enable the <filename>wpa_supplicant.service</filename> so that
|
---|
| 236 | <application>systemd</application> can properly activate the
|
---|
[7d511f08] | 237 | <application>D-Bus</application> service. Note that the
|
---|
| 238 | per-connection service and the D-Bus service cannot be enabled
|
---|
| 239 | at the same time. Run the following command as the
|
---|
[7e9d2b38] | 240 | <systemitem class="username">root</systemitem> user:
|
---|
| 241 | </para>
|
---|
| 242 |
|
---|
| 243 | <screen role="root"><userinput>systemctl enable wpa_supplicant</userinput></screen>
|
---|
| 244 |
|
---|
[8cce479c] | 245 | <para>
|
---|
[2946338a] | 246 | If you have built the <application>WPA Supplicant</application> GUI
|
---|
[8cce479c] | 247 | program, install it by running the following commands as the
|
---|
| 248 | <systemitem class="username">root</systemitem> user:
|
---|
| 249 | </para>
|
---|
| 250 |
|
---|
[97a30d62] | 251 | <screen role="root"><userinput>install -v -m755 wpa_gui-qt4/wpa_gui /usr/bin/ &&
|
---|
| 252 | install -v -m644 doc/docbook/wpa_gui.8 /usr/share/man/man8/ &&
|
---|
| 253 | install -v -m644 wpa_gui-qt4/wpa_gui.desktop /usr/share/applications/ &&
|
---|
[2946338a] | 254 | install -v -m644 wpa_gui-qt4/icons/wpa_gui.svg /usr/share/pixmaps/</userinput></screen>
|
---|
[8cce479c] | 255 |
|
---|
[4c869cdd] | 256 | <note>
|
---|
| 257 | <para>
|
---|
[2946338a] | 258 | You will need to restart the system <application>D-Bus</application> daemon
|
---|
| 259 | before you can use the <application>WPA Supplicant</application>
|
---|
[325113f8] | 260 | <application>D-Bus</application> interface.
|
---|
[4c869cdd] | 261 | </para>
|
---|
| 262 | </note>
|
---|
[a130a69] | 263 |
|
---|
[2946338a] | 264 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 265 | href="../../xincludes/update-desktop-database.xml"/>
|
---|
[97a30d62] | 266 |
|
---|
[a130a69] | 267 | </sect2>
|
---|
| 268 |
|
---|
| 269 | <sect2 role="configuration">
|
---|
| 270 | <title>Configuring wpa_supplicant</title>
|
---|
| 271 |
|
---|
| 272 | <sect3 id="wpa_supplicant-config">
|
---|
| 273 | <title>Config File</title>
|
---|
[97a30d62] | 274 |
|
---|
| 275 | <para>
|
---|
[7e9d2b38] | 276 | <filename>/etc/wpa_supplicant/wpa_supplicant-*.conf</filename>
|
---|
[97a30d62] | 277 | </para>
|
---|
[a130a69] | 278 |
|
---|
| 279 | <indexterm zone="wpa_supplicant wpa_supplicant-config">
|
---|
| 280 | <primary
|
---|
[7e9d2b38] | 281 | sortas="e-etc-wpa_supplicant-wpa_supplicant-star.conf">/etc/wpa_supplicant/wpa_supplicant-*.conf</primary>
|
---|
[a130a69] | 282 | </indexterm>
|
---|
[97a30d62] | 283 |
|
---|
[a130a69] | 284 | </sect3>
|
---|
| 285 |
|
---|
| 286 | <sect3>
|
---|
| 287 | <title>Configuration Information</title>
|
---|
| 288 |
|
---|
[7e9d2b38] | 289 | <warning>
|
---|
| 290 | <para>
|
---|
| 291 | You need to replace <replaceable>wlan0</replaceable> with
|
---|
| 292 | the correct wireless interface name in the commands below.
|
---|
| 293 | </para>
|
---|
| 294 | </warning>
|
---|
| 295 |
|
---|
[4c869cdd] | 296 | <para>
|
---|
[2946338a] | 297 | To connect to an access point that uses a password, you need to put
|
---|
[97a30d62] | 298 | the pre-shared key in <filename>
|
---|
[7e9d2b38] | 299 | /etc/wpa_supplicant/wpa_supplicant-<replaceable>wlan0</replaceable>.conf</filename>.
|
---|
[97a30d62] | 300 | SSID is the string that the access point/router transmits to
|
---|
| 301 | identify itself. Run the following command as the
|
---|
[4c869cdd] | 302 | <systemitem class="username">root</systemitem> user:
|
---|
| 303 | </para>
|
---|
[a130a69] | 304 |
|
---|
[7e9d2b38] | 305 | <screen role="root"><userinput>install -v -dm755 /etc/wpa_supplicant &&
|
---|
| 306 | wpa_passphrase <replaceable>SSID</replaceable> <replaceable>SECRET_PASSWORD</replaceable> > /etc/wpa_supplicant/wpa_supplicant-<replaceable>wlan0</replaceable>.conf</userinput></screen>
|
---|
[a130a69] | 307 |
|
---|
[4c869cdd] | 308 | <para>
|
---|
[7e9d2b38] | 309 | <filename>/etc/wpa_supplicant/wpa_supplicant-<replaceable>wlan0</replaceable>.conf
|
---|
[97a30d62] | 310 | </filename> can hold the details of several access points. When
|
---|
| 311 | <command>wpa_supplicant</command> is started, it will scan for the
|
---|
| 312 | SSIDs it can see and choose the appropriate password to connect.
|
---|
[4c869cdd] | 313 | </para>
|
---|
[a130a69] | 314 |
|
---|
[4c869cdd] | 315 | <para>
|
---|
| 316 | If you want to connect to an access point that isn't password
|
---|
[97a30d62] | 317 | protected, put an entry like this in <filename>
|
---|
[7e9d2b38] | 318 | /etc/wpa_supplicant/wpa_supplicant-<replaceable>wlan0</replaceable>.conf</filename>.
|
---|
[97a30d62] | 319 | Replace "Some-SSID" with the SSID of the access point/router.
|
---|
[4c869cdd] | 320 | </para>
|
---|
[a130a69] | 321 |
|
---|
| 322 | <screen>network={
|
---|
| 323 | ssid="<replaceable>Some-SSID</replaceable>"
|
---|
| 324 | key_mgmt=NONE
|
---|
| 325 | }</screen>
|
---|
| 326 |
|
---|
[4c869cdd] | 327 | <para>
|
---|
| 328 | There are many options that you could use to tweak how you connect
|
---|
| 329 | to each access point. They are described in some detail in the
|
---|
| 330 | <filename>wpa_supplicant/wpa_supplicant.conf</filename> file in the
|
---|
| 331 | source tree.
|
---|
| 332 | </para>
|
---|
[a130a69] | 333 |
|
---|
[97a30d62] | 334 | </sect3>
|
---|
| 335 |
|
---|
| 336 | <sect3>
|
---|
| 337 | <title>Connecting to an Access Point</title>
|
---|
| 338 |
|
---|
[7e9d2b38] | 339 | <para>
|
---|
| 340 | There are 3 types of <application>systemd</application> units
|
---|
| 341 | that were installed:
|
---|
[97a30d62] | 342 | </para>
|
---|
| 343 |
|
---|
[7e9d2b38] | 344 | <itemizedlist spacing="compact">
|
---|
| 345 | <listitem>
|
---|
| 346 | <para>
|
---|
| 347 | wpa_supplicant@.service
|
---|
| 348 | </para>
|
---|
| 349 | </listitem>
|
---|
| 350 | <listitem>
|
---|
| 351 | <para>
|
---|
| 352 | wpa_supplicant-nl80211@.service
|
---|
| 353 | </para>
|
---|
| 354 | </listitem>
|
---|
| 355 | <listitem>
|
---|
| 356 | <para>
|
---|
| 357 | wpa_supplicant-wired@.service
|
---|
| 358 | </para>
|
---|
| 359 | </listitem>
|
---|
| 360 | </itemizedlist>
|
---|
[97a30d62] | 361 |
|
---|
[4c869cdd] | 362 | <para>
|
---|
[7e9d2b38] | 363 | The only difference between 3 of them is what driver
|
---|
| 364 | is used for connecting (-D option). The first one uses
|
---|
| 365 | the default driver, the second one uses the nl80211
|
---|
| 366 | driver and the third one uses the wired driver.
|
---|
[4c869cdd] | 367 | </para>
|
---|
[a130a69] | 368 |
|
---|
[97a30d62] | 369 | <para>
|
---|
[7e9d2b38] | 370 | You can connect to the wireless access point by
|
---|
| 371 | running the following command as the
|
---|
[97a30d62] | 372 | <systemitem class="username">root</systemitem> user:
|
---|
| 373 | </para>
|
---|
| 374 |
|
---|
[7e9d2b38] | 375 | <screen role="root"><userinput>systemctl start wpa_supplicant@<replaceable>wlan0</replaceable></userinput></screen>
|
---|
[a130a69] | 376 |
|
---|
[4c869cdd] | 377 | <para>
|
---|
[7e9d2b38] | 378 | To connect to the wireless access point at
|
---|
| 379 | boot, simply enable the appropriate
|
---|
| 380 | <command>wpa_supplicant</command> service
|
---|
| 381 | by running the following command as the
|
---|
[4c869cdd] | 382 | <systemitem class="username">root</systemitem> user:
|
---|
| 383 | </para>
|
---|
[a130a69] | 384 |
|
---|
[7e9d2b38] | 385 | <screen role="root"><userinput>systemctl enable wpa_supplicant@<replaceable>wlan0</replaceable></userinput></screen>
|
---|
[a130a69] | 386 |
|
---|
[4c869cdd] | 387 | <para>
|
---|
[7e9d2b38] | 388 | Depending on your setup, you can replace the
|
---|
| 389 | <filename>wpa_supplicant@.service</filename>
|
---|
| 390 | with any other listed above.
|
---|
[4c869cdd] | 391 | </para>
|
---|
[a130a69] | 392 |
|
---|
[97a30d62] | 393 | <para>
|
---|
[7e9d2b38] | 394 | To assign a network address to your wireless interface,
|
---|
| 395 | consult the <ulink
|
---|
[035e5d56] | 396 | url="&lfs-root;/chapter07/network.html">General Network Configuration</ulink>
|
---|
[7e9d2b38] | 397 | page in LFS.
|
---|
[97a30d62] | 398 | </para>
|
---|
[a130a69] | 399 |
|
---|
| 400 | </sect3>
|
---|
[97a30d62] | 401 |
|
---|
[a130a69] | 402 | </sect2>
|
---|
| 403 |
|
---|
| 404 | <sect2 role="content">
|
---|
| 405 | <title>Contents</title>
|
---|
| 406 |
|
---|
| 407 | <segmentedlist>
|
---|
| 408 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 409 | <segtitle>Installed Libraries</segtitle>
|
---|
| 410 | <segtitle>Installed Directories</segtitle>
|
---|
[0d7900a] | 411 |
|
---|
[a130a69] | 412 | <seglistitem>
|
---|
[8cce479c] | 413 | <seg>
|
---|
[b91aa96] | 414 | wpa_gui, wpa_supplicant, wpa_passphrase and wpa_cli
|
---|
[8cce479c] | 415 | </seg>
|
---|
[c3c56b2] | 416 | <seg>
|
---|
| 417 | None
|
---|
| 418 | </seg>
|
---|
| 419 | <seg>
|
---|
| 420 | None
|
---|
| 421 | </seg>
|
---|
[a130a69] | 422 | </seglistitem>
|
---|
| 423 | </segmentedlist>
|
---|
| 424 |
|
---|
| 425 | <variablelist>
|
---|
| 426 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 427 | <?dbfo list-presentation="list"?>
|
---|
| 428 | <?dbhtml list-presentation="table"?>
|
---|
| 429 |
|
---|
[8cce479c] | 430 | <varlistentry id="wpa_gui">
|
---|
| 431 | <term><command>wpa_gui</command></term>
|
---|
| 432 | <listitem>
|
---|
| 433 | <para>
|
---|
| 434 | is a graphical frontend program for interacting with
|
---|
| 435 | <application>wpa_supplicant</application>.
|
---|
| 436 | </para>
|
---|
| 437 | <indexterm zone="wpa_supplicant wpa_gui">
|
---|
| 438 | <primary sortas="b-wpa_gui">wpa_gui</primary>
|
---|
| 439 | </indexterm>
|
---|
| 440 | </listitem>
|
---|
| 441 | </varlistentry>
|
---|
| 442 |
|
---|
[a130a69] | 443 | <varlistentry id="wpa_supplicant-prog">
|
---|
| 444 | <term><command>wpa_supplicant</command></term>
|
---|
| 445 | <listitem>
|
---|
[4c869cdd] | 446 | <para>
|
---|
| 447 | is a daemon that can connect to a password protected wireless
|
---|
| 448 | access point.
|
---|
| 449 | </para>
|
---|
[a130a69] | 450 | <indexterm zone="wpa_supplicant wpa_supplicant-prog">
|
---|
| 451 | <primary sortas="b-wpa_supplicant">wpa_supplicant</primary>
|
---|
| 452 | </indexterm>
|
---|
| 453 | </listitem>
|
---|
| 454 | </varlistentry>
|
---|
| 455 |
|
---|
| 456 | <varlistentry id="wpa_passphrase">
|
---|
| 457 | <term><command>wpa_passphrase</command></term>
|
---|
| 458 | <listitem>
|
---|
[4c869cdd] | 459 | <para>
|
---|
| 460 | takes an SSID and a password and generates a simple
|
---|
| 461 | configuration that <command>wpa_supplicant</command> can
|
---|
| 462 | understand.
|
---|
| 463 | </para>
|
---|
[a130a69] | 464 | <indexterm zone="wpa_supplicant wpa_passphrase">
|
---|
| 465 | <primary sortas="b-wpa_passphrase">wpa_passphrase</primary>
|
---|
| 466 | </indexterm>
|
---|
| 467 | </listitem>
|
---|
| 468 | </varlistentry>
|
---|
| 469 |
|
---|
| 470 | <varlistentry id="wpa_cli">
|
---|
| 471 | <term><command>wpa_cli</command></term>
|
---|
| 472 | <listitem>
|
---|
[4c869cdd] | 473 | <para>
|
---|
| 474 | is a command line interface used to control a running
|
---|
| 475 | <command>wpa_supplicant</command> daemon.
|
---|
| 476 | </para>
|
---|
[a130a69] | 477 | <indexterm zone="wpa_supplicant wpa_cli">
|
---|
| 478 | <primary sortas="b-wpa_cli">wpa_cli</primary>
|
---|
| 479 | </indexterm>
|
---|
| 480 | </listitem>
|
---|
| 481 | </varlistentry>
|
---|
[4c869cdd] | 482 |
|
---|
[a130a69] | 483 | </variablelist>
|
---|
[4c869cdd] | 484 |
|
---|
[a130a69] | 485 | </sect2>
|
---|
[4c869cdd] | 486 |
|
---|
[a130a69] | 487 | </sect1>
|
---|