OpenVPN with easyvpn Debian 10 Buster

Create CA and certificates mkdir /root/ca cd /root/ca /usr/share/easy-rsa/easyrsa init-pki /usr/share/easy-rsa/easyrsa build-ca Fill in the CA part (Common Name). Next, generate server certificate. nopass option disables password. /usr/share/easy-rsa/easyrsa build-server-full server-name nopass Next, generate client certificate. /usr/share/easy-rsa/easyrsa build-client-full oneplus6t nopass Certificates are valid 3 years by default. To remove passphrase (if you forgot nopass): openssl rsa ...

Hyper-V Create Virtual Machine — reclaim disk space

Hyper-V Create Virtual Machine -- reclaim disk space
Create Virtual Machine Wizard Create Virtual Machine wizard in Hyper-V downloads an image (ubuntu / windows 10) and stores it somewhere (!). When the virtual machine is created, it’s placed correctly in the virtual machine location, as indicated in settings: But the images that it used to install them are stored on C:\ The “disk ...

Cisco 7962G – The Best SIP phone?

Cisco 7962G - The Best SIP phone?
I’ve been on a lookout for a dream sip phone for a while. A dream to me is: cheap and reliable, and with some decent customizations. When I came across a Cisco 7962G for $9.37 shipped (+tax) on Amazon, I knew it had to be mine. My only regret is… That I purchased just one. ...

The road to 2.5gbe.

So I had a great idea. Buy two 2.5gbe ethernet adapters (like these) and connect them to get faster link to my NAS. Imagine my surprise when my Debian 10 Buster did not detect the network card (it works fine in Windows). $ lspci ... 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 8125 Frustrated, ...

Shucking WD Easystore WDBCKA0120HBK-NESN

WD Easystore 12TB from BestBuy, purchased in May 2020, contains WDC WD120EMFZ-11A6JA0. It weighs XXX grams. (to be filled in when I actually take the drive out) smartctl -a (still within enclosure): === START OF INFORMATION SECTION === Device Model: WDC WD120EMFZ-11A6JA0 Serial Number: Z2GD1ZVT LU WWN Device Id: 5 000cca 28dc57bf1 Firmware Version: 81.00A81 ...

Freezing Acrobat Reader DC when signing pdfs using Smart Card

Freezing Acrobat Reader DC when signing pdfs using Smart Card
I couldn’t figure out why I cannot sign PDFs using my smartcard anymore (I had no troubles on a different computer a couple months back). Adobe Acrobat Reader would simply freeze to death after selecting my Smart Card certificate, with no apparent reason. Of course Googling it finds posts on Adobe forum which sound like ...

Automatic renewal of letsencrypt.com certificates 1

On my personal servers I am using letsencrypt certs on debian and/or ubuntu. Several times now I couldn’t renew it automatically, due to a various of reasons, but there is one in particular I want to remember for future reference: The nginx plugin is not working; there may be problems with your existing configuration. when ...

Serialization choices

I’ve been recently looking into different serialization options. While there are plenty of writeups (even in C#) already available, I wanted to: Have one about C# Learn something new 😉 Look into my particular data distribution / characteristics Understand not only performance, but also size impact I’d say that there are very few summaries that you should ...

Programming Atmega 328P-PU using Raspberry Pi (B+)

Programming Atmega 328P-PU using Raspberry Pi (B+)
[I am new to microcontrollers – whatever I’ve written worked for me, but proceed at your own risk] I wanted to start playing with a little bit of home automation. I recently got RaspberryPi. I also got a few Atmegas 328P-PU (much cheaper than complete arduino! $1.7 each). However… I am still waiting for my ...

A few words about (unit) testing

Purpose of testing I think every developer knows something about different types of testing (unit, integration, functional / acceptance, regression, etc.). Add to this performance testing, black-box testing and you get sizable family of possible tests to write. If you start differentiating UI testing as a separate functional testing, the family grows even more. First ...