Unlocking a password-protected hard disk

TL;DR: Recovering data from a password-protected SATA hard disk that was locked by a Thinkpad I wish this post would be as generally valid as the title suggests; at this hour I'm just unspeakably glad to have unlocked a hard disk I didn't even know I had locked and can finally go to bed. What … Continue reading Unlocking a password-protected hard disk

Controlling the TP-LINK HS100 Wi-Fi smart plug

[update 27 January 2017] TP-LINK HS100 project on github: https://github.com/ggeorgovassilis/linuxscripts [update 24 October 2016] TL;DR; This is about a shell script which controls the TP-LINK HS100, HS110, HS200 Wi-Fi smart power plugs.  I was scurrying down the home automation isle at the local electronics discounter, firm in my determination to make it without distractions to … Continue reading Controlling the TP-LINK HS100 Wi-Fi smart plug

Ubuntu on the Acer Aspire E15 (E5-571G-51TH)

Having failed the 3rd repair attempt at the Thinkpad E540 [1] I gave up and bought the next best laptop from the nearby store that somehow is usable for programming. Behold: the Acter Inspire E15. 8GB RAM, i5, matte screen (1920x1080). It worked out of the box with the SSD transplant from the old Lenovo, … Continue reading Ubuntu on the Acer Aspire E15 (E5-571G-51TH)

Formatting USB flash drives for write speed

Flash drives enjoy a reputation for being fast and that certainly goes for high-end models with their elaborate memory controllers and multi-bank layouts. A fundamental "problem" with current flash memory technology is that writing even a single bit of information requires that an entire block of flash memory is reset first [1], which greatly reduces … Continue reading Formatting USB flash drives for write speed

Reducing power consumption on the HP Probook 4720s and Ubuntu 12.04

As said earlier, Ubuntu 12.04 does a good job with power management on the 4720s. With some manual settings power consumption can be further decreases, albeit not much this time. I wrote this script which takes a parameter: on: enable power management settings off: disable power management settings extra: on + enable extensive power management … Continue reading Reducing power consumption on the HP Probook 4720s and Ubuntu 12.04

Reducing HP 4720s power consumption under Ubuntu Linux 11.10

Mainly annoyed by the loud fan I looked into ways of reducing power consumption of the HP Probook 4720s and came up with this script: #!/bin/sh -e # Increase filesystem write cache timeoutecho 1500 > /proc/sys/vm/dirty_writeback_centisecs # Enable power management on all PCI devices find /sys/devices/pci* -path "*power/control" -exec bash -c "echo auto > '{}'" … Continue reading Reducing HP 4720s power consumption under Ubuntu Linux 11.10

HP Probook 4720s on Ubuntu 11.10 64bit Oneiric Ocelot

The new Ubuntu 11.10 is out as of yesterday, and naturally it is time for another upgrade. Because of the many tweaks [1], [2] I decided for a fresh install, this time directly on the notebook harddisk instead of a flash card. The live ISO worked nicely from the USB stick except for the WLAN, … Continue reading HP Probook 4720s on Ubuntu 11.10 64bit Oneiric Ocelot