Digitally sign drivers in Ubuntu 17

I cane across the solution when installing Virtual box on Ubuntu but got the old

modprobe: ERROR: could not insert 'vboxdrv': Required key not available

I was having the same issue with my r8152 drivers for my Lenovo Thunderbolt 3 dock

This( article got me 90% of the way to a solution but I wasn’t able to load the driver.

The soltuion was fialry simple. Create a key, trust the key, use the key to sign the driver, reboot, Import the key during the MOK management boot screen, reboot, modprobe the driver, All good :)

ESP8266 Watchdog

When developing on an ESP8266 I came across the issue of the WDT not being triggered by my code and subsequently getting reset by the hardware WDT.

Here is one of the few useful resources I found on the topic –

Essentially it’s as simple as adding ESP.wdtFeed(); to your loop to reset the WDT so it doesn’t time out and get rebooted.