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.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to