How to switch over from SD-card to USB-attached device (USB thumbstick, USB enclosed SSD or HDD, etc.) to have more durable storage option.
-
Connect USB device to your RPI
-
Make sure USB device visible by the system
tl;dr: Wayland is not "the future", it is merely an incompatible alternative to the established standard with a different set of priorities and goals.
Wayland breaks everything! It is binary incompatible, provides no clear transition path with 1:1 replacements for everything in X11, and is even philosophically incompatible with X11. Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.
Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating e
| <# | |
| - BIOS of host machine also needs to be configured to allow hardware virtualization | |
| - Windows 10 Pro or otherwise is needed; Windows 10 Home Edition CANNOT get WSL | |
| - This gist WSLv2, but can use WSLv1 instead. I needed v1 as I run Windows 10 in a VM in Virtualbox. | |
| - WSLv2 has been giving me problems in Virtualbox 6.1, but WSLv1 works properly. | |
| - vbox has issues with the GUI settings when it comes to nested virtualization on certain systems, | |
| so run the following if needing to give a VM this enabled setting: | |
| VBoxManage modifyvm <vm-name> --nested-hw-virt on | |
| #> |
| #!/usr/bin/python2 | |
| # | |
| # script to generate a minicom script that dumps entire flash | |
| # problem is the stub seems to read all data into RAM first, | |
| # so you can only do in batches | |
| # | |
| # 2019.10.24 | |
| # inc needs to be low enough to complete within `expect` timeout | |
| inc = 0x20000 |
| #!/bin/bash | |
| # Raspberry Pi stress CPU temperature measurement script. | |
| # | |
| # Download this script (e.g. with wget) and give it execute permissions (chmod +x). | |
| # Then run it with ./pi-cpu-stress.sh | |
| # | |
| # NOTE: In recent years, I've switched to using s-tui. See: | |
| # https://github.com/amanusk/s-tui?tab=readme-ov-file#options | |
| # Variables. |
This is surprisingly easy...basically following Arch Wiki:
https://wiki.archlinux.org/index.php/Howdy
After some investigation, here is step by step and preferences
0x8545: Original 84 -> 850x08FF19: Original 75 -> EB0x1932C7: Original 75 -> 74 (remove UNREGISTERED in title bar, so no need to use a license)SSH (Secure Shell) to a host existing in an internal network through a reverse-tunneled SSH connection to an externally accessible VPS (Virtual Private Server). This setup is described where the internal host is a Raspberry Pi, but can be generalized for any host on the internal network that runs an OpenSSH server.
internal network Internet home network
|| ||
------------------ || ------------------ || ------------------
| | reverse SSH tunnel (VPS $tunnel_port to Pi port 22) | | || | |
| Raspberry Pi ==================================================> VPS ===================
| #!/bin/bash | |
| #### PART ONE | |
| cat > /etc/apt/sources.list.d/openmediavault.list << EOF | |
| # deb http://packages.openmediavault.org/public arrakis main | |
| deb http://downloads.sourceforge.net/project/openmediavault/packages arrakis main | |
| ## Uncomment the following line to add software from the proposed repository. | |
| # deb http://packages.openmediavault.org/public arrakis-proposed main | |
| # deb http://downloads.sourceforge.net/project/openmediavault/packages arrakis-proposed main | |
| ## This software is not part of OpenMediaVault, but is offered by third-party | |
| ## developers as a service to OpenMediaVault users. |