Adding wifi dongle to BrewPi

so I have everything up and running and id like to be able to monitor my Spark from a wireless connection. Instead of hard wiring to the Raspberry Pi. Ive plugged in an edimax wireless dongle to my Pi but cannot get it to grab an IP address from my router. I have another one running (raspberry Pints) that is working just fine. I’ve swapped dongles and no luck.
these are my interfaces and wpa-Supplicant.conf files

INTERFACES

auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet manual

auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

iface default inet manual

auto wlan1
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

WPA_Supplicant

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
ssid="My SSID"proto=WPA2-PSK
key_mgmt=WPA2-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=“mypassword”
}

Any help would be greatly appreciated

Brian

@buercky try changing the “manual” to “dhcp” on whichever interface you’re trying to use (wlan0 or wlan1) Most people hard code it so they know what the IP will be, but I do mine via DHCP and assigning fixed addresses based on MAC address.

Here’s my current configuration (DHCP assigned static address tied to the MAC address of my wireless dongle):

pi@brewpidev:/etc/network $ cat interfaces

interfaces(5) file used by ifup(8) and ifdown(8)

Please note that this file is written to be used with dhcpcd

For static IP, consult /etc/dhcpcd.conf and ‘man dhcpcd.conf’

Include files from /etc/network/interfaces.d:

source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

iface eth0 inet manual

auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.con

Make sure your own SSID & SSID passwords are correct for your wireless network:

pi@brewpidev:/etc/network $ sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
ssid="MY_SSID"
psk="MY_SSID_PASSWORD"
key_mgmt=WPA-PSK
}

Good Luck!