Skip to content

Instantly share code, notes, and snippets.

@witnessmenow
Created June 14, 2018 15:46
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save witnessmenow/4313cb1d06115eeeec1e1fa1732f37e1 to your computer and use it in GitHub Desktop.
Save witnessmenow/4313cb1d06115eeeec1e1fa1732f37e1 to your computer and use it in GitHub Desktop.
Example wpa_supplicant.conf file for headless raspberry pi setup
country=ie
update_config=1
ctrl_interface=/var/run/wpa_supplicant
network={
scan_ssid=1
ssid="ssid"
psk="password"
}
@GtaMasterYT
Copy link

a

@GtaMasterYT
Copy link

b

@GtaMasterYT
Copy link

c

@GtaMasterYT
Copy link

d

@GtaMasterYT
Copy link

ie is a contry?

@GtaMasterYT
Copy link

ie = internet explorer

@MaDOS
Copy link

MaDOS commented Sep 8, 2020

ie = internet explorer

It's ireland
https://en.wikipedia.org/wiki/ISO_3166-2:IE

(for anyone stumbling upon this and wondering too)

@Edward1906-github
Copy link

Wondering why country is needed for wifi connection??

@witnessmenow
Copy link
Author

Different countries have different wifi regulations so maybe it's enabling/disabling certain channels or something, I don't actually know

Copy link

ghost commented Jun 17, 2021

Thank you!

@Slintypapi
Copy link

would this code be able to work in the carribean? Would really lovesome assistance with this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment