Wednesday, December 16, 2015

Wind Screen Up

During evening developsing it might hurt to stay connected while database gets dumped. In the world of console driven operating systems there are several nice solution to that. One of them is the screen command.
With screen one can detach from an ssh session without interrupting the current execution, and later on it is easy to reattach and see what has happened.

Usage

Start it with:
$ screen
Detach:
$ <CTRL+a d>
Reattach:
$ screen -r
Reattach when multiple sessions:
$ screen -r <sid>
List running sessions:
$ screen -ls

Rejoyce!



Thursday, December 10, 2015

VPN breaks after 2 minutes

VPN breaks after 2 minutes

There is nothing worse than having a bad internet connection. I usually take some work home as operational tasks have to be done during the night. It is a bit funny that my internet connection at home is much stronger than the one in the office. But recently one of my VPN connections started to fail after 2 minutes. It was horrible, and I could not get a clue...
Of course it was my fault! Somehow my very own home network was configured in the IPv4 routes for the VPN connection. This caused a collision - a timed bomb.