Skip to content
Home » Raspberry Pi » Page 4

Raspberry Pi

Raspberry Pi Technology, Related Information, How-To’s, Tips, Tools, and Guides

UDATE EXISTING RASPBERRY PI 4 FIRMWARE / EEPROM

This guide assumes you already have a running Raspberry Pi 4 device. If you do not already have it setup, you can follow this guide first (https://tacticalware.com/install-raspbian-os-on-raspberry-pi-4/)

This objective of this guide is to show you how to update Raspian and how to update the eeprom / firmware

Open a terminal
sudo bash
apt update
apt upgrade
rpi-update

Would you like to proceed
Type y
Now reboot your Pi

Open a terminal
sudo bash
rpi-eeprom-update -d -a
reboot your Pi after it updates

Open a terminal
raspi-config
Scroll down and select Option 8 – Update
Update now runs, and after the update completes
Scroll down and select Option 6 – Advanced Options
Then scroll down to Option A7 – Bootloader Options
Select Option E1 Latest – Use the latest version of the boot rom software
Press Enter
Select OK
On the Reset boot rom to defaults screen
Select No
On the Boot rom not reset to defaults screen
Select OK
Scroll down and select Finish
Select Yes

Your Firmware / EEPROM are updated, and you will have the latest version with the latest features.

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


Thanks for Reading!

INSTALL RASPBIAN OS ON RASPBERRY PI 4

This guide shows you how to install an Operating System on a Raspberry Pi 4. The one I chose for this guide is Raspbian, so if you are installing that, you can follow along easily. If you are wondering which hardware I used, the exact items are linked at the bottom

On a Windows computer
Insert your SD Card into the Windows computer
Open a web browser
Navigate to
Download the Raspberry Pi Imager

Once it is downloaded, double the imager.exe file
Select Yes
Click Install
Checkmark Run Raspberry Pi Imager
Click Finish

Now that the Raspberry Pi Imager is running
Click Choose OS
Scroll down and select Raspberry Pi OS (32-Bit)
Click Choose SD
Select your SD Card
Click Write
All existing data …. will be erased. Are you sure you want to continue?
Click Yes
Data is written to the SD Card
The data is automatically verified after it is written
Once it finishes you will see the message that “you can now remove the SD card from the reader”
Remove the card
Click Continue

Now back on the Raspberry Pi
Plug in network cable
Connect the keyboard
Plug in a mouse
Connect the HDMI cable
Install the Micro SD card you just made (up above)
Plug in the power (Last step)

The Raspberry Pi installation begins
Root partition is resized
Desktop shows up
Click Next
Set your country, language, and timezone
Click next
Set password
Click next
Setup screen
Click next
Setup your wireless
When done, click next
On update software screen
Click next to download and install updates
Select OK on the “System is up to date” dialog box
Restart the Raspberry Pi

You are done. Your Raspberry Pi 4 is setup with the Raspbian OS.

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


Thanks for Reading!

USBIT – USB BACKUP TOOL FOR MINING RIGS

Simple, easy, fast backup utility for your mining rigs. I use this on mine, where Ubuntu 20.04 is running off of a usb drive.

Plug the Linux USB Drive into your Windows 10 computer

On a Windows 10 computer, download the latest version of the software from:
https://www.alexpage.de/usb-image-tool/download/

Extract the software on your windows computer
Double Click USB Image Tool, to launch the program
In the White box on the left, select the USB Drive that your Linux VM is on
Select Backup in the bottom menu
Pick the folder where you want the backup to save to
Give it a name like tacticalware
Press Enter
Your backup will begin

Once your backup completes you are ready to go.

To restore the image, you can use the same tool (USBIT), select your Image, Select the USB Drive, and click restore.

Simple, easy, fast….Thanks for reading




SSH On My RASPBERRY PI 4

This is a quick one. I needed ssh on my Raspberry Pi 4, and this is how I did it

Turn on the Pi

Once on the Desktop, click on the Terminal icon

Type:
sudo bash
apt-get update
apt-get install openssh-server
y

Once that installs successfully
systemctl enable ssh
systemctl start ssh

That’s it. You can now login remotely to your pi through ssh



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

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

UPGRADING PYTHON ON RASPBIAN

To Upgrade Python, simply run

sudo bash

apt-get update

apt-get install -y build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libffi-dev tar wget vim

wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz

tar zxf Python-3.8.0.tgz && cd Python-3.8.0 && ./configure –enable-optimizations && make -j 4 && make altinstall

echo “alias python=/usr/local/bin/python3.8” >> ~/.bashrc

source ~/.bashrc

python -v

You should now be 3.8