I have a raspberry pi 3b+ which I want to connect to two seperate networks. 

I have an existing ethernet connection which works fine, and i am able to SSH/VNC to the pi over this network. 

I have cobbled together a configuration from other questions on here, to attempt to get the WiFi up. My configuration is as follows:

WPA\_SUPPLICANT.CONF

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

network={
    ssid = "MYSSID"
    scan_ssid = 1
    psk="MYPASS"
    id_str="WIFI ACCESS"
    #prioirty=5
}

```

/etc/netowrk/interfaces

```
auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet static
address w.x.y.z
netmask 255.255.240.0

auto wlan0
allow-hotplug eth0
iface wlan0 inet static
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
address a.b.c.d
netmask 255.255.240.0
broadcast a.b.c.254
gateway a.b.c.254

iface default inet dhcp

```

I created a file in /etc/default named ifplugd

/etc/default/ifplugd

```
INTERFACES="eth0"
HOTPLUG_INTERFACES="eth0"
ARGS="-q -f -u0 -d10 -w -I"
SUSPEND_ACTION="stop"

```

Edited my rc.local file to ensure wlan starts up

/etc/rc.local

```
# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
  printf "My IP address is %s\n" "$_IP"
fi

#disable the ifplugd eth0
sudo ifplugd eth0 --kill
sudo ifplugd wlan0

exit 0

```

I rebooted my pi and no WLAN was found. I don't know if there's some config i've missed/gotten wrong, or if it's an incorrect p/w for the SSID.