[pkg-wpa-devel] Driver autodetection

Kel Modderman kelrin at tpg.com.au
Tue Apr 4 20:47:39 UTC 2006


Reinhard Tartler wrote:
> Beginning with wpasupplicant_0.4.8-1, hotplug support is now only a
> matter of calling 'ifup $IFACE', which I don't think can be handled
> within the wpasupplicant package. So I'm retitling this bug to indicate
> that we should focus on the driver detection here.
>
> hotplug has been deprecated in favor by udev. Here is how I envision how
> driver detection could work with udev:
>
> The current ifupdown.sh, which is called by ifupdown, falls back to
> driver 'wext', if nothing else is specified. Before that, it checks for
> the existance of a file called /etc/wpa_supplicant/driver.$IFACE. I
> think udev should create such a file with the driver backend which
> wpasupplicant should use for this interface. (it doesn't really need to
> be in /etc, I'm happy to check another file, say,
> /var/lib/wpa_supplicant/driver.$IFACE)
>
> We could easily ship such a udev rule in the wpasupplicant package. The
> advantage of this approach is that the user can easily override the
> autodetection supplying a parameter 'wpa-driver' in
> /etc/network/interfaces'.
>
> Any udev guru around who could write such a script?
>
>   

I _really_ do not see how this can work. Furthermore, as more and more 
drivers become wext compliant (even madwifi is making progress to do 
this) this sort of work becomes more and more pointless.

Thanks, Kel.



More information about the Pkg-wpa-devel mailing list