Step 3 : Connect
Want to connect your Bitcoin Computer to a new WiFi network? Follow the same steps below.
Open your terminal
On Ubuntu or Debian press the
CTRL + ALT + T keys together. Alternatively, you can search for
Terminal in your applications in most Linux distributions.
Connect to the device
Install screen and connect to the 21 Bitcoin Computer.
On the terminal, you may need to press
Enter to get access to the login prompt if you see a blank terminal window.
Log in with the username
twenty and password
one (or your current password if you have configured your device previously).
sudo apt-get install -y screen
sudo screen /dev/ttyUSB0 115200
Set up WiFi
Get the SSID and password for your WiFi network. This must be the same network you're connected to with your personal computer.
To configure WiFi from the command line we'll use the included text editor nano to create the
After opening the empty file, type in the code shown, replacing
your_WiFi’s_password with your WiFi SSID and password. Hit
CTRL + X, then type
Y and press
Enter to save and exit.
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
For WPA1/2 WiFi:
Run the following command to restart the WiFi interface.
You can verify that you are connected to the internet by pinging our servers. If you receive a packet back, you were successful.
sudo ifdown wlan0
sudo ifup wlan0
$ ping -c1 21.co
PING 21.co (22.214.171.124) 56(84) bytes of data.
64 bytes from 126.96.36.199: icmp_req=1 ttl=49 time=54.5 ms
You can also change your hostname by running the following command. Replace
desired_hostname with a hostname of your choosing.
Record your IP address and hostname
Now that you have the 21 Bitcoin Computer connected to WiFi you can connect to it remotely. You will need to connect via SSH every time you want to use your Bitcoin Computer, so please write down your hostname and IP.
You can find the IP address of the device by running the following command.
Connect via SSH
Now that you have the 21 Bitcoin Computer connected to WiFi you can connect to it remotely by running the following command in a separate terminal.
Replace XX.XX.XX.XX with the IP address your wrote down previously. The default password is one. A message about "host authenticity" will be displayed; type
yes to accept the warning.
Change the password with the following command (you will need to remember this password to login later):
Run 21 update
Update your software by running the following command to ensure compatibility with everything the 21 Bitcoin Computer has to offer.
Join the 21 Market
Join the 21 Market to be able to buy and sell digital goods and services.
Connect to 21.co
Login to your 21 Bitcoin Computer and set a password, then activate your 21.co account to get access to web-enabled features that compliment your device.
Disconnect USB cable
After you have connected over your wireless network using SSH, you may disconnect the USB cable from your regular computer and the leads from the pins.
IMPORTANT: Whenever you would like to turn off your 21 Bitcoin computer, it's important
that you do so properly by first accessing its command line, typing
sudo shutdown -h, pressing Enter, and then waiting 10 seconds before unplugging the power supply.