How to clear a complete history in MikroTik RouterOS?

In most cases, we don’t care for command history or memory log. It can be very useful to have all previous commands there and to find quickly that one we already typed.

However, there are situations when we want to:

  • clear the screen while working in the terminal mode
  • erase the complete command line history
  • empty (or at least to change the size of) memory log without restart our router

Continue reading

How to generate a certificate for a mobile device

For years, my focus has been on server certificates. I recently made a few simulation which reopened  the old question – how to make a certificate for a mobile device? Such device can be a Windows computer (either desktop or laptop), but also an Android or iOS device.

It took a while to collect all pieces together. I solved the riddle and I bring you this wonderful story. Continue reading

PEM, CER, DER… what’s that?

And don’t forget PFX, P12, and so on. Sooner or later, you will face the challenge that one system requires a PEM certificate, other (especially those Windows based) requires PFX, etc.

Although all that sounds complicated, actually it isn’t. All those files are the different forms of the same security certificate. Continue reading

How I wrote my shell script to control the BIND daemon

When I configured BIND for the first time, I edited the /opt/bootlocal.sh file and added the command to run the BIND daemon on startup. That command line is very long. In case that I need to restart the BIND daemon, it’s faster to reboot the whole Microcore server then typing that command,

The BIND installation in Microcore Linux doesn’t have a shell script for the daemon control. The good news is that we can write our own. And I wrote mine. Continue reading