Bug#376651: [pkg-wpa-devel] Bug#376651: wrong default wpasupplicant driver (uses wired isntead of wext)

Kel Modderman kelrin at tpg.com.au
Tue Jul 4 07:10:15 UTC 2006


Jacobo221 wrote:
> Package: wpasupplicant
> Version: 0.5.4-1
>
> init_wpa_supplicant() in /etc/network/if-pre-up.d/wpasupplicant should not default to "wired" when $IFACE isn't in /proc/net/wireless' contents because the first time the interface is set up after a boot $IFACE might not yet be in /proc/net/wireless since the wpasupplicant script is run from if-pre-up.d and, therefore, the interface has never yet been set up.
>
> The current result here is taht, when booting uo, the first time i set up the interface, it gets driver "wired". From then on, it gets "wext" (which is what should always be expected).
>
> The solution, of course, is to set "wpa-driver wext", but since the docs say "the default is wext", either the docs are fixed, or the script has to be slightly modified.
>
> Thanks for the good work.
>   

Okay, you have not be the only one to mention this, therefore I've 
removed the check for wireless extensions via /proc/net/wireless. The 
driver type will _always_ be wext when not explicitly provided. Fixed in 
SVN.

Thanks, Kel.




More information about the Pkg-wpa-devel mailing list