Feb 22, 2009

Laughter Dose

Today I am here with an humorous post, A joke somehow landed into my inbox. But this is a creation of an ultimate genius & so I wanted to share it with blogosphere.
Here it goes...........

An Israeli doctor says 'Medicine in my country is so advanced that we can take a kidney out of one man, put it in another, and have him looking for work in six weeks.'

A German doctor says 'That is nothing; we can take a lung out of one person, put it in another, and have him looking for work in four weeks.

The Russian doctor says 'In my country, medicine is so advanced that we can take half a heart out of one person, put it in another, and have them both looking for work in two weeks.'

An American Texas doctor, not to be outdone, says 'You guys are way behind, we recently took a man with no brains out of Texas, put him in the White House for eight years, and now half the country is looking for work.'

Feb 20, 2009

Wallpapers

Below I have listed two links to my picasa web albums, which contain some of my favourite wallpapers, feel free to download the ones you like & bring some appeal to your desktop. Link1 Link2

Feb 16, 2009

What I did on my birthday?

THIS POST IS MY REPLY TO EVERYBODY WANDERING WHAT I DID ON MY BIRTHDAY

As mentioned in my previous blog, yesterday was my birthday & am really more than happy receive lots of wishes from everybody & once again Thanks a lot to all. Today I share my birthday with the whole world. I am Thankful to internet & blogspot to let me do this.

Generally birthdays are party time, but this year for a change I wanted to be a bit religious and wanted to eat home made sweets. So to satisfy both the purposes, I asked my mom to prepare sukhdi. Sukhdi is a sweet made from wheat flour, jaggery & ghee (There is a chance I am missing some ingredients). According to Jainism, sukhdi is offered to Ghantakarna Mahavir (A Jain Deity).

Till my mom completed her kitchen work, I finished my daily routine, & so did bhai & dad. Later, we did Aarti (A method of worshiping God by chanting some prayers & mantras) & ate Sukhdi as much as each one of us could. While eating Sukhdi, we planned to go to some Jain Pilgrimage for Darshan & all. After a lot of debate & suggestions we came to a final conclusion that we are going to Raska, a town 80 kms from Vadodara. The peculiarity of the place is that it is a replica of Samet-Shikhar a very important jain pilgrimage.

So our family was now all geared to head towards this place & after 3.5 hours of drive we finally reached the place. Just to mention that a person with exact route known can reach 30 to 40 mins earlier, but for us it was the first time. But after reaching the place, all of us were really very happy. The atmoshphere & area was such that it made us feel pious. I am not so good at vocabulary that I could describe this place & unfortunately I did not have any camera with me, so readers you have to be content with what I could express. There was really a different type of peace, which let us forget all our problems, tensions, frustrations etc. The place is religious as well as very informative. It imparted a lot of knowledge about all 24 Tirthankars (Jain Gods). I took two rounds of the huge area & tried notice each & every detail & knowledge I got from writings, idols, drawings etc. One of the idols I saw & worshipped was said to be very ancient 2200 years approx by the Derasar Authorities.

The beauty of the place made all 4 of us to agree that we will try to be here on everybody's birthday. Other than being religious it made us acquire all pleasure people have on their birthday. Long drive, out-side food, Sweets & also the trip is quite economy, & best for people like me who have to be conservative too. The next time in near future I will be there is when my Grandparents are here. And, I am sure they are also going to love this place.

Feb 15, 2009

Basic Postfix Configuration

Below I have mentioned the basic configuration of Postfix mail server. This could be useful for SOHO networks & for advanced configuration, postfix documentation at http://www.postfix.org

[root@mail ~]# yum install postfix -y

Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
base
100% |=========================| 1.1 kB 00:00
updates
100% |=========================|
951 B 00:00
addons
100% |=========================|
951 B 00:00
extras
100% |=========================| 1.1 kB 00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
--> Downloading header for postfix to pack into transaction set.
postfix-2.3.3-2.i386.rpm 100% |========================| 41 kB 00:00
--> Package postfix.i386 2:2.3.3-2 set to be updated
--> Running transaction check
Dependencies Resolved
===========================================================
Package Arch Version Repository Size
===========================================================
Installing: i386 2:2.3.3-2 base 3.6 M
Postfix

Transaction Summary
===========================================================
Install 1 Package(s)
Update 0 Package(s)
0 Package(s)
Total download size: 3.6 M
Downloading Packages:
(1/1): postfix-2.3.3-2.i3 100% |====================| 3.6 M 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: postfix #################################### [1/1] Installed: postfix.i386 2:2.3.3-2
Complete!

Open /etc/postfix/main.cf with a text editor of choice (vi in my case) & edit the following parameters.

[root@mail ~]# vi /etc/postfix/main.cf

myhostname = host.domain.tld

mydomain = domain.tld

myorigin = $mydomain

inet_interfaces = all

mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain

mynetworks = 127.0.0.0/8, 192.168.0.0/24

[root@mail ~]# alternatives --config mta

There are 2 programs which provide 'mta'.

Selection Command
-----------------------------------------------
*+ 1 /usr/sbin/sendmail.sendmail
2 /usr/sbin/sendmail.postfix


Enter to keep the current selection[+], or type selection number: 2

My Birthday Today!

Happy Birthday to me!
Dear all, today is my Birthday & please do not skip to wish me. & Thanks to all those who have already wished me, It's your greetings & blessings that are helpful to me in my tough times.

Feb 7, 2009

Bhavya's Blog: gnome-do a great tool

Bhavya's Blog: gnome-do a great tool

gnome-do a great tool

GNOME+DO = Crazy Delicious (as they say) is a great tool for your desktops available with proper documentation & information at http://do.davebsd.com/

It will work as your desktops search engine & will have every applications, files, directories etc at just few keystrokes.

Feb 6, 2009

Host Interface Networking With Virtualbox

-:This is how easy it is to setup networking with Virtualbox:-
I have done it on my Ubuntu8.10 & am pretty sure that it will work with other distros also. You may need to change the commands according the basic settings of your distro, for example I am gaining root preveleges & you may use sudo and in my case the network card it eth1 you may eth0.

apt-get install uml_utilities

chowm root.vboxusers /dev/net/tun

chmod g+rw /dev/net/tun

tunctl -u $USER

sysctl net.ipv4.ip_forward=1

sysctl net.ipv4.conf.wlan0.proxy_arp=1


sysctl net.ipv4.conf.tap0.proxy_arp=1


ifconfig tap0 up

route add -host 192.168.1.200 dev tap0

Check the screenshot of the guest os network setting in virtualbox below:



Also you may copy the following script to /etc/init.d/tap, use it as other init scripts with /etc/init.d/tap start and /etc/init.d/stop:

#!/bin/bash
# tap-setup.sh

# Change username accordingly
USER="username_here"

tap_up(){
tunctl -u $USER
sysctl net.ipv4.ip_forward=1
sysctl net.ipv4.conf.wlan0.proxy_arp=1
sysctl net.ipv4.conf.tap0.proxy_arp=1
ip link set tap0 up
route add -host 192.168.1.200 dev tap0
}

tap_down(){
sysctl net.ipv4.ip_forward=0
sysctl net.ipv4.conf.wlan0.proxy_arp=0
sysctl net.ipv4.conf.tap0.proxy_arp=0
tunctl -d tap0
}

if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
else

case "$1" in

start)
tap_up
;;
stop)
tap_down
;;
*)
echo "Usage: $0 {start|stop}"
;;
esac

fi

exit 0
# end of script








My First Post

Hello People,
This is my first blog post & here I intend to exhibit & share my knowledge in linux & other FOSS, my personal & professional life, interests, likes, dislikes etc. The views & ideas I express here may not be unique, but they are mine. I am using facebook, orkut & twitter for networking. Click the respective links to visit my profile. Interested employers can get my resume here.