How to add a WIFI connection settings without WIFI actually being there

Sometimes I need to set up a Raspberry Pi and configure it to connect to a WIFI network.  Sometimes that network is not available at the time.  I know the network name and password in advance.

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
network={
scan_ssid=1
ssid= "<wifi name>"
psk="<password>"
}

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>