It's not possible? Says who?

Archive for April, 2009

Quick & Dirty patching of KNOPPIX boot options

with one comment

Sometimes I use Knoppix as rescue system. Usually there is an English and a German ISO image on the download page. As search results for English error messages are generally much better, I use the English version. However, I prefer the German keyboard layout and I only need the text console, therefore I had to enter “knoppix 2 keyboard=de” each and every time I booted Knoppix.

It’s tedious, so I changed the default boot options directly in the ISO image:

Read the rest of this entry »

Written by johnLate

April 18th, 2009 at 10:22 pm

Posted in Uncategorized

Binding Apache 2.2 to a dynamic IP (Debian)

without comments


I have a private network with a Debian box called “Sentinel” as NAT router to the Internet. The external IP address of Sentinel is dynamic, i.e. changes with each reconnect. The private network is Sentinel’s private IP address is on interface eth0. The Internet is accessed through interface ppp0.

I want Sentinel to serve 2 different HTTPS sites (each with its own SSL certificate), both listening on the standard port (443). One should be accessible from the local network, the other one from the Internet.


How do I configure Apache?

Listen    # private service
Listen ??.??.??.??:443 # public service

I can’t set an IP address, because it’s unknown and can change. Also I can’t leave it blank to let Apache listen on all interfaces because that would include and create a conflict.

I looked through the Apache 2.2 docs but didn’t find a solution for this.


So, if Apache only wants to bind to all interfaces or an interface with a fixed IP address, why shouldn’t I give it a fixed IP address and do DNAT for connections coming from the Internet?

Read the rest of this entry »

Written by johnLate

April 13th, 2009 at 8:00 pm

Posted in Uncategorized

Using Ctrl+Tab in GNU Screen over PuTTY

with 6 comments

Being used to hit Ctrl+Tab for switching between tabs in e.g. Firefox, Opera, Miranda, I also wanted to use it in GNU Screen.

After a short search, I found a blog post “How to use Ctrl-Tab in GNU Screen” with a solution for xterm.

However, I use PuTTY which doesn’t transmit anything when you press Ctrl+Tab. But it’s open source, so I grabbed a copy of the 0.60 sources and patched putty\WINDOWS\WINDOW.C (using the key codes from Mikael Ståldal’s blog post):

Read the rest of this entry »

Written by johnLate

April 10th, 2009 at 5:48 pm

Posted in Uncategorized