Am Mon, 28 Nov 2016 18:56:01 GMT
schrieb tsu2 <tsu2@no-mx.forums.microfocus.com>:
> Akoellh;2802084 Wrote:
> > Am Mon, 28 Nov 2016 01:36:02 GMT
>
> Reading those forum threads, I see plenty wrong in those discussions so
> IMO those threads have limited usefulness…
Yeah, too bad my comments were ignored, but why does that make the thread
less useful?
> 1. The wpa_supplicant.service file should not be touched, for the most
> part it should be used only to run the wpa_supplicant app and should
> not be used for network configurations.
>
> 2. The posts about using wpa_passphrase are at times incorrect.
> wpa_passphrase is only a utility to hash the passphrase and is used
> completely separately (and infrequently) so that the passphrase is
> stored securely because whether hashed or not, the passphrase is stored
> as text in the network connection stanza of wpa_supplicant.config for
> that network connection.
>
That’s exactly what I wrote in that thread, so again, if it is less useful, why
do you repeat it?
> wpa_supplicant can be invoked directly or through another app.
> AFAIK there is no substitute for wpa_supplicant (and its parts) and so
> wpa_supplicant will function the same way no matter whether wicked or
> Network Manager invokes it, or invoked directly.
>
Well, that’s just not correct, it makes a big difference if you run it manually
or if you invoke it via dbus, as I also stated in that thread.
If you use a framework calling wpa_supplicant via dbus, you should not add any
network credentials at all and …
> But yes, as described in those threads and here, it can be difficult to
> correctly edit wpa_supplicant.config manually which is why I described
> my method for generating a template for the network connections stanzas.
that’s wrong again, there is no way to do that, when using dbus (as NWM and
wicked do) any credentials/network settings in wpa_supplicant.conf are -at best-
being ignored.
So in fact it is VERY easy to edit the wpa_supplicant.conf when using
wicked/NWM.
The easiest and least error-prone way to do that is NOT to touch the
wap_supplicant.conf at all.
> It’s far more convenient to just use Network Manager (better than Wicked
> if you connect to more than one network) so all those config edits are
> created automatically.
Yes, that’s exactly what I wrote in that thread, maybe it is not being ignored
this time.
AK
–
Never attribute to malice that which can be adequately explained by stupidity.
(R.J. Hanlon)