Skip to content

Instantly share code, notes, and snippets.

Last active May 6, 2019
What would you like to do?
NextThing CHIP initial setup instructions
nmcli d wifi list | more
sudo nmcli d wifi connect attwifi
mkdir .ssh
# from Linux host scp authorized_keys file
scp chip@<ip address of CHIP>:.ssh/id_rsa .ssh/id_rsa
scp chip@<ip address of CHIP>:.ssh/authorized_keys .ssh/authorized_keys
sudo apt-get update
sudo apt-get install git build-essential curl htop w3m
# Follow instructions for setting up No-IP at Gist below:
sudo apt-get install locales
sudo locale-gen en_US en_US.UTF-8
sudo dpkg-reconfigure locales
sudo dpkg-reconfigure tzdata
# sudo apg install ntp ntpdate # May not be needed with 4.4 software
# sudo dpkg-reconfigure ntp
# Display NTP daemon status
ntpq -p
# Edit /etc/profile and edit line 7 to:
# PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games"
# Uncomment line 46 of ~/.bashrc to force color promots
# force_color_prompt=yes
# Create $HOME/.vimrc and /root/.vimrc to contain:
# set nocompatible
# vi edit /etc/hostname & /etc/hosts changing host name as desired
sudo hostname <new host name>
# For python perform the following:
sudo apt-get install python-pip
sudo pip install beautifulsoup4
sudo pip install mechanize
# For NodeJs perform the following:
sudo apt-get install nodejs
# Create resize utility from Gist
wget -O resize
chmod 755 resize
# Use sed to add the following to .bashrc
sed -i -f - .bashrc <<EOF
11 i\\
if [ "`tty`" = "/dev/ttyGS0" ]; then \\
export TERM='xterm' \\
source ~/resize \\
fi \\
# Set static route (ip route add via using dhclient exit hooks
# Use sed to add the following to /etc/dhcp/dhclient-exit-hooks.d/rfc3442-classless-routes
sudo sed -i -f - /etc/dhcp/dhclient-exit-hooks.d/rfc3442-classless-routes <<EOF
9 i\\
new_rfc3442_classless_static_routes='24 10 8 0 192 168 1 33'\\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment