Difference between pages "User talk:Spectromas" and "Package:WPA Supplicant"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
m (Drobbins moved page Package:Wpa supplicant to Package:WPA Supplicant without leaving a redirect)
 
Line 1: Line 1:
"<spectromas> how do I reply to a User talk: message on there as well?" -- spectromas
{{Ebuild
:: you add colons to indent, then say your reply then sign your name using 4 ~ in a row....  (you can also go to my talk page and respond to me directly, responding on your own page is like an inline thread though...  this is how PAGE talk sections work)  [[User:Threesixes|Threesixes]] ([[User talk:Threesixes|talk]]) 06:37, 26 September 2014 (UTC)
|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.
::: i see you're adding audio stuff...  ill post what i have of qsynth so far.... [[User:Threesixes|Threesixes]] ([[User talk:Threesixes|talk]]) 06:37, 26 September 2014 (UTC)
|CatPkg=net-wireless/wpa_supplicant
::::Thanks for the reply and the help on this, makes perfect sense (I think) now I've had it explained. Yeah I want to add more audio stuff, look forward to see what you add for qsynth, never used it myself. [[User:Spectromas|Spectromas]] ([[User talk:Spectromas|talk]]) 17:33, 26 September 2014 (UTC)
|Maintainer=
:::::No problem...  it gives warnings that i have messages when you hit my talk page, but not when you add to yours....  to find that you had added your reply i used [[Special:RecentChanges]]  our documentation on how to use mediawiki's kinda dispersed between the [[Package:MediaWiki]] page & [[Help:Funtoo_Editing_Guidelines | how to wiki]] on the go menu.  i try to create systems for my self so its easier for me to do tasks so i can forget things and just remember where the answer to the problem i have is located.  basic formula, easier it is to contribute, the more likely we'll have quality contributors, and in turn quality content.  that being said, i think the "how to wiki" page needs some of the content of this talk....  [[User:Threesixes|Threesixes]] ([[User talk:Threesixes|talk]]) 22:27, 26 September 2014 (UTC)
|Homepage=http://hostap.epitest.fi/wpa_supplicant/
:::::: yeah, totally left me notifications you were sending me messages.  (if its important disqus me, it emails and i monitor my email closely, pager style) [[User:Threesixes|Threesixes]] ([[User talk:Threesixes|talk]]) 04:31, 27 September 2014 (UTC)
}}


==moar threesixes==
== Configuration ==
http://www.funtoo.org/index.php?title=Package:Qtractor&diff=6175&oldid=6171
You can configure <code>wpa_supplicant</code> daemon by editing <code>/etc/wpa_supplicant/wpa_supplicant.conf</code>.
*<nowiki>[[Package:Qjackctl|Qjackctl]]</nowiki> old way
{{file|name=/etc/wpa_supplicant/wpa_supplicant.conf|lang=|desc=wpa_supplicant daemon config|body=
*<nowiki>{{package|Qjackctl}}</nowiki> new way
# provide control interface for wpa_cli and wpa_gui frontends
{{package|Qjackctl}}
ctrl_interface=/run/wpa_supplicant


you're now getting the official yelling at about flooding [[Special:RecentChanges | logs]].  a good technique, is to get a text editor going, and build up local documentation once you've checked that no one else has created the article.  once an article is out there, its good practice to copy the entire thing to the text editor, and go over everything.  thanks for your contributions =D
# allow wpa_cli and wpa_gui to update config
update_config=1


:I don't really understand, I made too many edits at once? [[User:Spectromas|Spectromas]] ([[User talk:Spectromas|talk]]) 20:26, 3 October 2014 (UTC)
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 CLI Frontend ==
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>
 
=== Connect to Access Point ===
<console>
>##i## add_network
0
>##i## set_network 0 ssid "SSID"
>##i## set_network 0 psk "passphrase"
>##i## enable_network 0
<2>CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed (reauth) [id=0 id_str=]
</console>
 
=== Save config ===
<console>
>##i## save_config
OK
</console>
 
== Wpa_gui GUI Frontend ==
<code>wpa_gui</code> is simple gui frontend. You can start it by running <code>wpa_gui</code>.
<console>
###i## wpa_gui
</console>
 
== Autoconfigure IP with dhcpcd ==
You can use [[Package:dhcpcd]] to autoconfigure ip address.
<console>
###i## emerge -av dhcpcd
###i## /etc/init.d/dhcpcd start
</console>
 
{{EbuildFooter}}

Revision as of 20:42, October 3, 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

You can configure wpa_supplicant daemon by editing /etc/wpa_supplicant/wpa_supplicant.conf.

   /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 CLI Frontend

You can start cli frontend by running wpa_cli.

root # wpa_cli

Scan Access Points

> scan
OK
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
> 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

Connect to Access Point

> add_network
0
> set_network 0 ssid "SSID"
> set_network 0 psk "passphrase"
> enable_network 0
<2>CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed (reauth) [id=0 id_str=]

Save config

> save_config
OK

Wpa_gui GUI Frontend

wpa_gui is simple gui frontend. You can start it by running wpa_gui.

root # wpa_gui

Autoconfigure IP with dhcpcd

You can use Package:dhcpcd to autoconfigure ip address.

root # emerge -av dhcpcd
root # /etc/init.d/dhcpcd start