Anonymous
×
Create a new article
Write your page title here:
We currently have 27 articles on PhenixOps. Type your article name above or click on one of the titles below and start writing!



PhenixOps
27Articles

Piaware: Difference between revisions

No edit summary
No edit summary
Line 11: Line 11:
Since i'm on a budget i start out with the Raspberry Pi Zero W
Since i'm on a budget i start out with the Raspberry Pi Zero W


=== Getting started ===
== Getting started ==
Put the Raspberry together, much like lego.<br>
Put the Raspberry together, much like lego.<br>


Line 19: Line 19:
Unzip the file and cd into the piaware-sd-card-3.8.1.img folder (yes it is a folder..)<br>
Unzip the file and cd into the piaware-sd-card-3.8.1.img folder (yes it is a folder..)<br>


First check for your SD card<br>
=== Check for your SD card ===
<code>
<code>
lsblk
lsblk
Line 37: Line 37:
</code><br>
</code><br>


=== Configuring the Wifi ===
== Configuring the Wifi ==
After the image has been copied (you might have to reseat the SD card) you can edit the configuration to enable wifi<br>
After the image has been copied (you might have to reseat the SD card) you can edit the configuration to enable wifi<br>


Line 45: Line 45:
</code><br>
</code><br>


=== Set your SSID/Password ===
Change the part with the wireless-ssid and wireless password to what goes for your network<br>
Change the part with the wireless-ssid and wireless password to what goes for your network<br>
<pre>
<pre>
Line 55: Line 56:
Next pop out the SD card and put it into the Raspberry Pi<br>
Next pop out the SD card and put it into the Raspberry Pi<br>


==== Checking the network ====
== Checking the network ==
Login to your wifi router and check for the newly added addres<br>
Login to your wifi router and check for the newly added addres<br>
Make sure it is broadcasting 802.11n as the Raspberry Pi does not support other protocols<br>
Make sure it is broadcasting 802.11n as the Raspberry Pi does not support other protocols<br>


=== Enable SSH ===
== Enable SSH ==
In the bot folder create a file called ssh<br>
In the bot folder create a file called ssh<br>
<code>
<code>
Line 74: Line 75:


Change the password to a better one as it is a default<br>
Change the password to a better one as it is a default<br>
==Troubleshooting ==
=== setting the feeder id ===
Somehow this is not set right upon install, i found the solution<br>
<code>
sudo piaware-config feeder-id 7a3b295a-489e-4b91-9c9d-4c778e71c925
</code>
User your own, you can find it using
<code>
piaware -showtraffic
</code>

Revision as of 23:15, 14 May 2020

Installing and running Piaware

Intro

A little fun project using a Raspberry Pi Zero W and a DVBT stick running the flightaware software.

Make sure (if it is your first) to have a set including connectors and a poweradaptor with 5.1v output.

If you plan for a mobile setup, make sure the powerbank provides the 5,1v output.

Since i'm on a budget i start out with the Raspberry Pi Zero W

Getting started

Put the Raspberry together, much like lego.

Download the software from flightaware

wget http://piaware.flightcdn.com/piaware-sd-card-3.8.1.img.zip

Unzip the file and cd into the piaware-sd-card-3.8.1.img folder (yes it is a folder..)

Check for your SD card

lsblk

Mine seems to be /dev/mmcblk0 device which is mounted at /media/phenixops/disk

mmcblk0                     179:0    0    15G  0 disk  
└─mmcblk0p1                 179:1    0    15G  0 part  /media/phenixops/disk


Make sure the card contains NO files, they will ALL BE LOST WHEN YOU CONTINUE!

From the folder, copy the image to the card using dd
phenixops@phenix:/home/phenixops/Downloads/piaware-sd-card-3.8.1.img# dd bs=4M if=piaware-sd-card-3.8.1.img of=/dev/mmcblk0 conv=fsync

Configuring the Wifi

After the image has been copied (you might have to reseat the SD card) you can edit the configuration to enable wifi

Edit the piaware-config.txt file you will find on the sdcard
vi piaware-config.txt

Set your SSID/Password

Change the part with the wireless-ssid and wireless password to what goes for your network

wireless-ssid YourSSID
wireless-password Blablabla

(Make sure you enter the details of your phone's hotspot if you want to take it outside..)

Next pop out the SD card and put it into the Raspberry Pi

Checking the network

Login to your wifi router and check for the newly added addres
Make sure it is broadcasting 802.11n as the Raspberry Pi does not support other protocols

Enable SSH

In the bot folder create a file called ssh
/boot# touch ssh

Reboot the Raspberry. ssh will become available after the restart

You can login with

 
user:  pi 
pass: flightware

Change the password to a better one as it is a default

Troubleshooting

setting the feeder id

Somehow this is not set right upon install, i found the solution

sudo piaware-config feeder-id 7a3b295a-489e-4b91-9c9d-4c778e71c925

User your own, you can find it using piaware -showtraffic