Currently my /etc/network/interfaces looks like this:
auto lo
iface lo inet loopback
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid %WIFINAME%
wpa-psk %WIFIPASSWORD%
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.xx.xxx
netmask 255.255.255.0
gateway 0.0.0.0
Obviously, "wpa-ssid %WIFINAME%", "wpa-psk %WIFIPASSWORD%", and "address 192.168.xx.xxx" are properly filled out, my wifi works without the ethernet cable plugged in, but when the cable is in, the wifi no longer works and I can't get a connection.
My goal is to have a static IP address on eth0 to run synergy on between my laptop and the pi, and then have all other traffic go through wifi using the Edimax dongle by default, how would I go about doing that?