Command line WiFi configuration on Raspberry

1. Create the file

/boot/wpa_supplicant.conf

2. with content

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=<Insert 2 letter ISO 3166-1 country code here>
network={
ssid="<Name of your wireless LAN>"
psk="<Password for your wireless LAN>"
}

Leave a Reply

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