A place to share your Knowledge….


Find out the Country (Location) of the person you are chatting with.

If you are chatting with a person on Yahoo Messenger, do you know how to find the Location of the person you are chatting with? You can use a simple command and some googling to find out the location of the person you are chatting with.


When ever you use the Internet, in fact any network, the communication should happen between 2 Computers which are uniquely identified by 2 IP Address. But in most cases these IP Address might not be unique for your Computer but unique for your ISP. Simply speaking the router at your ISP is connected to the Internet. The connection between your computer and your ISP is a local network. Your ISP Routers acts as the middle man is making the Internet requests on your behalf and getting the Internet results back to your machine. So you can in most cases trace back an internet connection to the ISP, i.e. to the Country, State, City and ISP.


When ever you chat with a person using Yahoo Messenger your messages are sent to a Yahoo Server and the Server relays the messages to the person you the chatting with. So if you find the IP Address in such a scenario you will find the IP Address of the Server but not of the person who is chatting with you. Yahoo Messenger uses P2p Technology when you transfer a file from your system to the other persons system. So when you find out the IP Address of the Destination Computer when you do a Yahoo File Transfer you can actually find out the IP of the other person and hence the location.


When you are trying to find out the Location of the person chatting with you, you should make him accept a file transfer request, in this way a connection would be established between your computer and his computer. Remember to send a file which is at least 3-4 MB in size so that you have some time to capture the active connections. Once he accepts and the file transfer starts, open command prompt and type the command netstat –n, this would give active TCP Connections on each Port.


C:\Documents and Settings\User Name>netstat –n


Active Connections


  Proto  Local Address          Foreign Address        State







C:\Documents and Settings\User Name>


The out put of netstat –n command would be something similar to the above. From the above list you need to filter the Foreign Address filed to get the IP Address of the Person chatting with you. When you are trying this close all Internet Applications like Messengers and File Sharing application and close all browser windows. Then you would have very few results and you can easily filter the IP Addresses.


You can use the Wiki link http://en.wikipedia.org/wiki/Netstat to find more about the Netstat command.


You can use the Wiki link http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers to filter the foreign address based on port numbers.


Once you find the IP Address you can go a site like http://tools.whois.net/whoisbyip/  to find who is of that IP Address. Whois basically gives details like the address of registration, company name and contact details.


To find your own IP Address you can use the command ipconfig /all.


If you need any further clarification please get back to me.

For more blogs of Technology check my current blog at www.sunilsaripalli.com




Configuring a Dial-up Connection…

Are you surprised that I have written a blog on Dial-up connection? Which no body uses these days. Dial-up is not used regularly.

But consider the situation when you travel to your village which doesn’t have broad band connection and internet cafes and you need to send an important mail or make a travel reservation.

I have faced similar situations and would like to share with you how can you go online within a few minutes. Even tough Broad Band internet is not available these days you can find a computer and Telephone in every village.

I assume you will get your hand on some laptop/computer or you have carried your laptop to your village, which has an inbuilt modem and drivers installed.  The next thing you need to come online is a Telephone and Internet Connection. BSNL has enabled Internet across all its telephone exchanges in India. The Dial-in number is 172233 and the user name and password would be netone. The service would be charged 60 Paise/1min and you get transfer speeds or 2-3 KBps. Not good for Bandwidth Hungry websites, but will do ok with some mails and chat and some browsing. 

As most PC’s have XP, I pre-assume you are using Windows XP, if you are using Windows 98 or Vista the basic process would be the same but the menus may change. Next thing is to configure a dialup connection.

Go to Start > Settings > Control Panel > Network and Dial-up Connections. Double click Make New Connection, Select Next, Select Dial-up to Internet, Select Manually Configure Settings and enter 172233 for the Phone Number and netone for username and password, follow the wizard, complete it. 

A new connection should appear in the Control Panel > Network Connection. You can place a short cut on the desktop for easy accessibility. Click Connect and you get a message No Dial Tone. You check your phone and you have Dial Tone. This is where most of the people get struck. 

TIPS: Remembers most of the Computer Devices like Modems are designed and developed outside India and they use different communication systems. So even tough you have a Dial Tone on your phone the Modem would not recognize the Dial Tone. You need to configure the Modem not to wait for Dial Tone. 

To do this go to Start > Settings > Control Panel > Phone and Modem Options and go to the Modem Page select the modem and click the properties. And remove the Check for Wait for Dial-tone before dialing. Now you should be able to connect to the internet without any issues. 

TIPS: Open Internet Explorer, Go to Tools > Internet Options. Go to the Advanced Tab. Scroll down to Multimedia and remove the checks for Play Animations, Videos and Sounds in webpage’s. This would save some bandwidth and lets pages load faster on slow dial-up connections. 

If you need any further clarifications you can always reach me back with a comment or a mail.

For more blogs of Technology check my current blog at www.sunilsaripalli.com