eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

221
active users

#RaspberryPiOS

0 posts0 participants0 posts today

Help request to the #Linux hivemind: I got a #Raspberry_Pi 500 and created two users, a root and a non-root user for my son. For some reason the #RaspberryPiOS defaults to log you in without asking for a password, which in my case is undesirable (as I want my son to be able to log in his account without having to log out from mine). If I go in the setting I can disable this, but the side effect now is that lightdm doesn't manage to start when I boot, and has to be started manually by a root user (i.e. me) every time (n.b. without lightdm you can only access the shell and not the graphical interface).
How do I get out of this?

Thanks

Lately I've been doing more #SelfHosting again due to the current situation. Of course, I'm paying particular attention to power consumption and noise. After good experiences with the #ARM64 architecture, even with power-hungry applications such as Mastodon, I'm now using the smartphone technology for my homeservers, too.

There are #SBCs with more open hardware, but the #RaspberryPi is widely available, well documented, powerful and inexpensive. And it is available with up to 16 GB of RAM.

Anyone operating a server on the Internet must install #security updates quickly. However, many people forget to restart running software so that the new version runs instead of the old one. The #needrestart tool helps with this on Debian-based Linux systems, which unfortunately is usually not pre-installed.

On my Raspberry Pi 4, needrestart always runs correctly (automatically after apt upgrade). On my Raspberry Pi 5, however, I first had to create a configuration file as described by the main developer here:
github.com/liske/needrestart/b
Previously, the tool always claimed that a reboot was necessary because it thought an outdated Linux kernel was running.

Next, I want to activate #LUKS hard drive encryption on both raspis. Unfortunately, this is not as easy under #Raspbian or #RaspberryPiOS as on other Debian systems. If you have managed this: Please let me know how you did it!

Mastodon, gehostet auf fedifreu.deFedifreudeDiese Mastodon-Instanz wird vom überregionalen netzaktivistischen Zusammenhang Datenfreude <https://datenfreu.de> betrieben. Dazu zählen https://datenpunks.de und https://kleindatenverein.org.
#rpi#rpi5#raspi

In letzter Zeit mache ich aus gegebenem Anlass wieder mehr #SelfHosting. Natürlich achte ich dabei besonders auf den Stromverbrauch. Nach guten Erfahrungen mit der #ARM64-Architektur selbst bei leistungshungrigen Anwendungen wie Mastodon setze ich jetzt auch zuhause auf auf die aus Smartphones bekannte Technologie.

Es gibt zwar #SBCs mit offenerer Hardware, aber der #RaspberryPi ist überall erhältlich, gut dokumentiert, leistungsfähig und preiswert. Und es gibt ihn mit bis zu 16 GB RAM.

Wer einen Server am Internet betreibt, muss zügig #Sicherheitsupdates einspielen. Viele vergessen aber, laufende Software neuzustarten, damit die neue Version läuft statt der alten. Dabei hilft auf debianbasierten Linux-Systemen das Tool #needrestart, das leider meist nicht vorinstalliert ist.

Auf meinem Raspberry Pi 4 läuft needrestart schon immer korrekt (automatisch nach apt upgrade). Auf meinem Raspberry Pi 5 musste ich aber erst eine Konfigurationsdatei anlegen, wie es der Hauptentwickler hier beschreibt:
github.com/liske/needrestart/b
Bis dahin behauptete das Tool immer, dass ein reboot nötig sei, weil ein veralteter Linux-Kernel laufe.

Als nächstes will ich auf beiden Raspis die Festplattenverschlüsselung aktivieren. Das ist unter #Raspbian bzw. #RaspberryPiOS leider nicht so einfach wie auf anderen Debian-Systemen. Wenn ihr das geschafft habt: Schreibt gern eure Tipps!

Mastodon, gehostet auf fedifreu.deFedifreudeDiese Mastodon-Instanz wird vom überregionalen netzaktivistischen Zusammenhang Datenfreude <https://datenfreu.de> betrieben. Dazu zählen https://datenpunks.de und https://kleindatenverein.org.
#rpi#rpi5#raspi

Recording the screen is a sore point of Raspberry Pi OS as only a handful of hard to find tools work under Wayland and most are command line only. Botspot's Screen Recorder is a new tool that glues a GUI to the others and adds useful functionality such as recording a webcam feed and the screen at the same time.

github.com/Botspot/botspot-scr

The only alternative is Vokoscreen-NG which is more limited:

linuxecke.volkoh.de/vokoscreen

GitHubGitHub - Botspot/botspot-screen-recorder: Best all-in-one screen recording utility for Wayland wlroots compositors, similar to SimpleScreenRecorderBest all-in-one screen recording utility for Wayland wlroots compositors, similar to SimpleScreenRecorder - Botspot/botspot-screen-recorder

Setup -> I have a #RaspberryPi #RaspberryPiZero2W running #linux #pios #RaspberryPiOS #headless

Aim: I want the pi to always offer a #hotspot #wifihotspot on #boot
based on the command

nmcli device wifi hotspot ssid pizerohotspot password my_password

Is this below a bad solution ?? -> I came up with this solution in the link below using a .service but fear it shows I am clueless? Is there a better way? Thanks!
loramesh.org/subpages/pi_insta

www.loramesh.orglora Mesh - raspberry pi setup

#RaspberryPi owners, how do you back up your #RPi?
I don’t have an extra hard drive, so I need to back up to #GoogleDrive. I’ve installed #Rclone and tried creating a #BASH script, but I’m struggling with it.
If you’ve set up something similar or have recommendations for an efficient backup workflow, I’d love to hear them! Bonus points if you know any good courses or resources to improve my scripting skills.
#Linux #Tech #SelfHosted #SelfHosting #RaspberryPiBackup #RaspberryPi500 #RaspberryPiProjects #RPiBackup #RaspberryPiOS #RPiProjects #LinuxBackup #LinuxTips #LinuxCommunity #TechSupport #OpenSource #DataBackup #CloudBackup #GoogleDriveBackup #CloudStorage #FileBackup #Rclone #BASHScript #ShellScripting #ProgrammingHelp #CodeNewbie #LearnToCode #TechSolutions #Automation #techhacks @linux @selfhost @selfhosting @selfhosted

What can cause USB devices to not be detected when their 5V line is not connected?

It appears that :nixos: #NixOS on the :raspberrypi: #RaspberryPi Zero 2 W needs 5V connected directly from the USB socket (not somewhere else) to the device, i.e. using the below pogo pin pads for D+- doesn't work.

On #RaspberryPiOS no problem, USB devices are detected, even through the pogo pins, even with wifi on (interference)

So this feels like a software configuration thing.

Any ideas?

Fascinating to see the :raspberrypi: #RaspberryPi Zero W2 with #RaspberryPiOS freeze up beyond any hope when communicating with any #ArduPilot hardware (Cube Orange, mRo control zero, Matek, ...) via USB. No/less problems via USB-FTDI or UART.

We're approaching the conclusion that ArduPilot must send some data sequence that uniquely knocks our the Rpi Zero. Big Pi, no problem, other firmware on the autopilot, no problem.

Might try :nixos: #NixOS tomorrow 🤷

Replied in thread

@geerlingguy is this just a way to get a web view of #VNC when you don't have direct access to your device? Like an externally discovery mechanism coupled with firewall traversal, NAT, and proxy, negotiation, bundled in a universal browser interface.

I'm guessing that wayvpn, github.com/any1/wayvnc , is still running under the covers, and if you have direct access and a compatible VNC client, you should be able to just connect with that?

GitHubGitHub - any1/wayvnc: A VNC server for wlroots based Wayland compositorsA VNC server for wlroots based Wayland compositors - any1/wayvnc