Connect to CHIP via USB from Linux (Ubuntu)
So you just started playing with your amazing CHIP and you don't know how to connect your wifi network to it since there is no ethernet connector. Here is the first steps you should take, starting with :
Connect via USB
Using the screen command sudo screen /dev/ttyACM0
while the CHIP is connected to your computer via an USB cable. (install screen with sudo apt-get install screen
if you don't have it)
It should ask you the default username (chip
) and password (chip
) of the CHIP.
Wouhou ! You made it to the CHIP's shell ! Now lets...
Setup Wifi
Using a tool called nmcli we'll be able to setup wifi via cli. Begin by listing wifi networks with nmcli device wifi list
.
Then connect to your network via :
sudo nmcli d wifi connect 'YOUR_SSID' password 'YOUR_PASSWORD'
Note: if you have a single quote in your SSID like I shouldn't have... you can escape it like that