
setarea cablului crossover
1. Connect the crossover cable to the network connectors of both computers. You should see a tiny light coming up on the connector when the cable is well connected.
2. On the laptop, go to Start > Control Panel > Network Connections > Local Area Connection.
3. Right mouse click on "Local Area Connection", and select "Properties". The "Local Area Connection Properties" dialog box shows up.
4. Select "Internet Protocol(TCP/IP)" and make it checked.
5. Select "Internet Protocol(TCP/IP)" and click the Properties button. The "Internet Protocol(TCP/IP) Properties" dialog box shows up.
6. Select "Use the following IP address" and make it checked. Enter "192.168.0.1" in the IP address field. Enter "255.255.255.0" in the subnet mask field.
7. Click the OK button to close the "Local Area Connection Properties" dialog box.
8. Click the Close button to close the "Local Area Connection Properties" dialog box.
9. On the desktop, repeat step 2 to step 8 the same way as on the laptop except that entering "192.168.0.2" in the IP address field and entering "255.255.255.0" in the subnet mask field.
10. Open a command window and run the ipconfig and ping commands:
>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.0.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
>ping 192.168.0.1
Pinging 192.168.0.1 with 32 bytes of data:
Reply from 192.168.0.1: bytes=32 time<1ms TTL=128
Reply from 192.168.0.1: bytes=32 time<1ms TTL=128
Reply from 192.168.0.1: bytes=32 time<1ms TTL=128
Reply from 192.168.0.1: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
11. On my laptop, open a command window and run the ping command:
>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.0.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
>ping 192.168.0.2
Pinging 192.168.0.2 with 32 bytes of data:
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.0.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Very nice. My crossover cable network is working!
Note that:
Both computers are configured to static private network IP addresses. If you are taking the laptop back to an office network with dynamic IP address allocation, you need to change the settings on the "Internet Protocol(TCP/IP) Properties" dialog box.
"ipconfig" displays the connection status and settings of the network connection.
"ping" command is good testing tool to check if you reach a remote computer or not over the network.
Using FTP to Transfer Files
Now I have my two computers connected as a network, I can use FTP to send to receive files from each other:
1. On the laptop, use IIS (Internet Information Service) to set up a FTP server. See the "FTP Server and Client" chapter in this book for detailed information on how to set up a FTP server.
2. Copy files to be shared with the desktop to the c:\inetpub\ftproot directory.
3. On the desktop, run the ftp client in a command window:
>ftp 192.168.0.1
Connected to localhost.
220 Microsoft FTP Service
User (192.168.0.1:(none)): herong
331 Password required for herong.
Password: ********
230 User herong logged in.
ftp> quit
221
Cool. I can transfer files now FTP commands.
Assigning Host Names
Now my two computers are fully connected and working. But I have to address them by IP addresses, 192.168.0.1 or 192.168.0.2, when using any communication programs. Can I assign host names to my computers, and associate IP addresses with them? The answer is yes. Here is how:
1. On the laptop, go to Start > Control Panel > Systems. The "System Properties" dialog box shows up.
2. Go to the "Computer Name" tab and make sure "laptop" is in the computer name field.
3. Edit file c:\windows\system32\drivers\etc\hosts to add an entry for the desktop computer:
127.0.0.1 localhost
192.168.0.2 desktop
4. On the desktop, go to Start > Control Panel > Systems. The "System Properties" dialog box shows up.
5. Go to the "Computer Name" tab and make sure "desktop" is in the computer name field.
6. Edit file c:\windows\system32\drivers\etc\hosts to add an entry for the desktop computer:
127.0.0.1 localhost
192.168.0.1 laptop
7. Open a command window and run the ping command:
>ping laptop
Pinging laptop [192.168.0.1] with 32 bytes of data:
Reply from 192.168.0.1: bytes=32 time<1ms TTL=128
...
8. On the laptop, open a command window and run the ping command:
>ping desktop
Pinging desktop [192.168.0.2] with 32 bytes of data:
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128
...
Sharing Files with Windows Explorer
Since my two computers are running Windows systems, I can also share files with Windows Explorer. Here is how:
1. On both laptop and desktop, go to Start > Control Panel > Network Connections > Local Area Connection.
2. Right mouse click on "Local Area Connection", and select "Properties". The "Local Area Connection Properties" dialog box shows up.
3. Make sure that "Client for Microsoft Networks" is checked.
4. On the laptop, go to Start > Programs > Accessories > Windows Explorer. The Windows Explorer shows up to allow you to manage all your directories, files and other storage resources on your computer.
5. Open the root directory c:, and a new sub directory called c:\share. Copy some files to this directory to share with the desktop computer.
6. Right mouse click on c:\share, and select "Properties". The directory properties dialog box shows up.
7. Go to "Sharing" tab. Select "Share this folder" and make it checked. Make to give permission to everyone with read and write rights.
8. Click OK to close the properties box.
9. On the desktop, go do Start > Run. The "Run" dialog box shows up.
10. Enter "\\laptop\share" in the Open field, and click OK. A Windows Explorer window shows up with the shared directory from the laptop computer open.
11. Enter "\\laptop\share" in the Open field, and click OK. A Windows Explorer window shows up with the shared directory from the laptop computer open.
12. Copy some files out of the shared directory into a local directory.
13. Copy some files into the shared directory out of a local directory.
sau vezi si acest tutorial:
http://www.hardwaresecrets.com/article/426/1