zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Watchdog for ARM systems

April 26, 2020 by Igor Drobot Leave a Comment

Watchdog is responsible for monitoring tiny systems like raspberry PI, BeagleBone or any other system.
The main functionality of the watchdog is to check, if the system is still responding, lets say, to keep-alive messages.
Let’s assume, the system is stuck in a kernel panic, this will be automatically restarted by watchdog after reaching a grace time period. So a manual rebooting by unplugging the DC adapter is not required at all.

[Read more…]

Filed Under: Bash, Linux, Monitoring, Programming Tagged With: bash, Linux, Monitoring, Python, watchdog

Change Munin Hostname

December 26, 2013 by Igor Drobot Leave a Comment

Munin

If you need to change the hostname of an existing munin node with a lot of data, and you want to retain all this existing historical data, follow this procedure:
[Read more…]

Filed Under: Bash, Linux, Monitoring Tagged With: bash, mass rename, Munin

Fedora update-grub

February 12, 2013 by Igor Drobot 1 Comment

Fedora Logo

After some days of my vacation, my Fedora workstation was not able to boot. I stuck in the grub rescue shell, something was wrong with my MBR-recoord. There was a wrong UUID.

As I tried to update grub (command update-grub) – I stuck again – command not found! This is a Debian/Ubuntu specific command and is not available here.

This is a update-grub in Fedora way:

1
grub2-mkconfig -o /boot/grub2/grub.cfg

grub2-mkconfig -o /boot/grub2/grub.cfg

And finally the MBR installation:

1
grub2-install --recheck --no-floppy /dev/sda

grub2-install --recheck --no-floppy /dev/sda

Filed Under: Bash, Linux Tagged With: Fedora

Internet Super Server

February 12, 2013 by Igor Drobot Leave a Comment

super-server

Inetd listens for connections on certain sockets. When a connection is found on one of its sockets, it decides what service the socket corresponds to, and invokes a program to service the request. The server program is invoked with the service socket as its standard input, output and error descriptors.

Essentially, inetd allows running one daemon to invoke several others [Read more…]

Filed Under: Bash, Debian, FTP, HTTP, Linux, Networking, Ubuntu Tagged With: Debian, FTP, inetd, ssh

Verifying Private Key matches a Certificate

January 29, 2013 by Igor Drobot 2 Comments

Certificate

If you get a certificate from a customer and you should implement it in some piece of software (for example nginx). The first step is to compare the received files.
After this check the displayed hash should [Read more…]

Filed Under: Bash, Debian, HTTP, Linux, Networking Tagged With: OpenSSL, Private Key, security, SSL

  • 1
  • 2
  • 3
  • …
  • 10
  • Next Page »
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok