debian

Smartd Reports “Reallocated_Sector_Ct” erroneously

Problem: In syslog you find a line like this: But when you check with “smartctl -a” you find a reallocated sector count of zero: Discussion: The harddisk had actually no reallocated sectors, but Smartctrl (Smartmontools) reported a wrong error, because when it was started a different harddisk with errors was found as /dev/sda, but with …

Smartd Reports “Reallocated_Sector_Ct” erroneously Read More »

Devuan4/Debian11 usability annoyances

Problem: When pasting commandos to the shell, the shell no longer executes the command but shows the pasted text highlighted and shows the line feed but does not process it. Discussion: Devuan4 and Debian11 upgraded the readline library with a new default “feature” that should prevent noobs from accidentally pasting commands into the shell. But …

Devuan4/Debian11 usability annoyances Read More »

Devuan / Debian Versions

Admins who prefer a Unix style operation systems and don’t like the centralized “one tool doing it all” approach of systemd, switch to Devuan. This mostly improves uptime over boot time. Admins of servers don’t care about boot time and prefer uptime. This list keeps track of the related versions of Devuan and Debian. Debian …

Devuan / Debian Versions Read More »

DHCP Relay on Linux

DHCP relaying is used to forward DHCP requests to a DHCP server if the client and the server are not on the same network. One standard implementation of this is isc-dhcp-relay which is part of the isc-dhcp package. Problem: The dhcrelay is forwarding the dhcp request to the dhcp server and the dhcp server is …

DHCP Relay on Linux Read More »

Linux Live-boot Fails after Debian/Devuan Update

Problem: after updating from Debian 8 to Devuan 2 the overlay live-boot failes with “no such device” Discussion: I use a bootable USB stick combined with live-boot. In this case the USB stick partition 3 is a normal ext4 file system used as read only “plainroot” filesystem. Live-boot overlays this with an ramfs.As I don’t …

Linux Live-boot Fails after Debian/Devuan Update Read More »

APT sources list

Problem: when debian goes from “testing” to “stable” to “oldstable” the package sources change. eg. jessie-updates are remove, same happened to jessie-backports The current file /etc/apt/sources.list for jessie (currently oldstable) could look like this deb http://ftp.debian.org/debian/ jessie main contrib non-freedeb http://security.debian.org/ jessie/updates main contrib non-free

Configure WLAN Statically in Debian/Linux

If you want to configure WLAN settings on a Linux machine statically you can use the normal /etc/network/interfaces configuration method of Debian. For WPA-PSK you can use this 3 steps: Install the “wpasupplicant” package Generate a psk line with “wpa_passphrase” and copy the hex string after “psk=” root@server:~# wpa_passphrase WLANNAME# reading passphrase from stdinthepasswordnetwork={ ssid=”WLANNAME” …

Configure WLAN Statically in Debian/Linux Read More »

Huawei Mate Book Pro X

I bought a new notebook, and installed a minimal Linux distribution on it. While setting everything up, I put together a collection of configuration files and scripts, and compiled them in this github repository: https://github.com/alexte/mate-book-pro-x-linux-config