I am using a raspberry pi 3 with eth0 connected to a router with no internet and wlan0 connected to a router with internet access. i want both the interfaces up. but right now only eth0 is up. I followed this link
as suggested my interfaces file looks like this
auto lo iface lo inet loopback auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.1.97 netmask 255.255.255.0 auto wlan0 allow-hotplug wlan0 iface wlan0 inet static wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf address 192.168.1.115 netmask 255.255.255.0 broadcast 192.168.1.255 gateway 192.168.1.1 iface default inet dhcp
And /etc/default/ifplugd looks like this
INTERFACES="eth0" HOTPLUG_INTERFACES="eth0" ARGS="-q -f -u0 -d10 -w -I" SUSPEND_ACTION="stop"
After changing this I also entered these commands
sudo /etc/default/ifplugd eth0 --kill sudo ifup wlan0
This was working for Raspberry pi 1 but it is not working for Raspberry pi 3. Please help