Skip to content

Instantly share code, notes, and snippets.

@jnyryan
Last active November 15, 2020 23:12
Show Gist options
  • Select an option

  • Save jnyryan/1e7b8dcc78a4d3517bcbd70b1681a379 to your computer and use it in GitHub Desktop.

Select an option

Save jnyryan/1e7b8dcc78a4d3517bcbd70b1681a379 to your computer and use it in GitHub Desktop.
Homehub

Installs to get the Rpi up and running for IOT Stack

Basics

sudo apt-get -y install git vim curl make zsh screen
sudo apt-get -y install matchbox-keyboard

Manual

  • raspi-config to set hostname
  • raspi-config to set ssh

Network Manager

Install network manager and do not randomise MAC address

sudo apt-get -y install network-manager apparmor-utils
echo "
[device]
wifi.scan-rand-mac-address=no
" >> /etc/NetworkManager/NetworkManager.conf

z-shell

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Install fan drivers

curl https://download.argon40.com/argon1.sh | bash

vim

curl https://gist.githubusercontent.com/pstaender/fe00959699b2199d9921/raw/9bc072387967fd5e2c5bfc8df4ddbafbaa9c3770/.vimrc > ~/.vimrc

Add to vimrc

echo "
set mouse=a
" >> ~/.vimrc

IOT Stack

git clone https://github.com/gcgarner/IOTstack.git ~/IOTstack
cd IOTstack
./menu.sh
docker-compose up -d

References

Found this https://gist.github.com/Paraphraser/55643bd660db46716f6c81266905cae8 Explains why i had so much rtouble with NetworkManager resetting the MAC address randomization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment