Skip to content
Home » raspbian

raspbian

Visit Tacticalware.com for information related to this tag and others. We look forward to assisting in your tech projects with our in-depth knowledgebase…

RASPBERRY PI 4 – FLIGHTAWARE SETUP

Flightaware…an amazing app, will give you a free subscription if you monitor the skies above your house. To setup a raspberry pi with this ability, perform the following

This guide assumes you have a Raspberry Pi, already setup with Raspbian. If you don’t have this, follow the guide below:
https://tacticalware.com/install-raspbian-os-on-raspberry-pi-4/

Once you are up and running with your Raspberry Pi, you will need to plug in your flightaware usb dongle which can be found on the bottom of this page

After that, run the following commands:
From your Raspberry Pi “Desktop”
Open a terminal
sudo bash
apt-get update
apt dist-upgrade
reboot

Your system will now reboot and come back up to your “Desktop”
Open a terminal
sudo bash
wget http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.7.1_all.deb
dpkg -i piaware-repository_3.7.1.deb
apt-get update
apt-get install piaware
piaware-config allow-auto-updates yes
apt-get install dump1090-fa
reboot


Your system will now reboot and come back up to your “Desktop”
Open a terminal
sudo bash
ifconfig
get the ip address of your Pi
Open the Chromium web browser on your Raspberry Pi
Navigate to https://flightaware.com/adsb/piaware/claim
Create an account or Login and claim your piaware.
If successful you will see a message similar to the following message on the web page:
PiAware – Claim and Link a Brand New PiAware Ground Station
Success!
You claimed the following 1 receivers:
162323d5-6532-4s436-9486-d6173334

Next you will want to click on the link listed in your Success message:
Great news! Your account is associated with the following PiAware receivers and you can view your statistics here:
Now you will be in the config page of your flightaware account
So you will want to click on the Gear icon
Configure your location and the height of the antenna

And you are done!

You are now monitoring the sky overhead

Hardware I used:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

SanDisk MobileMate USB 3.0 microSD Card Reader (Only needed if you dont have a Micro SD Reader/Writer slot in your computer)
https://amzn.to/39toi0G

Flightaware USB Stick
https://amzn.to/3aFKpju

Flightaware Antenna
https://amzn.to/3pZ3yn3

RASPBERRY PI RDP TO WINDOWS 10

From time to time I need the ability to use RDP from my Raspberry Pi, to connect to my Windows 10 computer. Here is how I have installed RDP on my Raspberry Pi.

First you need to make sure your Raspberry Pi is running on Raspbian

Next, open a Terminal
Type:
sudo bash
apt-get update
apt-get dist-upgrade
apt-get install xrdp remmina
Press Y when prompted
The software will install
Once it has completed, reboot your Raspberry Pi

When you are back onto your Desktop
Go to the Raspberry Menu in the top left
Select Internet
Click Remmina

Now put the settings of your Windows 10 computer in, and make sure your Windows 10 system already has RDP enabled

Connect, and you are in!

Hardware that I used:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

INSTALL JAVA 8 ON RASPBERRY PI

During the Hadoop build for my Raspberry Pi 4 Cluster, I have come across the need to install Java 8, which is different than the version out today (Java 11). To install Java 8 onto Raspbian, simply perform the following steps

Open a Terminal
sudo bash
apt-get update
apt install openjdk-8-jdk
y

Java 8 will now install. Once it completes, you can verify it works by typing the following
java –version


That’s it!

Hardware that I used:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

Thanks for reading…….

SET A STATIC IP ON YOUR RASPBERRY PI 4

This guide assumes that you are running the latest version of Raspbian on your Pi. If you are not, you can follow this guide to get it setup.

How to install Raspbian on your Raspberry Pi 4
https://tacticalware.com/wp-admin/post.php?post=1240&action=edit

My build also uses a FAST M.2 drive instead of the slow Micro SD card:
https://tacticalware.com/boot-raspberry-pi-4-from-m-2-usb-drive/

Now that we have both those straightened out, to set a static IP is simple. Just perform the following:

Open a Terminal
Type:
sudo bash
nano /etc/dhcpcd.conf
Replace hostname with the name of the Pi, I set mine to tacticalware1
Then you will want to
uncomment the following lines and set your address(to uncomment, remove the # from the beginning of them)
#interface eth0
#static ip_address line and set the ip
#static routers line and set it
#static domain_name_servers line and set it
Note that if your local network is 192.168.1.xxx or 192.168.0.xxx use an ip scheme that matches your setup
Ctrl x to save
y
Press Enter
nano /etc/hostname
Make sure you set it to tacticalware1 or whatever your pi’s name is
ctrl x
y
nano /etc/hosts
make sure tacticalware1 is listed in there as well at the bottom of the file, next to 127.0.0.1
ctrl x to save
reboot

Your system will now reboot and your static ip address will now be in effect.

Hardware that I used:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

Thanks for reading…….


RASPBERRY PI CHROMEDRIVER INSTALLATION

Instead of running through the long drawn out directions that accompany the error on the screen….this is what i used to install chromedriver

pip3 install chromedriver

You’re welcome



Thanks for reading

Hardware that I used:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L