Hi On 2015-02-22, Elliott Mitchell wrote: > It would be helpful if the iw package could implement an ifupdown hook > script similar to the one the wireless-tools package has > [...]
Just to be constructive about this topic, your original question:
iface wlan0 inet dhcp
wpa-ssid MyNetWork
wpa-psk plaintextsecret
respectively
iface wlan0 inet dhcp
wpa-ssid homezone
wpa-psk 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
exists today, provided by the wpasupplicant package.
Further information is provided by
/usr/share/doc/wpasupplicant/README.Debian.gz and the other
documentation and examples in and below that directory. This does
use nl80211 by default (if you're using a mac80211 based kernel
module), but can fall back to wext transparently for legacy wext
based drivers (unless you force a mode explicitly). Equivalent
configuration can be used to configure wpa_supplicant for WEP or
unencrypted networks - or even roaming, if you're looking for a
slightly more sophisticated setup.
Regards
Stefan Lippers-Hollmann
pgppW5d3Xnk2b.pgp
Description: Digitale Signatur von OpenPGP

