If you want to Mirror your Personal Files over the Internet to two or more Decentral Nodes (perhaps Private), you can do it with the well known Internet Planetary Filesystem called IPFS. The major problem was in History to SYNC the Nodes hourly by Cronjob. The very easy fast way is to Setup kubo-go-ipfs from […]
Category: Raspian
Linux Samba as NAS USB Disk Spindown Issues
If you use a small PC as Home Server NAS with a attached USB Drive you perhaps remark that the drive ALWAYS spinning if the Samba Daemon is active. I researched this behavior and found out that the Samba Deamon (smbd) locks the drive access via VFS to the Kernel for the Powermanagement Tools like […]
Linux: Perfect Secure Travel Laptop
If you want to Travel to other Countries (Border-Control), you should know some things: Buy a older Acer Laptop with Micro SSD Harddisk and SATA CDROM Slot Buy a SATA CDROM Adaptor for 10$, open the Laptop and remove the SATA Drive put it into the SATA Adaptor Don’t put Screws into the Laptop to […]
Bug: XDM Login Manager fails start on Boot
Seen on ubuntu 22.04 after do-release-upgrade the xdm Login Manager fails to start, cause a old xdm.pid file hangs from last shutdown on “/run/xdm.pid”. XDM prevent start on a old PID File!! Workaround edit Roots crontab to purge it: sudo crontab -e @reboot rm -rf /run/xdm.pid > /dev/null 2>&1 quit and save with “:wq!” ..reboot
Ubuntu: Chromium install without snap
Howto: Remove all snaps and install chromium on ubuntu 20.XX-24.XX sudo snap remove "package-name" (first all gtk-XX,gnone-xx and all "base+core") sudo apt-get remove snap snapd sudo add-apt-repository ppa:xtradeb/apps (Answere Question ENTER) sudo apt-get update sudo apt-get install chromium
Major Bug: Backdoor inside XZ Libs / SSH Backdoor
Brand New: SSH Backdoor seen on Linux XZ-Libs published with Backdoor! Prio HIGH! (The Backdoor offers break out of a SSH Connection) Update your Systems! Read: Article/Post/Backdoor-XZ-SSH Ubuntu Report Debian Report
Linux: find files modified in special Month
If you want to free space on Backups you can use find to select a special month: find -newerct "1 Sep 2023" ! -newerct "1 DEC 2023" -delete This command removes files created from 01.Sep.2023 to 01.Dec.2023. ..very useful..
Major Tools for your IT Systems
A must “USE” in these insecure days: nmap Portscan Tool use nmap -PN IP-Address to check failed Firewall Settings! arp-scan Network Scan to find active devices iftop to detect traffic and used Ports on a physical network Interface! ps aux show active processes on a Linux System htop more human friendly Process Monitor iotop human […]
Script DNS Blocker DNSMASQ
If you tested pihole, you perhaps look for a smaller Command Line version? Install dnsmasq by: sudo apt-get install dnsmasq Here DNS Rule Injector Script (copy & paste): blocker.sh # www.linuxonlinehelp.eu 2019 # DNS Blocker for Small Linux with dnsmasq # #!/bin/bash # goto tmp (tmpfs) cd /tmp/ # get URL-Blocklists wget -O blocklist.txt https://v.firebog.net/hosts/Kowabit.txt […]
Split Files on embedded Linux Systems
If you run a embedded Linux PC like raspi often some Linux Commands fail without error messages, cause the hardware performance is low tech. Same i have seen on the split command.. to split a 50GB Photos-Archive File to 4Gb on a USB Drive i found out that: sudo split -b 4096m -d -u Photos.tgz […]
Smartmontools unlisted Devices
If you use a Toshiba Canvio 3tb Drive at a raspi then smartmontools will not see the usb drive. Try: sudo smartctl -t long -d sat -s on /dev/sdb -t test long or short -d drive protocol sata = sat -s enforce smart which is off by the usb drive firmware wait XXX Minutes then: […]
Postfix: Automatic UFW Firewall Updates
If you use a Mail Server with Postfix you got daily Spam Attacks by Scripts: How to fix? Install ufw Firewall Run a Scanner Script as cronjob On Debian/Ubuntu: Install ufw: sudo apt-get update && sudo apt-get install ufw && sudo ufw enable && sudo ufw logging off Scan Script: sudo nano /home/user/firewall-update.sh: #!/bin/bash # […]