-
-
Save wimmatthijs/adb18c47995f9718d26278193d792d07 to your computer and use it in GitHub Desktop.
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
sudo cp /etc/network/interfaces /etc/network/interfacesoriginal | |
sudp rm /etc/network/interfaces | |
sudo nano /etc/network/interfaces | |
---------------------------------- | |
COPY | |
---------------------------------- | |
auto lo | |
iface lo inet loopback | |
auto eth0 | |
allow-hotplug eth0 | |
iface eth0 inet dhcp | |
allow-hotplug wlan0 | |
iface wlan0 inet manual | |
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf | |
iface default inet dhcp | |
--------------------------------- | |
Ctrl + O | |
Enter | |
Ctrl + X | |
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf | |
---------------------------------- | |
COPY | |
---------------------------------- | |
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
network={ | |
ssid="SECURE-WIFI" | |
psk="yourpassword" | |
} | |
network={ | |
ssid="OPEN-WIFI" | |
key_mgmt=NONE | |
} | |
---------------------------------- | |
Change based on your WiFi Settings | |
Ctrl + O | |
Enter | |
Ctrl + X | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment