If you have multiple Linux devices (e.g. multiple Raspberry Pi computers) and multiple user accounts that need access to those devices (i.e. maybe a Code Club of pupils) and want their own user accounts on the devices it could be a lengthy process managing the accounts and devices. Which is where Ansible (https://www.ansible.com/) comes into … Continue reading Using Ansible To Create And Manage Users (Linux / Raspberry Pi)
Category: Raspberry Pi
SHA256 File Hash Values And How To Check Them (Raspberry Pi / Mac OS X / PowerShell)
Imagine that you are a software company and host an awesome free piece of software. One day your site is hacked and the download file for your software is replaced with a malicious version of the software. It might be days (or longer!) before you notice. Or what if someone is intercepting traffic and altering … Continue reading SHA256 File Hash Values And How To Check Them (Raspberry Pi / Mac OS X / PowerShell)
SSH Banner Text (Raspbian)
When you connect to a system via SSH a banner of text is displayed. Today I am going to look at changing the default SSH banner text on my Raspberry Pi 4 (Raspbian Buster). The default Raspbian Buster SSH banner looks like this: This banner contains: Information about the system via Pluggable Authentication Modules (PAM) … Continue reading SSH Banner Text (Raspbian)
Installing PowerShell Core on Raspbian (Raspberry Pi)
PowerShell Core is a version of PowerShell that can be installed on Windows, Mac OS X (I covered it here) and Linux, i.e. Raspbian. For this blog post I am going to using my Raspberry Pi 4 and Raspbian (Buster). "PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line … Continue reading Installing PowerShell Core on Raspbian (Raspberry Pi)
Command Line Fun (Raspberry Pi / Mac OS X Terminal)
The command line / Terminal is a fantastically powerful piece of technology and today I am going to share some of the shortcuts / facts I have learned to help speed up your usage of it. These shortcuts / facts should work on a Raspberry Pi, most Linux systems and Mac OS X's Terminal. Navigating … Continue reading Command Line Fun (Raspberry Pi / Mac OS X Terminal)
Introduction To GitHub (Raspberry Pi)
Today I am looking at some commands to quickly get up and running on GitHub using a Raspberry Pi. The same instructions should work within other Linux based terminals and Mac OS X (minus apt-get). Wikipedia says that Git is: "...a distributed version-control system for tracking changes in source code during software development.It is designed … Continue reading Introduction To GitHub (Raspberry Pi)
Changing SSH Port (Raspberry Pi)
I regularly use SSH (Secure Shell) to control the various Raspberry Pis that I have set up as none of them are connected to a monitor / keyboard / mouse and it provides easy access from my laptop. Note: The first piece of advice when using SSH with Raspbian is to make sure the default account … Continue reading Changing SSH Port (Raspberry Pi)
Monitoring Multiple Pis With Nagios (Raspberry Pi)
Managing multiple Raspberry Pi devices can become a little bit of a task if done manually. Website gone down? SSH no longer connecting? Has a service stopped? Which is where Nagios comes into play. Nagios is software to monitor devices across a network and can be used to display the results via a webpage; making … Continue reading Monitoring Multiple Pis With Nagios (Raspberry Pi)
Ansible – Updating Multiple Pis Hosts Files (Raspberry Pi)
In my "test" environment I currently have 4 Raspberry Pis that all have an IP address reservation on the network but there is no local DNS. Without DNS the devices cannot find each other by device name, i.e. they cannot resolve the names to IP addresses. This could be resolved by making one of the … Continue reading Ansible – Updating Multiple Pis Hosts Files (Raspberry Pi)
Python Log Reader V1 (Python)
Log files are a key aid to any technician. They help identify errors and why they might be happening and can be a gold mine of information. Sadly they are sometimes so full of information that it is like looking for a needle in a haystack. If a log file is in plain text (.txt) … Continue reading Python Log Reader V1 (Python)
You must be logged in to post a comment.