Skip to content

Instantly share code, notes, and snippets.

@psy-q
Created January 4, 2018 14:18
Show Gist options
  • Save psy-q/5508a72cdca8bee13a8f24991112db70 to your computer and use it in GitHub Desktop.
Save psy-q/5508a72cdca8bee13a8f24991112db70 to your computer and use it in GitHub Desktop.
allow-hotplug wlan0
auto wlan0
iface wlan0 inet static
address 192.168.2.4
netmask 255.255.255.0
gateway 192.168.2.1
essid "your_essid_here"
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
country=YOUR_COUNTRY_CODE
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
#key_mgmt=WPA-PSK
ssid="your_essid_here"
#proto=RSN
#pairwise=CCMP
#auth_alg=OPEN
psk="your_password_here"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment