Category: Raspberry Pi

How to connect to Raspberry Pi Desktop using wayvnc VNC Server

The following description is from a (slightly edited) Mastodon post:

When I prepared a Raspberry Pi with the latest Raspberry Pi OS (based on Debian Bookworm) as a monitoring and observability display, I noticed the “wayvnc” package during the dist-upgrade.

Turns out this is a pre-installed VNC server package – at least on the Desktop variant.

But how can the VNC Server be configured and started and more importantly, how can I connect using a VNC viewer? Figured it out and wrote about it

Link: How to connect to Raspberry Pi Desktop using wayvnc VNC Server (Claudio Kuenzler)
Also see: Virtual Network Computing (VNC) in the Raspberry Pi Documentation

Reducing Raspberry Pi 5’s power consumption by 140x

Sorry to clickbait with that title… but it’s actually true. I can help you improve power use by 140x—for power off power consumption, at least.

By default, the Raspberry Pi 5 (like the Pi 4 before it) leaves the SoC powered up (just in a shutdown state) when you shut down the Pi.

Because of this, a Pi 5 will still sit there consuming 1.2-1.6W when completely shut down, even without anything plugged in except power.

Source: Reducing Raspberry Pi 5’s power consumption by 140x | Jeff Geerling

Live Migrating from Raspberry Pi OS bullseye to Debian bookworm

I’ve been getting annoyed with Raspberry Pi OS (Raspbian) for years now. It’s a fork of Debian, but manages to omit some of the most useful things. So I’ve decided to migrate all of my Pis to run pure Debian.

Source: Live Migrating from Raspberry Pi OS bullseye to Debian bookworm | The Changelog

GPS Raspberry Pi NTP Server

This post details how to create a stratum-1 NTP Server using a Raspberry Pi utilizing GPS and PPS, and get time within 100 nanoseconds of real time, directly from the atomic clocks located in the GPS satellites above your head. The best part about this guide is that this will work with no internet. After initial setup, you could disconnect it from the internet and they would work. All of the other guides out there that I have found do not include the configuration necessary for this.

Source: GPS Raspberry Pi NTP Server (NetworkProfile.org)

Using apcupsd on the Raspberry Pi

Apcupsd is short for APC UPS daemon and is used to interact with and monitor APC UPSes. While initially designed for the APC, it can also talk with some other brands of UPS, including some by Cyberpower.

Source: Using apcupsd on the Raspberry Pi – Pi My Life Up

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 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.

Source: How to use the scp Command in Linux – Pi My Life Up

Recent Posts

Recent Comments

Archives

Categories

Meta

GiottoPress by Enrique Chavez