How to connect two computers using LAN ?

Step 1 .

For windows XP users :

Start ->Settings->Network Connections

Search Local Area Network icon and right click and select properties

Select Internet protocol (TCP/IP) and click on properties button.

Set IP address for both the computers. Remember they must be unique for both of them. For eg if you choose "192.168.1.1" for your first computer then choose "192.168.1.2" for other computer. IP address is address of computer from which it is recognized in networks.

Below the IP Address there is box called Subnet Mask, put 255.255.255.0 in it and click ok.

Please Note, You need to do above steps in both the computers.


Windows 7 :

Start -->Control Panel -> Network and Internet-->Network and Sharing Centre

Click on Change Adapter Settings

There will be icon of Local Area Networking , right click on it and follow the steps given above for windows XP.

Step 2 :

Build a Work Group :

Windows XP :

Start --> Control Panel --> System

In the dialog box click on Computer Name Tab .

Give the name for your computer such as Home1 , or Laptop1 etc.Do the same thing for your other computer.
Also give name to your workgroup such as Home Workgroup or Office workgroup.

After giving name to the computers , in the bottom of dialog box at  Member of Workgroup , type the name of your new workgroup as mentioned in above step.Follow the same procedure in both the computers.Remember both the computers have different name, different IPs but it workgroup name should be the same for both the computers.

Now Restart both the computers.

For Windows 7 :

Start -->Control Panel -->System and Security -->System and click on change settings. Follow the same procedure as we did in windows XP above.

Step 3 : Test your LAN

Start -->Settings-->Network Settings and click on My Network Places ad then click on Entire Network and the double click on Microsoft windows network.

You will see Workgroup Name. When you will double click on it , you will see the name of your other computer.Congratulations your both computers are connected now.

Windows 7 :

Start -->Control Panel-->Network and Internet -->Home Group You will see the name of other computer.

I hope it helped!

How to remove android market user from your device?

My cousin gave me my birthday gift as Samsung Galaxy Tab. He installed some useful applications for me. Now I have a problem that , market of my device showing his username not mine. This is the common problem and I got lot of emails regarding this.

As of now I have found out two solutions for that :

1. Factory Reset of your device : It is easy but remember all your applications and data would be wipe out from your device.

2. Clear Data method , Clear data from all google applications installed in your device. I read this solution in some forums but it has not worked for me. But , it worth try.

I hope it helped!

No Route Matches hello html rails tutorial

I was following rails tutorial book and found "no route matches" error.
I found funny and simple solution of this problem , just restart your computer and start rails server using "rails s" command in sample_app directory. Its done.


Why rails giving this error?

Because it is taking application root of demo_app instead of sample_app, for that reason we need to restart our rail server. I didn't found simple solution for doing that so restarting computer itself does the trick for me.