Wireless configuration using /etc/network/interfaces documentation

Solution 1:

I'm googling for the same thing, here is what I found.

Arguments prefixed with "wpa-",which are used for wpa_supplicant Managed Mode,are documented in /usr/share/doc/wpasupplicant/README.Debian.gz.

Arguments in form of wireless-<function> are equivalent to iwconfig <interface> <function> <value>, so the usage can refer to iwconfig(8) manpages.

Solution 2:

Change accordingly

auto wlan0
iface wlan0 inet dhcp
    wpa-ssid myssid
    wpa-psk a1b2c3d4e5