Wpa_supplicant in /etc/network/interfaces and Karmic Koala 9.10

Most of you know that Karmic Koala 9.10 released on the 29th October.  I noticed during my test run with Alpha’s and Beta’s of Karmic that my use of wpa_supplicant as described in this article didn’t work any more.

The lines in /etc/network/interfaces have changed from:

wpa-conf /etc/wpa_supplicant.conf
wpa-driver wext

to:

pre-up wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B
post-down killall -q wpa_supplicant

Also if you where using :

wpa_supplicant -Dndiswrapper -iwlan0 -c/etc/wpa_supplicant.conf -B

then this now has to be changed to: