Skip to content

Moving virtual machines from KVM to ESXi 6.0

I’ve been running KVM for quite a while on my lab server. It’s been running without issue but with the release of vSphere/ESXi 6.0 I felt it was time to move back to VMware. I wanted to preserve the virtual machines already running so I set out to move these to ESXi. I ran into some issues which I’m not sure is a generic problem or specific to ESXi 6.0 but I’ll describe what I…

Continue reading Moving virtual machines from KVM to ESXi 6.0

DIY DNS unblocking (using a US VPS, haproxy and OpenWRT)


I prefer using the US Netflix catalogue over the Danish. Though I could easily use one of the “smart DNS” providers, it is more fun to tinker with it yourself.

pusio-radiograph-tvFollowing the shutdown of Tunlr, a good person decided to try and solve the problem himself. All credits go to him, this article is just my write-up on how I implemented it in my network. No matter what, this method requires a good knowledge about your own network as well as the components involved.

It is also important to remember you do not get the possibility to switch between different countries like you get with the smart DNS solutions.

Summed up

  • When a client in the network requests one of the services support by the solution, it is pointed to a IP configured on the router
  • The requests for the service is redirected to haproxy running on the US VPS
  • The service shows content from its US catalogue but the streams comes from the nearest CDN PoP

Continue reading DIY DNS unblocking (using a US VPS, haproxy and OpenWRT)

Random desktop background from command line

As mentioned in my previous post i synchronize my wallpaper folder between my desktop computers. While the are various ways of setting a random desktop background (XFCE – which I use – has this built in), I’ve had to conclude it’s just easier from the command line. In XFCE it is not possible to do this from cron it seems, so I made a script which is run at start-up: #!/bin/bash IFS=’ ‘ DIR="$HOME/etc/wallpaper" while true  do…

Continue reading Random desktop background from command line

Desktop wallpapers

My collection – Enjoy. (This is the same folder I use for randomized backgrounds on my computers)

Continue reading Desktop wallpapers

Using OpenWRT to change Chromecast’s DNS resolvers

Chromecast may be smart and handy but annoyingly Google have decided to force it to use it’s own name servers as resolvers (which is a pain when the local resolver is configured to allow clients to use US Netflix, Hulu and the like). If you are running a OpenWRT based router, you are in luck Custom  In the web-interface, go to Network → Firewall → Custom Rules and add these lines (I’m using SmartDNS Proxy – adjust to…

Continue reading Using OpenWRT to change Chromecast’s DNS resolvers

Wake on WAN using OpenWRT 12.09

If you have the need to wake up machines on your local LAN from the outside, there are a few steps you need to take to get it working with OpenWRT (12.09) Select an unused IP address (which you are certain will never, ever be used). I will be using in the following Log into OpenWRT and go to System → Startup → Local Startup (the text input at the bottom of the page) and…

Continue reading Wake on WAN using OpenWRT 12.09

Installing and running agent on a headless (Ubuntu/Debian) Linux

I’ve started to use instead of services like Dropbox, SpiderOak and similar.

Why? Because it’s fast (unlike Dropbox), it’s simple (unlike SpiderOak) and it’s able to run on all major platforms (Windows, OSX, Android, iOS and Linux, both graphical and console. Both are native Linux application).

This article explains how to install the agent on Linux – more specifically how to run the console agent on a Ubuntu-derived distribution.

Continue reading Installing and running agent on a headless (Ubuntu/Debian) Linux outage 2013-03-03 (the entire domain) was offline today from 09:47 to 10:46 UTC follwing a major outage at Points to for releasing a full incident report.

Continue reading outage 2013-03-03

IPv6 with, ChicagoVPS and Ubuntu

I have recently moved my hosting to a couple of VPSes at ChicagoVPS and wanted to use IPv6 (via ChicagoVPS uses OpenVZ which presents a couple of problems $ ifconfig sit0 sit0: error fetching interface information: Device not found $ sudo modprobe ipv6 FATAL: Module ipv6 not found. It turns out, this is a fairly common problem though OpenVZ is supposed to support IPv6. Luckily, someone made a small userland program (tb-tun, which “tunnels”…

Continue reading IPv6 with, ChicagoVPS and Ubuntu

iptables on a ChicagoVPS (OpenVZ) VPS

iptables is not always easy to deal with so I prefer to use Uncomplicated firewall (ufw) in Ubuntu, because it simplifies configuring and maintaining my firewall rules. Unfortunately, ufw does not play nice with OpenVZ containers so I decided to find something else. In the end (after testing various things) I decided to install the package iptables-persistent which is not as sexy as ufw but gets the job done. iptables-persistent uses two configuration files /etc/iptables-persistent/rules.v4…

Continue reading iptables on a ChicagoVPS (OpenVZ) VPS

Page optimized by WP Minify WordPress Plugin