Friday, May 11, 2007

Making Cisco VPN working on Ubuntu

Well I didnt like to do the port forwarding always whenever i need to connect to my VPN so i tried configuring vpnc on my ubuntu. The other links on internet says that you can just import your .pcf file from windows and it will start working but for me it didnt so this is what i did

Lets the pcf file you have be called as Sample.pcf
* install vpnc
sudo apt-get install vpnc

* make a vpc.conf
sudo vim /etc/vpnc/vpnc.conf

* Add the following Entries in the File
IPSec gateway gateway_name
IPSec ID General
IPSec obfuscated secret long_hex_string
Xauth username name


Here is the explanation
-- gateway_name
VPN gateway name like abc.corp.xyz.com
-- long_hex_string
for obtaining this do this
cat Sample.pcf | grep GroupPwd
This will return something like
enc_GroupPwd=121FABCD3234323214124132432532532532523532523542342342323234234232
Now this string after '=' will be the
long_hex_string
-- name
will be the username

*IMP NOTE* Please don leave any extra spaces or newline characters after these parameters otherwise it will throw an error while connecting

* now connect like this
sudo vpnc /etc/vpnc/vpnc.conf

It will prompt you for password . Enter password
Whoa you are done !!!!!!!!!!!!!!!!
Hope it was helpful

Tuesday, May 1, 2007

Digital Photography

I found these links quite interesting while i was reading about digital photography so thought of sharing them:
www.dhark.com/dp.html
manuals.info.apple.com/en/Aperture_Photography_Fundamentals.pdf
www.adobe.com/digitalimag/ps_pro_primers.htm
Will keep on adding as i find out more

Saturday, March 3, 2007

My Theories

All our lives we act according to some beliefs, some principles and certain theories.These actually build up during our course of life step by step incrementally.Events happening daily affect our thought process in one or the another way.Every day we come across new people , we talk to them, we like them, remember them or we might ignore them.
One such incident of my life was watching a movie. I know it sounds crazy but it happened whether you believe it or not.I watched this movie called Matrix.Initially it was just another movie to me but slowly i could infer a lot of things from it.
I have seen it many times and everytime i watch it, i am able to figure out something or the other which is new to my theories.By theories, i mean a set of believes ,or certain things which i feel are fundamental and rest others are based upon them.So whatever i am going to write now or in near future is whatever my mind interprets it.You might find most of my written blogs as something which is weird or totally pointless but most of it is related to my life and people near me ,who know me might be able to interpret it correctly.Also most of will be weird stuff related to code as i am totally inspired by this series Matrix.
At some time ,even i started to think that the world in which we live is quite similar to matrix so i will write about whatever i think it is may be in my next posts