Created
February 5, 2019 06:52
-
-
Save typelogic/cc41afd54538d2a1dee2cab960542173 to your computer and use it in GitHub Desktop.
rpi network setup
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
| [/etc/network/interfaces] | |
| auto lo | |
| iface lo inet loopback | |
| #auto wlan0 | |
| allow-hotplug wlan0 | |
| iface wlan0 inet manual | |
| wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf | |
| iface home inet dhcp | |
| iface mobile inet dhcp | |
| #wpa-ssid ssid1 | |
| #wpa-psk psk1 | |
| #wpa-ssid ssid2 | |
| #wpa-psk psk2 | |
| [/etc/wpa_supplicant/wpa_supplicant.conf] | |
| ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
| update_config=1 | |
| network={ | |
| ssid="ssid1" | |
| psk="psk1" | |
| id_str="home" | |
| } | |
| network={ | |
| ssid="ssid2" | |
| psk="psk2" | |
| id_str="mobile" | |
| scan_ssid=1 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment