Created
October 4, 2015 22:43
-
-
Save noah/a321e50e09e502151f0a to your computer and use it in GitHub Desktop.
network config files for raspberry pi USB-N53
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
pi@host ~ $ cat /etc/network/interfaces | |
auto lo | |
iface lo inet loopback | |
auto wlan0 | |
iface wlan0 inet static | |
wpa-ssid myessid | |
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf | |
address 192.168.1.xxx | |
gateway 192.168.1.x | |
netmask 255.255.255.0 | |
##### | |
pi@myhost ~ $ sudo cat /etc/wpa_supplicant/wpa_supplicant.conf | |
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
network={ | |
ssid="myessid" | |
psk=mypsk # N.B.: generate this using wpa_passphrase(8) !!! | |
key_mgmt=WPA-PSK | |
pairwise=CCMP | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment