Creating a simple restart monitor

My internet connection at home comes down once in a while. To auto restart this service, I have created following script.

#!/bin/bash
# eciadsl-pppoeci Process Monitor
# Restart internet connection when it’s down

RESTART=”service adslconnect restart”
STOP=”killall pppd”

#path to pgrep command
PGREP=”/usr/bin/pgrep”

# eciadsl-pppoeci daemon name
eciadsl=eciadsl-pppoeci

# find eciadsl-pppoeci pid
$PGREP ${eciadsl}

if [ $? -ne 0 ] # if eciadsl-pppoeci not running
then
# stop all related services
$STOP
# restart adslconnect
$RESTART
fi

Just add this line to your /etc/crontab and restart crond

# Every 10 minutes
*/10 * * * * root /root/check_pppd.sh

That concludes the tip of today.

Exchange replacement Zarafa releases software Open Source

Zarafa

Zarafa open source offering will consist of the Zarafa server, Z-Merge (a new web services API platform for application integration), the Zarafa IMAP/POP3/iCal gateway, the Zarafa Administration Console, the Zarafa WebAccess and many other tools and services. It is the only groupware platform that includes open source ActiveSync compatibility, which enables organizations to have remote synchronisation and pushmail for Windows Mobile, Nokia’s Mail for Exchange and iPhones.

More information on www.zarafa.com

Music Maestro!

This is the best live version I have ever listened to.
He fills the stage as no other. I take a bow!

Enjoy this music video from The Boss himself.


Iptables settings for IAX with Calliope behind firewall

Calliope by SkillTeam

SIP/RTP are great protocols but when your Calliope (IP Telephony solution of SkillTeam based on Asterisk) is behind a firewall, it’s hard to connect securely.

Using IAX provides the solution. The only thing to do is to open port 4569 (for IAX2 port 5036) and forward this to your internal Calliope Server.

Here is the firewall rule:

#Allow IAX connections
$IPTABLES -A INPUT -p udp –dport 4569 -j ACCEPT
$IPTABLES -A OUTPUT -p udp –dport 4569 -j ACCEPT
$IPTABLES -t nat -A PREROUTING -i ppp0 -p udp –dport 4569 -j DNAT –to-destination your.internal.ip.address:4569

Symantec Backup Remote Agent and Domino 8

This agent tend to crash the Domino server sometimes.

I was provided a solution from Symantec. Here is what I did:

1. Stop the Backup Exec remote agent service on the Domino server

2. Go into the registry and browse to the following path:

HKLM\SOFTWARE\Symantec\Backup Exec for Windows\Backup Exec\Engine\DOMINO

3. Change the following 2 DWORD values:

Enable Change Journal = 0

Enable Notes Database Filtering = 0

4. Close the registry

5. Browse to C:\Program Files\Symantec\Backup Exec\RAWS\logs and delete NOTESDB*.UCJ files

6. Restart the Backup Exec remote agent service.

Note: Do not change the registry settings back to there original settings. Every article states they you should change the registry settings back. Symantec says that the changes will not affect the Domino backups.

Music Maestro!

Very good rock song.

Enjoy this music video from The Ditch (Belgian rock band)


New pictures

Picture Gallery
For those who like pictures I have some great news.
Just added some new pictures to this gallery.

Dimdim : webmeetings made affordable

Dimdim

Dimdim provides a free, hosted web conferencing service where anyone can share their desktop, show slides, collaborate, chat, talk and broadcast via webcam – with up to 20 people for free. It also has paid versions that can support hundreds and even thousands of attendees per meeting. And because they find this is not enough, Dimdim provides also an open source version!

Yesterday I was in a Dimdim meeting with DD Ganguly (CEO of Dimdim) and I was very impressed of the flexibility, quality and features of this product.

On July 9 2008, Dimdim raised $6 million in a second round of funding, and that in a difficult economic climate.
This illustrates clearly the potential of this company.

More information on this product/service on www.dimdim.com

Music Maestro!

Ben's Brother

Ben’s Brother is a five-piece band from the UK, headed by founder Jamie Hartman. Their band was named after Jamie’s big brother Ben, in whose shadow he lived. Jamie always considered himself the beta male of the family, which gave him the idea for the title of their debut album.

Their debut album, Beta Male Fairytales, was released on August 6, 2007.

Listen now:

Firefox 3: Remove bookmarks from Navigation bar.

I like using Firefox but only without the autocomplete feature at the navigation bar. This is a stupid and annoying feature I want to get rid off.

To disable, follow this procedure:

Step 1: Create a file called userChrome.css in C:\Documents and Settings\Your user name\Application Data\Mozilla\Firefox\Profiles\xxxxxx.yyy\chrome

Step 2: Add following text to this file and save it.

richlistitem[type=”bookmark”]
{
display: none !important;
}

Step 3: Restart firefox.

about my life, my work, my interests, technical stuff, ….