Difference between revisions of "Talk:WPA supplicant"

From ArchWiki
Jump to: navigation, search
m (Reverting to earlier, more lucid edit: rm closed discussion)
(error on page?)
Line 1: Line 1:
  
 +
== Error while trying to associate with network ==
 +
 +
I am trying to associate wpa_supplicant using following command:
 +
<blockquote># wpa_supplicant -B -i interface -c <(wpa_passphrase MYSSID passphrase)</blockquote>
 +
but it produces error.
 +
It seems like configuration info fails to generate properly. For example,
 +
<blockquote>$ echo <(wpa_passphrase MYSSID passphrase)</blockquote>
 +
generates following output:
 +
/dev/fd/63
 +
 +
However,
 +
<blockquote>$ (wpa_passphrase MYSSID passphrase)</blockquote>
 +
gives
 +
<blockquote>network={
 +
 +
ssid="MYSSID"
 +
 +
#psk="passphrase"
 +
 +
psk=59e0d07fa4c7741797a4e394f38a5c321e3bed51d54ad5fcbd3f84bc7415d73d
 +
}</blockquote>
 +
which is expected output.
 +
 +
So, how is it possiblee to feed wpa_passphrase output to wpa_supplicant correctly? --[[User:Rimas|Rimas]] ([[User talk:Rimas|talk]]) 09:28, 27 September 2014 (UTC)

Revision as of 09:28, 27 September 2014

Error while trying to associate with network

I am trying to associate wpa_supplicant using following command:

# wpa_supplicant -B -i interface -c <(wpa_passphrase MYSSID passphrase)

but it produces error. It seems like configuration info fails to generate properly. For example,

$ echo <(wpa_passphrase MYSSID passphrase)

generates following output: /dev/fd/63

However,

$ (wpa_passphrase MYSSID passphrase)

gives

network={

ssid="MYSSID"

#psk="passphrase"

psk=59e0d07fa4c7741797a4e394f38a5c321e3bed51d54ad5fcbd3f84bc7415d73d

}

which is expected output.

So, how is it possiblee to feed wpa_passphrase output to wpa_supplicant correctly? --Rimas (talk) 09:28, 27 September 2014 (UTC)