Last active
September 12, 2024 10:38
-
-
Save spikeheap/7857064 to your computer and use it in GitHub Desktop.
A sample /etc/network/interfaces file for Raspberry Pi using WiFi. Be sure to set your WiFi SSID and shared key!
This file contains hidden or 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 | |
iface lo inet loopback | |
iface eth0 inet static | |
address 192.168.0.222 | |
netmask 255.255.255.0 | |
gateway 192.168.0.1 | |
broadcast 192.168.0.1 | |
dns-nameservers 192.168.0.1 | |
allow-hotplug wlan0 | |
auto wlan0 | |
iface wlan0 inet dhcp | |
wpa-ssid "myhomenetwork" | |
wpa-psk "mysharedkey" | |
gateway 192.168.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment