Friday, March 28, 2008

Always Breathe deeply !!!

Life is a circle. Whatever goes around comes back.
There is no use of anger in this life or any other.
Anger only spoils things.
Always be peaceful. Be in peace with yourself and others.
Always sort things out peacefully.
Keep your mind cool and calm.

Always Breathe Deeply !!

Whenever you feel angry, take a deep breath and realize it is not going to solve any problems.
Forget your past. Forget the bitter things.
Always look ahead. Always look towards the future.

Always Breathe Deeply !!

The past is behind us. Forget it. But remember the leasons learnt and move ahead.
People may do foolish things and so may you.
Forgive yourself first and then others.
People may hurt you and so may have you.

Forgive yourself first and then others.
Look at yourself first and then others.

But Remember, Always Breathe Deeply !!

Don't regret things that have always happened.
Everything happens for a reason.
You will find the reason for every foolish thing you do.
That reason is always good.

Everything happens for the good.
If you think otherwise, its just your perpective.

Life is a party, enjoy it till it lasts.
And It won't last forever.

But Always Breathe Deeply !!

Tuesday, March 11, 2008

Getting Tata Indicom V-data card in ubuntu linux

To start using the tata indicom v-data card in ubuntu, follow these steps

1.Run this command
$sudo modprobe usbserial vendor=0x12d1 product=0x1001

2. Edit the /etc/wvdial.conf and add the following lines

$cat /etc/wvdial.conf

[Modem 0]
Modem = /dev/ttyUSB0
Baud = 115200
Dial Command = ATDT
FlowControl = Hardware (CRTSCTS)
Init1 = ATZ
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Phone = #777
ISDN = 0
Password = internet
New PPPD = yes
Username = internet
Stupid Mode = 1
Inherits = Modem 0

3. Run
$sudo wvdial

You will see your primary and secondary DNS getting set.
Now you are set.

Note: The data card is of Huawei make.

Also for the TATA Plug2Surf USB modem to work;
Insert you modem in and do a

You will see some messages with /dev/ttyACM1.
Just replace /dev/ttyUSB0 with this in the above mentioned files.

Thanks to varun for showing me this method