This is a step-by-step guide to get your Pocket C.H.I.P. ready.
The C.H.I.P. ships with built-in root
and chip
users, with both chip
as password. Let's change those and disable root on ssh.
$ passwd # change "chip" account's password
$ sudo passwd -l root # lock the root account from direct login
$ sudo sed -i.old /etc/ssh/sshd_config -e'/PermitRootLogin/s/yes/no/' # configure sshd to not allow root
$ sudo service ssh restart
Your C.H.I.P. might come with ssh server uninstalled.
$ sudo apt-get update && sudo apt-get upgrade
$ sudo apt-get install openssh-server git
Calibrate your touchscreen using the xinput-calibrator
utility.
$ sudo apt-get install xinput-calibrator
$ xinput_calibrator
Create your C.H.I.P. ssh keys.
$ ssh-keygen -t rsa -b 4096 # Generate your keys
$ ssh-add ~/.ssh/id_rsa # Add your keys to the ssh-agent
If you prefer using key-based authentification, change the sshd
config.
$ sudo nano /etc/ssh/sshd_config # Edit the config file
Change the PasswordAuthentification
setting to no
and restart the ssh service.
$ sudo service ssh restart
You can change the default home screen and get the wonderful Marshmallow edition
$ wget -O install-pockethome http://bit.ly/29uWueR
$ chmod +x install-pockethome
$ ./install-pockethome
If you didn't yet, you can now clone this repo to run the dotfiles setup. Inspired by Mathias Bynens' awesome dotfiles.
$ git clone git@github.com:leoternoir/pocketfiles.git && cd pocketfiles # Clone this repo
$ source setup.sh # Execute the setup script
You can add custom commands by adding them to ~/.extra
, it will be sourced as well.
A list of useful apps working on Pocket C.H.I.P. Installation guide coming soon.
- Iceweasel
- More to come soon
- Most NodeJS-based apps
- More to come soon
MIT.