Skip to content

Instantly share code, notes, and snippets.

@magnocosta
Last active December 18, 2016 15:02
Show Gist options
  • Save magnocosta/a41e7ec3c253b5456f6c2dc15b0866d5 to your computer and use it in GitHub Desktop.
Save magnocosta/a41e7ec3c253b5456f6c2dc15b0866d5 to your computer and use it in GitHub Desktop.
# Update all packages
sudo apt-get update
# Upgrade all packages
sudo apt-get upgrade
# List all routes
sudo route -n
# Add default route to 192.168.1.1
sudo route add default gw 192.168.1.1
# Configure Wifi by Command line
# Open file /etc/wpa_supplicant/wpa_supplicant.conf
# and add:
# network={
# ssid="The_ESSID_from_earlier"
# psk="Your_wifi_password"
#}
#
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment