You are here


Reinstalling Raspberry Pi

Submitted by egbert on Thu, 27/12/2018 - 11:47
Raspberry Pi file and ftp server

Today is the day to reinstall my raspberry pi which acts as:
ftp server
samba server
forked-daapd server for my flac collection
network bridge for my upstairs room

This particular pi has a "Segmentation Fault" when issuing certain commands like "sudo su" or "apt" commands. My guess is that the SD Card is corrupted, I know this from previous problems I had with this raspberry pi.

So I made backups of all important stuff like config files etc.. Let's see how it goes!


openSUSE Samba shares not showing up in file manager

Submitted by egbert on Mon, 27/04/2020 - 10:21

Samba shares do not show up in file manager

OS: OpenSuse Tumbleweed VERSION_ID=“20200331”

File to check: /var/log/samba/log.nmbd

So my samba network was not visible at all in xfce on OpenSuse. In this case it was not the firewall or samba version, it was just dns resolving. I noticed my OpenSuse VM still had localhost as the hostname and in


I had the following settings active:


Using PASS password manager multiplatform

Submitted by egbert on Mon, 28/10/2019 - 11:40

What I need:
1. A secure password manager
2. No hosted database or cloud stuff
3. No database at all!
4. Based on standards
5. Encrypted

Like many I really do not like password managers. They suck like big time and are a lot of work to keep going. But I did need something to organize all my passwords. I did try the simple text file with a list but that didn't seem to secure and kind of a hassle.

Create an SSH key pair

Submitted by egbert on Fri, 14/09/2018 - 06:41

On the source machine:
Step 1.
ssh-keygen -t rsa -C %user%@%target% Enter a passphrase if you want, it is not necessary
Step 2.
cat ~/.ssh/ | ssh %user%@%target% 'cat >> .ssh/authorized_keys'

Authorized Keys file on target machine
.ssh/authorized_keys is a file on the target machine and should be mode 600.

Related: Using multiple ssh private keys

Raspberry Pi Touchscreen Brightness Control

Submitted by egbert on Fri, 06/04/2018 - 11:20

Using the "echo" command
echo %n% > /sys/class/backlight/rpi_backlight/brightness

%n% represents value between 0 - 255

Change the file permission for /sys/class/backlight/rpi_backlight/brightness to 666. This is not saved on reboot!

To make a permanent change:
1. sudo nano /etc/rc.local
2. Add 1 line above the "exit" line
3. Type in "sudo chmod 666 /sys/class/backlight/rpi_backlight/brightnes"