I had some problems to get my Bluetooth headset working with my Debian, the fault was kind of non informative. In the end I found in some forum that it needs the following lib. I found this here. Connection Failed: br-connection-profile-unavailable This was the only fault shown in the GUI.
Linux cp command with reflink
copy files and directories-p same as –preserve=mode,ownership,timestamps-R, -r, –recursivecopy directories recursively-v verbose, show what is going on. –reflink[=WHEN]control clone/CoW copies. This just copied 169GB of files in 20 seconds. This only works on supported filesystems, so for example by “#Btrfs, #CIFS, #NFS 4.2, #OCFS2, #overlayfs, and #XFS”. See here. Explainshell tells you this.
OCR all PDFs in a folder by cron
I will not write a long explanation, just this short one. The cronjob looks like this: This will start sh (a shell, just like bash) and run the command after -c. The command flock will create a lock-file, to prevent that this cron job is started while there is still the previous cron jobs running. […]
Fix error “Failed to start DHCP Client Daemon” after upgrade to “Bullseye” on RaspberryPI
Important This fix can be applied before the reboot after the upgrade from Buster to Bullseye, if you missed it you need a MicroSD card reader and some Linux computer (another RaspberryPI would do) to edit the file. In the file there is a wrong path for the dhcpd, it has to be changed. wrong […]
Upgrade Raspberry Pi OS from Buster to Bullseye
So to upgrade Raspbian, as it was previously called, from Buster to Bullseye went smooth an easy, I tried this with some Pi2B (armhf 32Bit) and with a Pi4. These two are headless systems, so I don’t know if this works well for any systems with window managers. Better run these commands in screen, so […]
Resize a PDF to DIN A4 on CLI
Converts a PDF to DIN A4 paper size and centers the content of the input file on the new page without resizing it. Needs package “texlive-extra-utils” on Debian.
Adding Debian Buster Backports repo to RaspberryPi for tor
Add key The fingerprint (DC30D7C23CBBABEE) given is the one that the first command outputs, which is the fingerprint of the key downloaded by curl. 2. Add repo run apt update/upgrade Install tor, I did this by:
Debian for Raspberry Pi
Just some info, because the last time when I flashed an SD card I took #Raspbian only because I could not find the #Debian images as quick. Infos about Debian for #Pi are here:https://wiki.debian.org/RaspberryPi Images:https://raspi.debian.net/tested-images/ Some tips for settings, like #SSH on first boot (you need to add a key):https://raspi.debian.net/defaults-and-settings/
Linux swap with dphys-swapfile
This is a solution for a #RaspberryPi, some #VPS without swap of some machine setup without swap where you need swap for something without wanting to fiddle with the drive partitions or so. This is a quick and dirty “short manual” for #Debian based #Systemd environments (such as #Ubuntu, #Mint or #Raspbian). First run this: […]
Debian based full updates in one command
I have this small script deployed on any of my #Debian based systems, it just does all the update, upgrade, dist-upgrade, autoremove and autoclean in one run. I have this script deployed in a lazy manner, I just have it sitting in my users home folder and called it “up”, I did do a “chmod […]