Skip to content

Instantly share code, notes, and snippets.

@yratof
Last active November 16, 2016 11:13
Show Gist options
  • Save yratof/c076b8bcab224ed77c945d4d82212e6e to your computer and use it in GitHub Desktop.
Save yratof/c076b8bcab224ed77c945d4d82212e6e to your computer and use it in GitHub Desktop.
Getting your C.H.I.P connected to wifi via terminal
# SSH into the chip
ssh [email protected]
# Too many chips? You can remove the SSH Key for the previous chip with this
ssh-keygen -R chip.local
# List all available wifis
nmcli device wifi list
# Connect to the WIFI without a password
sudo nmcli device wifi connect 'WIFI_NAME' ifname wlan0
# Connect to the WIFI with a password
sudo nmcli device wifi connect 'WIFI_NAME' password 'PASSWORD' ifname wlan0
# Download locales
sudo apt-get update && sudo apt-get install locales && sudo dpkg-reconfigure locales && sudo locale-gen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment