This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Basic install of Gateway - still requires some configs set and a start script | |
# Some general dependencies (probably present already) | |
sudo apt-get install automake autoconf libpcap-dev | |
# Install Erlang / OTP | |
cd /tmp | |
wget http://packages.erlang-solutions.com/site/esl/esl-erlang/FLAVOUR_3_general/esl-erlang_18.0-rc1-1~ubuntu~trusty_amd64.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Some prequisites | |
# Install Erlang / OTP | |
git clone https://github.com/erlang/otp | |
./otp_build autoconf | |
./configure | |
#this takes a hell of a long time | |
make | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Basic install of Gateway - still requires some configs set and a start script | |
# For now best to do everything as root | |
# Some elements require manual intervention for now... | |
# Some general dependencies (probably present already) | |
apt-get install automake autoconf libpcap-dev | |
# Install Erlang / OTP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SERIAL=`/bin/grep Serial /proc/cpuinfo | /usr/bin/awk '{print $3}'` | |
MAC=`/bin/ip link show eth0 | /usr/bin/awk '/ether/ {print $2}'` | |
echo $MAC > pi-info.txt | |
echo $SERIAL >> pi-info.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am scandox on github. | |
* I am scandox (https://keybase.io/scandox) on keybase. | |
* I have a public key whose fingerprint is DB02 C85B 8F31 F9C4 D6FA C53E 4B11 8F6F C21C AB35 | |
To claim this, I am signing this object: |