Last active
December 14, 2015 22:09
-
-
Save sirleech/5156451 to your computer and use it in GitHub Desktop.
Raspberry Pi /etc/networks/interface for static ips and wireless dongle with WPA2-Personal
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
auto lo | |
# assign static IP 192.168.1.55 | |
# gateway = your router IP | |
iface lo inet loopback | |
iface eth0 inet static | |
address 192.168.1.55 | |
netmask 255.255.255.0 | |
gateway 192.168.1.254 | |
auto wlan0 | |
allow-hotplug wlan0 | |
iface wlan0 inet static | |
wpa-ssid "WhateverYourNetworksCalled" | |
wpa-psk "passphrasegoeshere" | |
address 192.168.1.55 | |
netmask 255.255.255.0 | |
gateway 192.168.1.254 | |
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf | |
#iface default inet dhcp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment