OpenWRT on a Belkin WeMo - The Hard Way

If you're stuck with a Belkin WeMo where you had unfortunately upgraded the firmware, alas, the only way I've found to get OpenWRT running on it is to break out the soldering iron. Unless another vulnerability is found...  If you're running firmware version WeMo_WW_2.00.2176.PVT or lower, check out The Easy Way.

OpenWRT on a Belkin WeMo - The Easy Way

Vulnerabilities aside, the firmware (even the latest version) on the Belkin WeMo is just plain flaky. I've had multiple issues where the device appears to just "hang", flashing an orange error light if it temporarily loses its wireless connection (which seems to be around once a week).  Fed up, I decided it was time to grant them a new lease of life, by reflashing them with OpenWRT.

Showing the User Agent in the Drupal 8 dblog

If you've just done a site restructure or migration to Drupal 8, you will inevitably need to redirect pages from your old URL scheme to however you've structured the new site.  In Drupal 8, the easiest way is to monitor the database log, filtered with "page not found".

Many of these hits however will come from bots scanning your site.  But to tell whether it's a random bot, Google, or likely to be a real user, we need to inspect the User-Agent header.  This means digging into your log files.  Wouldn't it be more convenient if you had a quick & easy way to see these details?


Lotto: Better luck at the Casino

Occasionally, you see massive lotto jackpots. On New Years Eve, the pot was around the $30 million mark. The higher the jackpot gets, the more tickets are sold.

It's a very strange form of gambling. Most people probably pay around $20 for a lotto ticket, and have a 1 in 2,036,265 chance of winning the jackpot. And even when you do, it's likely you'll have to share it with a number of other people. In the New Years Eve 2010 draw, 19 people shared the Division 1 prize!