December 3, 2009

Keeping SSH Session Alive

Preventing a SSH connection from dropping while you are inactive or waiting for a script to finish is quite easy. If you are on a Ubuntu or Debian client you only have to add one line to

ServerAliveInterval 5

In OSX the config file for ssh can be found in /etc/ssh_config.

Actually this line sends a keep-alive packet to the server every 5 seconds. You can change the interval as you like, but for me it works best with 5 seconds.

Alternatively you can also use the parameter when connecting to the remote host. The command looks like this:

ssh -o ServerAliveInterval=10

May 10, 2009

Installing Adobe Flash Plugin in Mozilla Prism on Linux

Today I gave Prism a try. I have several websites, which need a proxy to get access, but for others I don’t want to use the proxy at all. So I created a new configuration to have the site available in one click. After starting up the first time, I realized, that the Adobe Flash plugin is not installed. After stumbling around the web I found out that basically only the needs to be copied to the plugins folder of Prism.

This is a bit tricky, because there is no plugins folder in Prism by default. So I started with
root@HASS:/opt/prism# mkdir plugins
for creating the folder in the right place.

Next I tried to locate the Flash plugin file with

As a result i got

The next step was copying this found file over to the newly created plugins folder
cp /usr/lib/adobe-flashplugin/ plugins/.

From what I saw, this problem does not happen on other platforms.

March 20, 2008

Convert uif Images in Ubuntu Linux

In my windows ages I was used to make backups in uif format. Sofar I couldn’t find any way to transform these images back from .uif to .iso. For all the people out there who don’t know what uif is:

Universal Image Format(UIF) is a powerful compression image file format for backing up CD/DVD. It is fast, reliable, and has rich set of features which include password-protected, data encryption, MD5 checksum support and much more. UIF can not only contain the complete data of CD/DVD just like ISO image, But UIF also supports backing up multi-session CD/DVD, Audio-CD, VCD, SVCD and DVD-Video.

Before I was always using magicISO in wine or virtualbox. Today I found a great tool to do that right inside ubunt. Just get the tool here and compile it and have fun!