Skip to content

Instantly share code, notes, and snippets.

@wcmatthysen
Forked from boogah/pocketchip_first-run.md
Last active September 22, 2020 12:47
Show Gist options
  • Save wcmatthysen/e410a290cfca5db41414efbda58f7292 to your computer and use it in GitHub Desktop.
Save wcmatthysen/e410a290cfca5db41414efbda58f7292 to your computer and use it in GitHub Desktop.
PocketCHIP: First Run!

My suggested list of terminal commands for your brand new PocketCHIP.

First off, edit your /etc/apt/sources.list file to look like this:

deb http://deb.debian.org/debian/ jessie main contrib non-free
deb-src http://deb.debian.org/debian/ jessie main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

deb http://archive.debian.org/debian jessie-backports main contrib non-free
deb-src http://archive.debian.org/debian jessie-backports main contrib non-free

deb http://chip.jfpossibilities.com/chip/debian/repo jessie main
deb http://chip.jfpossibilities.com/chip/debian/pocketchip jessie main

Run the following command to add the correct key:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8B48AD6246925553

Then, do the following steps:

  • Reset your password.
  • Give you root user access to update and install software.
  • Update your PocketCHIP's core operating system.
  • Sync the date and time automatically at startup.
  • Make sure that your locale and time zone data is right.
  • Install SSH and shut off WiFi power saving to prevent timeouts.
  • Install Pocket Home (Marshmallow edition).
  • Install rsync for easier file copying. (Optional)
  • Install git to easily grab projects from GitHub. (Optional)

Note: Do not add the $ or # from each line before the command! $ denotes a command to be run by your default user, # denotes a command that requires root privileges.

$ passwd
$ sudo -i
# apt-get update && apt-get upgrade && apt-get dist-upgrade
# timedatectl set-ntp True
# apt-get install locales
# dpkg-reconfigure tzdata
# locale-gen en_US en_US.UTF-8
# apt-get install openssh-server
# iw wlan0 set power_save off
# wget http://bit.ly/29uWueR
# mv 29uWueR install-pockethome
# chmod +x install-pockethome
# ./install-pockethome
# apt-get install rsync
# apt-get install git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment