Skip to content

asparatu/raspberrypi-wpa-supplicant.conf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi Wifi Configuration File

Help you to setup a wpa supplicant configuration file for Raspbian Stretch or later on new headless Rasbian installation.

Getting Started

These will be step-by-step instruction on how to create the configuration file on any OS and Rasbian installation.

Prerequisites

Git or Git for Windows needs to be install on the pc. You can download a copy from Git Official Website.

How to use

  1. Run the following command in command prompt or terminal window:
git clone https://github.com/asparatu/raspberrypi-wpa-supplicant.conf.git
  1. Move into the folder
cd raspberrypi-wpa-supplicant.conf
  1. Edit the configuration file
Linux: nano wpa_supplicant.conf
Windows: notepad wpa_supplicant.conf
  1. Edit country to your two letter ISO Code. If you do not know yours, check countrycode.org or keep the default of US

  2. Edit the Wifi SSID and PSK to your Wifi Information.

ssid="YOUR-SSID"
psk="wpa_passphrase"

Note: If using clear text password make sure you keep the quotes. If you use a hash of the password, you do not need to have quotes.

  1. Save the file and copy the file to the Boot directory on the microSD card.
  2. Optional: To enable SSH Server on boot, you need to copy the ssh file to the root of the microSD card.

How to connect to Raspberry Pi

You can connect to the Raspberry Pi by typing ssh pi@raspberrypi.local or ssh pi@(ip address) at the command prompt or terminal window and default password is raspberry

Authors

Shane Saunders - Initial work - asparatu

License

This project is licensed under the MIT License - see the LICENSE.md file for details