Christian Weigel – WebIngenieur

… in pursuit of global and personal happiness

Following the installation instructions on the OpenVAS site I stumbled upon some problems importing the required Public Key.

The pgp.net keyservers seem to be not really reliably these so I was unable to use them to retrieve the required Public key for validating the repositories’ packages.

this resulted in the following error:

Reading package lists… Done W: GPG error: http://download.opensuse.org ./ Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY BED1E87979EAFD54 W: You may want to run apt-get update to correct these problems

to resolve this problem just download the key directly  from the repository

wget http://download.opensuse.org/repositories/security:/
OpenVAS:/STABLE:/v4/Debian_5.0/Release.key

and import the key manually

apt-key adv –import Release.key

update your package lists

apt-get update

and it should work without problems.

If your AWS resources are spread across multiple Regions, there is a simple trick to save you adding the –region=REGION parameter after each time your are issuing AWS EC2 API commands.

store your settings in a file e.g. ~/.ec2/eu-settings

export EC2_URL=https://ec2.eu-west-1.amazonaws.com
export EC2_REGION=eu-west-1

and e.g. ~/.ec2/us-settings

export EC2_URL=https://ec2.us-east-1.amazonaws.com
export EC2_REGION=us-east-1

now we define two simple aliases as shortcuts to these settings.

# alias eu=’source ~/.ec2/eu-settings’
# alias us=’source ~/.ec2/us-settings’

calling ‘eu’ or ‘us’ from shell will now switch the regions for you.

you may check that it worked by typing env and noting the values for EC2_URL and EC2_REGION.

These two aliases will – for now – only work in your current login session. To persist the setting, just do the following…

Persisting the aliases in /etc/bash.bashrc

edit /etc/bash.bashrc (in debian – this might differ a bit in other linux distributions)

# vi /etc/bash.bashrc

add

alias eu=’source ~/.ec2/eu-settings’
alias us=’source ~/.ec2/us-settings’

below anything that is written there. And call

# source /etc/bash.bashrc

The aliases should work as previously, but will now be available after a system restart or new login to your machine.

Check again using env if you want to verify everything worked correctly.

Inspiration taken from: http://learninginlinux.blogspot.com/2007/02/setting-environment-variables-through.html

Acquiring my Nokia E52 recently I wanted to make use of the integrated VoIP capabilities (no additional tools like Fring are needed). I will summarise the steps I took to get Voice over IP working (using BETAMAX JustVoip.com service). The settings should be more or less the same for other BETAMAX services like voipdiscount.com, jumblo.com, telbo.com, etc.

As a prerequisite you should have already registered an account with justvoip.com or another BETAMAX service of your choice.

Read the rest of this entry »

Cakefest 2009 WrapUp

Cakefest Logo

Cakefest 2009 was held from 9th-12th July 2009 in Berlin. Luckily I was able to attend the two day conference part of it on Saturday and Sunday. The crowd was really international. People from all over the world gathered – even folks from Australia and Japan joined the event. The bakers were overall very friendly and helpful – the talks really great! Read the rest of this entry »

Installing (x)Ubuntu on my dated Toshiba Satellite everything went smooth. Just after finishing the installation and getting the first package updates a strange Error with system-tools-backends occured.

Luckily this problem is already known and a Workaround to fix this problem exists.

Open up a terminal and type the following:

sudo invoke-rc.d system-tools-backends stop

sudo dpkg –configure -a

This resolved the error for me – thanks to Islevegan for his post on launchpad

Find a thorough description and how to resolve on launchpad

Upgrading to Kubuntu 8.10

As the geek that I am it was too tempting to immediately upgrade to the latest version of my (current) beloved linux distro. I expected everything to run smoothly – which as reality showed me again – is often not the case. And yes – I should have known better :-)

The Upgrade ran without problems, but after restarting my system – a black screen was greeting me. A bit of research using Links showed me that I am not the only one running into problems after the upgrade.

After tinkering around and wasting almost a whole night I managed to have KDM, X and my Desktop running again.

If you are running into similar problems – Kubuntu Ugrade to 8.10 – X Server doesn’t start – KDM not default Display Manager, please have a read of my post to the Ubuntu Forums where I summarized my efforts getting my X-Server and Desktop back.

Not such a pleasant start – but I am looking forward :-)