Skip to content

Instantly share code, notes, and snippets.

@bgunebakan
Last active May 8, 2016 21:18
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 bgunebakan/7a88c9c4e579de705a4522535af6a354 to your computer and use it in GitHub Desktop.
Save bgunebakan/7a88c9c4e579de705a4522535af6a354 to your computer and use it in GitHub Desktop.
raspberry pi 3 wifi static IP configuration
#wpa_supplicant
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB
network={
ssid="SSID NAME"
psk="PASS"
key_mgmt=WPA-PSK
}
#/etc/network/interfaces
# 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 lo
iface lo inet loopback
iface eth0 inet manual
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.0.101
gateway 192.168.0.1
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
allow-hotplug wlan1
iface wlan1 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