Difference between pages "Package:Bash" and "Package:WPA Supplicant"
(Difference between pages)
Jump to navigation
Jump to search
(Created page with "{{Ebuild |Summary=wpa_supplicant is a cross-platform supplicant with support for open, WEP, WPA and WPA2. It handles scanning, connection and automatic reconnect to access poi...") |
|||
Line 1: | Line 1: | ||
{{Ebuild | {{Ebuild | ||
|Summary= | |Summary=wpa_supplicant is a cross-platform supplicant with support for open, WEP, WPA and WPA2. It handles scanning, connection and automatic reconnect to access points. wpa_supplicant has <code>wpa_cli</code> and <code>wpa_gui</code> frontends and <code>wpa_supplicant</code> daemon. Configuration is stored on <code>/etc/wpa_supplicant/wpa_supplicant.conf</code>. | ||
|CatPkg= | |CatPkg=net-wireless/wpa_supplicant | ||
|Maintainer= | |Maintainer= | ||
|Homepage=http://hostap.epitest.fi/wpa_supplicant/ | |||
}} | }} | ||
== Configuration == | |||
{{file|name=/etc/wpa_supplicant/wpa_supplicant.conf|lang=|desc=wpa_supplicant daemon config|body= | |||
# provide control interface for wpa_cli and wpa_gui frontends | |||
ctrl_interface=/run/wpa_supplicant | |||
# allow wpa_cli and wpa_gui to update config | |||
update_config=1 | |||
== | network={ | ||
ssid="SSID" | |||
psk="passphrace" | |||
} | |||
network={ | |||
ssid="SSID2" | |||
key_mgmt=NONE | |||
} | |||
}} | |||
== Daemon == | |||
Start daemon with [[openrc]]. | |||
<console> | |||
###i##/etc/init.d/wpa_supplicant start | |||
</console> | |||
You can also add it to default runlevel. | |||
<console> | |||
###i##rc-update add wpa_supplicant default | |||
</console> | |||
The daemon can work independently or you can use wpa_cli and wpa_gui frontends. You can also alter configs with frontends. | |||
== wpa_cli == | |||
You can start cli frontend by running <code>wpa_cli</code>. | |||
<console> | |||
###i## $ wpa_cli | |||
</console> | |||
=== Scan Access Points === | |||
<console> | |||
== | ##i##scan | ||
OK | |||
<3>CTRL-EVENT-SCAN-STARTED | |||
<3>CTRL-EVENT-SCAN-RESULTS | |||
##i##scan_results | |||
< | bssid / frequency / signal level / flags / ssid | ||
50:32:75:ee:b6:fb 2462 -41 [WPA2-PSK-CCMP][ESS] AndroidAP | |||
00:3a:98:99:12:f3 2412 -71 [WPA2-EAP-CCMP][ESS] wEKSOTE | |||
00:3a:98:99:12:f0 2412 -71 [WPA2-EAP-CCMP][ESS] wULAPPA | |||
00:23:33:a2:7d:14 2462 -85 [WPA2-EAP-CCMP][ESS] SaitaBYOD | |||
00:3a:98:99:12:f1 2412 -70 [ESS] saitaOpen | |||
</console> | |||
== wpa_gui == | |||
<code>wpa_gui</code> is simple gui frontend. You can start it by running <code>wpa_gui</code>. | |||
{{EbuildFooter}} | {{EbuildFooter}} |
Revision as of 12:50, October 2, 2014
WPA Supplicant
Tip
We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.
Configuration
/etc/wpa_supplicant/wpa_supplicant.conf
- wpa_supplicant daemon config# provide control interface for wpa_cli and wpa_gui frontends ctrl_interface=/run/wpa_supplicant # allow wpa_cli and wpa_gui to update config update_config=1 network={ ssid="SSID" psk="passphrace" } network={ ssid="SSID2" key_mgmt=NONE }
Daemon
Start daemon with openrc.
root #/etc/init.d/wpa_supplicant start
You can also add it to default runlevel.
root #rc-update add wpa_supplicant default
The daemon can work independently or you can use wpa_cli and wpa_gui frontends. You can also alter configs with frontends.
wpa_cli
You can start cli frontend by running wpa_cli
.
root # $ wpa_cli
Scan Access Points
root ##i##scan OK <3>CTRL-EVENT-SCAN-STARTED <3>CTRL-EVENT-SCAN-RESULTS root ##i##scan_results bssid / frequency / signal level / flags / ssid 50:32:75:ee:b6:fb 2462 -41 [WPA2-PSK-CCMP][ESS] AndroidAP 00:3a:98:99:12:f3 2412 -71 [WPA2-EAP-CCMP][ESS] wEKSOTE 00:3a:98:99:12:f0 2412 -71 [WPA2-EAP-CCMP][ESS] wULAPPA 00:23:33:a2:7d:14 2462 -85 [WPA2-EAP-CCMP][ESS] SaitaBYOD 00:3a:98:99:12:f1 2412 -70 [ESS] saitaOpen
wpa_gui
wpa_gui
is simple gui frontend. You can start it by running wpa_gui
.