Tag Archives: linux

Recovery: Recover files from SD Cards or dd image

Hi,

linux has 3 tools for recovering files from a (damaged) SD Card or from an dd image taken by ddrescue. Usually all tools need an empty output directory.

Continue reading Recovery: Recover files from SD Cards or dd image

Advertisment to support michlstechblog.info

Network: Forwarding SNMP Traps by mail with snmptrapd and snmptt

Hi,

this post describes a simply way to forward all traps by E-Mail received via SNMP.

This process is splited in several steps

  • Receive the traps => snmptrapd
  • snmptrapd calls the trapshandler script after each received trap. The trap details are handed over to the script by STDIN
  • The trap handler is /usr/sbin/snmptthandler. This script spools all traps to /var/spool/snmptt
  • The snmptt gets the traps from the spool folder, translate them in a human readable format and calls a custum script defined by snmptt.conf

Continue reading Network: Forwarding SNMP Traps by mail with snmptrapd and snmptt

Linux: Switch keyboard layout in (bash) shell

Hi,

linux allows to change the keybaord layout “on the fly”.
Continue reading Linux: Switch keyboard layout in (bash) shell

Debian: Enable apt debug logging

Hi,

for troubleshooting purposes (i.e. certificate issues) it is sometimes to enable the debug logging of apt.
Continue reading Debian: Enable apt debug logging

Debian: Disable certificate crl check for apt

Hi,

there is an issue in the openssl libraries < version 3 that an crl check of an certificate fails if the file size of the crl file is greater then 100kB.

Continue reading Debian: Disable certificate crl check for apt