Pages

Sunday, August 3, 2008

File sharing between 2 computers

To connect between two computers and transfer files between them withou using any network connection

First you have to connect the cross connecting wire to both ethernet cards and make sure the Local Area Connection is connected in both the computers.

Now you have to create an exception to local area connection in the widows firewall. Follow the following steps to do it
In XP and vista
  • Go to control panel
  • And then go to windows firewall
  • Go to advanced tab
  • Unselect the present local area connection through which your computer is connected to other computer
Now you have to change the settings of your lan
Here I would like to take an example of a deskstop (xp) and a laptop(vista) for understanding

Settings for deskstop
  1. Go to show all connections
  2. And right click on the present LAN conncectionGo to properties
  3. In general tab select Internet prorocol (TCP/IP)
  4. And click properties
  5. And enter the following details

  • I.P address 10 .1 .1 .1
  • Subnet mask 255.255.255.0
  • Default gateway 10 .1 .1 .10
Settings for laptop
  1. And right click on the present LAN conncectionGo to properties
  2. In general tab select Internet prorocol version 4 (TCP/IPv4)
  3. And click properties
  4. And enter the following details
  • I.P address 10 .1 .1 .2
  • Subnet mask 255.255.255.0
  • Default gateway 10 .1 .1 .10
To test whether the connection is right or not ?
Go to run
cmd
type ping 10.1.1.1 in laptop
it should react and there should be 0% loss
if it shows request time out and 100% loss some firewall might be blocking so check the settings again

To send file from deskstop to laptop
Identify the folder to be transferred in deskstop
Right click on the folder
Go to sharing and security
Tick mark on the share this folder on the network option and also on the allow network users to change the file
Now the file is ready to be shared
(Important note you cant transfer folders which are present in the same folder as the OS is installed)

In laptop
Go to run and type \\10.1.1.1
U will be in a shared file folder where you will see the folder to be shared, now copy and paste it in laptop

No comments:

Life = Thinking Headline Animator