-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
Gregory Clarke edited this page Aug 12, 2017
·
2 revisions
- Add empty
ssh
file to boot partition to allow ssh connections - Edit
/etc/network/interfaces
to connect to vYachtWifi
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "vYachtWifi"
wpa-psk "vYachtWifi"
Connect to Raspberry Pi via ssh and update
sudo apt-get update && sudo apt-get upgrade -y
cd
wget https://nodejs.org/dist/v4.3.2/node-v4.3.2-linux-armv6l.tar.gz
tar -xvf node-v4.3.2-linux-armv6l.tar.gz
cd node-v4.3.2-linux-armv6l
sudo cp -R * /usr/local/
cd
git clone https://github.com/cambecc/earth
cd earth
npm install
node dev-server.js 8080
crontab -e
append to crontab
@reboot /bin/bash -l -c 'cd /home/pi/earth && node dev-server.js 8080'
ssh-keygen
ssh-copy-id [email protected]
ssh [email protected]
crontab -e
append to crontab
30 * * * * /bin/bash -l -c 'scp -r [email protected]:/home/guest/downloads/Weather/data/weather/* /home/pi/earth/public/data/weather/'
sudo apt-get install rtl-sdr git librtlsdr-dev libusb-1.0-0-dev -y
cd && git clone https://github.com/dgiardini/rtl-ais
cd rtl-ais
make
Test sudo ./rtl_ais -n
Follow instructions in the projects README