By default, /etc/network/interfaces is set to look at the settings for wlan0 in /etc/wpa_supplicant/wpa_supplicant.conf. So that's where you will have to set them . I am not very familiar with its syntax though, so you may want to look at man wpa_supplicant or some online resources.