This tutorial will teach you how to use NoMachine on your Raspberry Pi for remote access.
Category: Raspberry Pi
Quickly resize and shrink Raspberry Pi SD card image on MacOS
From time to time you may want to quickly copy a raspberry pi image from one system to another….but only have a smaller SD card. Or you started your project as a tryout on a crazy 64GB sd card, and realize later that 8GB would be way enough. So what you want to do, is resize the source image to the smallest size possible, flash it to the new smaller SD card, and expand it again to its new maximum on the new SD card. And so far that process can be very long and painful….but luckily there is a very handy script for that, called PiShrink. I am using the mac version, but there is also a linux version.
Source: Quickly resize and shrink Raspberry Pi SD card image on MacOS – Florian Müller
Similar article that expands on the one linked above: Flash larger SD card image onto smaller card on Mac for your Raspberry Pi – Medium/Practical coding
How to find out if Raspberry PI Linux OS needs a reboot
Explains how to find out if Raspberry PI Linux OS needs a reboot to apply kernel updates using the CLI and Ansible methods.
Source: How to find out if Raspberry PI Linux OS needs a reboot – nixCraft
How to use the scp Command in Linux
SCP is short for secure copy protocol and is used to copy files and directories between multiple Linux machines over a network. The data transferred using SCP is encrypted to protect your data against nefarious agents.
The SCP command uses SSH for data transfer and thus uses all the same usernames and passwords you would use for SSH. As a result, it is an extremely useful command for transferring files securely without too much added complexity.
Raspberry Pi And The Story Of SD Card Corruption
Tales of Raspberry Pi SD card corruption are available online by the fistful, and are definitely a constant in Pi-adjacent communities. It’s apparent that some kind of problems tend to arise when a Raspberry Pi meets an SD card – which sounds quite ironic, since an SD card is the official and recommended way of booting a Pi. What is up with all of that?
Source: Raspberry Pi And The Story Of SD Card Corruption | Hackaday
How To Run Long-running Scripts on a Raspberry Pi
Keep a script running forever over SSH.
Source: How To Run Long-running Scripts on a Raspberry Pi | Tom’s Hardware
Using the nice and renice Command in Linux
In this tutorial, you will learn how to use both the nice command and renice command on a Linux system.
Source: Using the nice and renice Command in Linux – Pi My Life Up
Setting up a Raspberry Pi Scanner Server using SANE
This tutorial will show you how you can set your Raspberry PI up as a scanner server by using the SANE Software.
Source: Setting up a Raspberry Pi Scanner Server using SANE – Pi My Life Up
How to use a Raspberry Pi to trigger wireless remote controlled outlets (and probably other wireless devices)
You can purchase wireless remote control devices that typically come in packages with one remote control, and some number of devices that you plug into an outlet, and then you plug whatever you want to control into those devices. You can easily find them on Amazon or eBay, or at big box stores or at places like Harbor Freight. On an online site, just search for “Wireless remote controlled outlet”. The main thing you want to make certain of is that they are controlled by radio frequencies, which most are, and not by an infrared signal like most TV remotes. ….. The idea here is that we want the Raspberry Pi to emulate the same signals that pressing buttons on the remote would do. This allows the Raspberry Pi to control the outlets and opens up possibilities limited only by your imagination.
Source: How to use a Raspberry Pi to trigger wireless remote controlled outlets (and probably other wireless devices) – Two “Sort Of” Tech Guys
Developer Finds 8 Extra GPIO Pins on Raspberry Pi 4
You can get more pins by disabling on-board features like the camera.
Source: Developer Finds 8 Extra GPIO Pins on Raspberry Pi 4 | Tom’s Hardware