There was an error in this gadget

Sunday, March 22, 2009

OpenDNS in Ubuntu instead of local DNS along with automatic updater (inadyn) for dynamic IPs

Basically you need to change your network settings so that your DNS nameservers always point to the openDNS servers rather than those provided by your local ISP.

openDns nameservers are: &

For the case of a DHCP client that is mobile or where you do not have control over the DHCP service configuration, the procedure is:

sudo gedit /etc/dhcp3/dhclient.conf

Add a prepend line or change the existing one to read:

prepend domain-name-servers,;

Restart networking with

sudo /etc/init.d/networking restart

Will be writing down how to use a local dns cache soon using dnsmasq


Now getting to the part where we need to dynamically update our openDns network if our IP is non-static. The solution for this is

1. wget
2. unzip -a
3. cd inadyn.source.v1.99/
4. sudo apt-get install build-essential
5. sudo apt-get install libcurl4-openssl-dev
6. make
7. gedit inadyn.conf
here put your information (username, password, alias). Make sure on the OpenDNS settings you enable "Set Up a Dynamic IP".
8. sudo cp inadyn.conf /etc/
9. /bin/linux/inadyn

^^^Steps taken from this link as well:

CREDITS GOTO: ( referred to for the local dns entry)

Sunday, March 1, 2009

Get the new notifications to work on Intrepid

Jaunty Jackalope or Ubuntu 9.04 which will be out on 23rd April 09 will have a new notification system.

If some eager folks like me are interested in making them work on Intrepid, follow the instructions below:

$ sudo apt-get update

$ sudo apt-get install bzr gnome-common automake libdbus-glib-1-dev libgtk2.0-0 libgtk2.0-dev libgtk2.0-common libgconf2-dev libx11-dev libnotify-dev libnotify1 libnotify-bin libc6 libcairo2 libdbus-1-3 libdbus-glib-1-2 libgconf2-4 libglib2.0-0 libgtk2.0-0 libpango1.0-0 libpixman-1-0 libx11-6

bzr branch lp:notify-osd

cd notify-osd



Now you can start it:

killall notification-daemon ; ~/notify-osd/src/notify-osd

You can interrupt the new notifications system by hitting ctrl+C. That will automatically bring back the old ones.

How to test it ?

A test script is included, which will show a bunch of fake notifications. To test it, open a new terminal window and type:


Now a the test notifications should show. On the right upper corner of the window.

How to make it default ?

A simple way may be:

gedit ~/

Then paste there this:

killall notification-daemon ; /home/[username]/notify-osd/src/notify-osd

Then save, exit from gedit and..

chmod +x ~/

Then go in System->Preferences->Sessions and add a new item with ~/ as the launching command.

Used the instructions from here, here and here

Follow this blog !!!