Enrico Rossi

From Ikiwiki to Hugo

Looking for a new static site generator I choose Hugo. The cause for this switch is the need for a real-time rendering of the site while editing the pages and an easier way for theming it. Well to be honest I’d say a better or easier way to choose an already cooked theme and Hugo do have a wide range of themes. Also, and not a small thing to take into account, Hugo have and extensive deployment, documentation, use cases and youtube help video which speedup the learning curve.


How to ban Postfix SASL LOGIN authentication failed in Debian Bullseye.

I have spent sometime to find the reason why my fail2ban installation seems not to be able to catch these lines. The answer in the end was quite simple: If you log using systemd, then you need to specify a journalmatch line to filter out those lines properly. This type of connections: Mar 5 10:01:40 hostname postfix/smtpd[88112]: warning: unknown[]: SASL LOGIN authentication failed: UGFzc3dvcmQ6 can be filtered out with this setup in /etc/fail2ban/jail.


Update on the qemu-system-x86_64 command line arguments.

If you, like me, does not like to have the whole libvirt just to run some VMs a couple of times per month, here is my working example for the qemu, updated, as far as I know, to the next Debian version (11 aka Bullseye). Note the use of pulseaudio, which work perfectly now. To connect to the VM use the spicy command and connect to localhost port 5900. Running a Debian Buster image.


Flash programming STM32 maple mini

I had a little confusion regarding how to flash a firmware into the maple mini board and, more in general, on the STM32 family microcontroller. Normally I have always used an st-link V2 usb pen for both upload a new firmware and debugging purpose, but a friend ask me “why we can’t use the USB connector directly without any other adaptor?” Digging a little bit I have found that STM32 micro do have an in-ROM bootloader to update the firmware, but it is not the same software on every stm32 device ( STMicroelectronics AN2606 which describe the stm32-microcontroller-system-memory-boot-mode).

1 of 15 Next Page