Last active
May 8, 2016 21:18
-
-
Save bgunebakan/7a88c9c4e579de705a4522535af6a354 to your computer and use it in GitHub Desktop.
raspberry pi 3 wifi static IP configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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