Category: Linux & Ubuntu
-

Recovering My Dad’s Ransomware’d NAS: Wannacry wannabe
My dad’s Unraid server got hit by WannaCry-inspired ransomware while he was away. It only encrypts the first 5 KB of each file, so most of the data is recoverable without paying. Here’s how we worked that out, and the tool we built for the full recovery.
-
Scheduling cache release in Ubuntu
To keep my server running smoothly, I use crontab to schedule release of cache files: This schedules the tasks to run at 5:01 am and 5:02 each day. Sudo sync is used to write and currently used data buffers to non volatile memory The next command then frees up space in the non-volatile
-
Scheduling USB device reload on Ubuntu
Intermittently I have an issue with some of my webcams connected to my Ubuntu server. The devices disappear as if they are disconnected. I found a simple workaround for this was to run the command: Simple scheduling of this command using crontab achieves a more permantant workaround: This cron is set to run at 5am…
-
Pulse Audio Ubuntu not loading correctly on boot
I found that pulse audio wasn’t loading right on boot, resulting in ‘dummy audio device’. If you’re having the same issue, you can follow these quick steps to work around it. Simply running killing the pulseaudio service would force it to load correctly But this is only a fix until the next reboot. To add…
-

Asus AC-56 Ubuntu 20.04 Driver
I was getting really terrible speeds from the Intel 3160 adaptor built into the PC In was using to host my docker containers. As 3 of these containers were running MJPG streams, I really needed to have the best network possible. After toiling with the 3160 and reviewing information on the forums, most people concluded…
-
Using UDEV rules to set a static location for /dev/vid* devices
Ubuntu will often assign a USB device to a new address after each re-plug of the device or reboot of the host. The problem: When USB devices are reconnected or the system restarted, video devices are assigned to a /dev/vid* device path. This path can vary, therefore creating issues when wanting to use static paths…