Configure the fingerprint reader on ThinkPad X13 with Linux Mint

Thanks to this post, I configured the fingerprint reader of my ThinkPad X13 running Linux Mint 20.1. I can now login just by pressing a finger on the reader. Works for sudo as well.

Webp

To convert webp images to png, on a debian-derived linux:

  • install webp package
  • dwebp <webpFileWithWebpExtension> -o <pngFileWithPngExtension>

ESP-IDF UDP sender

This ESP-IDF application initiates a connection to a Wi-Fi access point. Once the connection is established, it sends a UDP datagram to a remote IP address and port.

When the connection is lost, the application tries to reconnect on a periodic basis.

There are two takeaways in this sample application:

ESP-IDF Ruuvi tag advertising data receiver

This ESP-IDF application receives and decodes advertisement data transmitted by a Ruuvi tag.

How to check the checksum of an IPv6 UDP packet

I have to check that the checksum of an IPv6 UDP packet is correct. Wireshark is one solution:

  • write the UDP packet into a text file, adhering to the format described here
  • in Wireshark, ensure that the checksum will be verified: select Edit > Preferences... > Protocols > UDP, and tick Validate the UDP checksum if possible
  • import the packet, with File > Import from Hex Dump...
  • for Encapsulation Type, select Raw IPv6

And that's it.

Pages

Subscribe to Front page feed