Skip to content

Instantly share code, notes, and snippets.

@willcharlton
Created February 28, 2019 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willcharlton/45eab2a00bcd383c28d60575105f66e6 to your computer and use it in GitHub Desktop.
Save willcharlton/45eab2a00bcd383c28d60575105f66e6 to your computer and use it in GitHub Desktop.
The `/etc/network/interfaces` file of a raspberry pi to configure `wlan0` to use the `wpa_supplicant.conf` file.
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment