[pkg-wpa-devel] cleaning up our suggested modes of use
Kel Modderman
kelrin at tpg.com.au
Wed Aug 2 11:41:17 UTC 2006
On Wednesday 02 August 2006 21:30, Reinhard Tartler wrote:
> >
> > How are the WPA settings from /e/n/i then moved to the wpa_supplicant
> > code? Or doesn't /etc/network/if-pre-up.d/wpasupplicant count as "hand
> > crafted"?
>
> This one was provided by the package, so they don't cound as 'hand
> crafted'. What Kel is reffering to is ppl copying the action script
> skeleton from /usr/share/doc/wpasupplicant/examples and customising it.
>
> Kel, I will review your package in a few hours.
>
> I don't mind if we don't document it properly, but I don't like to drop
> support for custom action scripts completley. I'd like to keep the
> option for potential packages to provide their own action scripts, e.g.
> as hook for their own roaming logic.
No, I disagree:
Roaming logic is implemented in wpa_action. If we need to provide a plugin
system for allowing "different" logic it must be implemented with nice code.
conf_wpa_supplicant() was a god almighty ugly hack, I do not want to see it
back. We can do better than that, in fact, I have already provided a far
superior alternative (in my opinion, and in the opinion of those that I've
talked to).
>
> > Is roaming mode via wpa-roam/wpa_action available in Debian unstable
> > now? Where can I find docs about how to use it?
>
> docs will come soon [tm].
Docs are being written now. See my recent responses to this list.
>
> this is a feature with the 0.5 branch of wpasupplicant. Example use:
>
> auto ath0
> iface ath0 inet manual
> wpa-driver madwifi
> wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf.local
>
> iface default inet manual
> up /usr/sbin/whereami --hint ath0
>
> iface olymp inet manual
> up /usr/sbin/whereami --hint ath0
>
> you need some id_str="olymp" stanzas in your wpa_supplicant.conf.local,
> though.
This is now documented.
Thanks, Kel.
More information about the Pkg-wpa-devel
mailing list