Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - How to transfer data between two computers
How to transfer data between two computers

You can just buy a dedicated USB cable for dual-computer interconnection in the computer store

You can also refer to

Dual-computer interconnection

There are many ways to interconnect two computers. You can use two Ethernet cards to connect through unshielded double-stranded cable (UTP); you can also directly connect through a serial port or parallel port, or use a USB interface to connect; you can also use the computer's infrared interface to connect wirelessly As well as remote video sharing through dial-up through two MODEMs, etc. Among these methods, using two network cards to connect through a twisted pair is the simplest, most convenient and most commonly used connection method. Below we will focus on this method to achieve dual-machine interconnection.

1. Interconnection through network cards

1. Production of network cables

Before connecting to the network, the first thing we should consider is the production of network cables. Generally, if you use twisted pair cables to build a network, you need a hub (HUB). When networking through a hub, the twisted pair cable clamping method is very easy. You only need to clamp the network cables at both ends one by one. The clamping sequence The two sides are consistent, and they are all: 1. White and orange, 2. Orange, 3. White and green, 4. Blue, 5. White and blue, 6. Green, 7. White and brown, 8. Brown. Note that both ends have the same line sequence and correspond one to one. This is the standard for making 100M network cables, the 568B standard, which is what we usually call the main line or standard line.

But as a small network with only two machines, it is a bit wasteful to buy a hub costing several hundred yuan. In fact, we can directly connect the two computers with a network cable without a hub, but at this time There are some small changes in the method of network cables. By changing the order of network cables, two-machine interconnection without a hub can be achieved. The specific method is: one end uses the above-mentioned 568B line standard unchanged, and the other end exchanges the positions of lines 1, 3 and 2, 6 among the eight lines. At this time, the network cable The order becomes: 1, white and green, 2, green, 3, white and orange, 4, blue, 5, white and blue, 6, orange, 7, white and brown, 8, brown. This is the 568A standard for 100M network cable, which is what we usually call reverse cable or crossover cable. After arranging and clamping the wires according to the standard of 568B on one end and 568A on the other, a network cable suitable for direct connection between two computers is ready.

2. Installation of the network card

After the network cable is ready, the next step is to install the network card. Here we take the installation process of TP-LINK TF-3239V network card (10M/100M dual-speed adaptive network card, using REALTEK8139 main chip) under WIN98 as an example to make a brief introduction.

First turn off the power of the host, insert the TF-3239V network card into a free PCI slot on the motherboard, fix it after inserting it, and then start WIN98. After entering WIN98, the system will prompt to find new hardware and enter the hardware installation. Wizard, start searching for the driver, we select "Specify a location", and then find the path where the network card driver is located (such as a:\win98). After selecting, click OK. At this time, the system will start to copy the required files. After completion, the system You will be prompted whether to restart. Click OK and the system will restart. At this time, the installation process of the network card will be successfully completed. The network card installation process under other operating systems such as WIN2000 is similar and will not be repeated here.

3. Network settings

After the network card is installed, the following is the last and most difficult step for dual-computer interconnection: network settings. Here I also take the network settings under WIN98 as an example. First, we need to check whether the network components of the system have been completely installed: select "Network Neighborhood" on the desktop, right-click to open its properties, and see if there are the following items in the configuration list: REALTEK8139 NETWORK ADAPTER (network card), MICROSOFT Network Client ( Service), TCP/IP protocol (Protocol), file and printer exclusive services on MICROSOFT network (Service). To connect to a LAN and share resources, the above components are essential. If not, you can add them directly here. Then set the IP address, select "TCP/IP-à REALTEK8139 NETWORK ADAPTER" (that is, the TCP/IP protocol settings of the network card), open its properties, enter "192,168,0,1" in the IP address bar, and the subnet mask is "255,255,255,0", and then click "OK" to return to the "Network" main screen (the IP address of another computer is "192,168,0,2" and the subnet mask is the same). In the identification item, you You should enter different names for the two computers, but their workgroups should be the same. Select the privileged level in the access control item, click "OK", and then restart the computer as prompted. Be careful to log in to the network when you restart your computer. After the computer completes booting and enters the Win98 interface, use the right button of the mouse to select the drive or folder that needs to be shared in "My Computer", click "***Share" in the shortcut menu, and enter *** in the dialog box Name the share, set the share type and access password as needed. At this time, a palm will appear on the drive or folder, indicating that it has been shared.

Now we can access another computer through Network Neighborhood just like using local resources.

2. Direct cable connection

Using direct cable to connect through the serial port or parallel port of the computer is also a common solution to achieve direct connection of two computers. Compared with using a network card to connect, this solution is more practical for users who do not have high requirements for network quality. Its advantages are mainly convenient connection and low cost. Of course, its shortcomings are obvious:

1. The connection distance is relatively short:

The length of the parallel port cable using "direct cable connection" should not exceed 3 meters. Only within this distance can we ensure the stability and stability of data transmission. whole. This method is more suitable for connecting two computers that are very close to each other. If you want to connect to a computer at a longer distance, this connection method will definitely not work;

2. When connecting using a serial cable:

The data transmission speed may be slower, so If you connect two computers mainly for playing games, this method is generally not suitable. But in general, direct cable connection is a cost-effective and easy way to network when you only have two computers. To achieve direct cable connection between two computers, communication cables are essential accessories. It is recommended to purchase them directly from a local computer store or Internet company. It is mainly divided into two types: serial cable and parallel cable. It should be noted that you should choose a communication cable that connects a computer to a computer, rather than a communication cable that connects a computer to peripherals such as a printer. These two types of cables cannot generally be used interchangeably. After buying the cable, use it to connect the two computers. Then start the computer and enter the Win98 system. Select "Start" → "Programs" → "Accessories" → "Communications" → "Direct Cable Connection" (if not, add it by "Control Panel" → "Add/Remove Programs" → "Windows Installer" → "Communications" → "Direct cable connection". And set "Protocol", "Identification" and "Privacy" in "Network", which are the same as the network settings for connecting with a network card as mentioned above), and set the port according to the prompts. And set one of them as the server and the other as the client. In the "Direct Cable Connection" option, the host selects "Listening", the client selects "Connect", and then enter your user name and password to successfully connect and realize dual-machine interconnection. At this time, the client can use various resources on the host, including network resources, and you will no longer have to worry about taking the hard drive back and forth when exchanging data between computers at home or in the office.

The above are the two simplest and most commonly used methods to realize dual-machine interconnection. There are many other methods such as connecting through infrared ports and remote sharing through MODEM. Due to space limitations, there are many methods. One introduction.

======================================

< p>We must know that the biggest feature of a local area network is that it can achieve the best utilization of resources, such as: shared disk devices, printers, etc., so that files can be called to each other within the established local area network, and can be used on any computer Print on a shared printer; of course, we can also use software such as Wingate or Sygate to share a Modem with multiple machines to access the Internet; or connect to the Internet through a proxy server to enjoy extraordinary speeds. If you have more than one computer at home, and if you want to upgrade your computer game room to an Internet cafe, then you have to consider connecting them into a LAN.

Don’t think it’s difficult. In fact, if we just set up a small local area network, we only need to buy a few network cards and some data cables, and we can have enough food and clothing by ourselves. We know that Win98 has built-in point-to-point (pc to pc) network configuration capabilities, which makes it easy to establish a small network. If your LAN has many computers, then you need a mature network operating system to manage the network, such as WinNT, Netware or Linux, etc.

Serial and parallel port communication networking

If you just want to connect two PCs equipped with Windows series operating systems, we can directly use the serial and parallel ports of the computer to Communication cable (pc to pc), after connecting the two computers, select Microsoft's "Dial-up Network Adapter" in "Adapter" under "Control Panel/Network" in Windows and "IPX/SPX Compatible Protocol" in "Protocol" ” and “NetBEUI Protocol”. Then start the "Control Panel", select "Add/Remove Programs", click "Install Windows Programs", select "Communications", click "Direct Cable Connection", and then use the Windows installation disk to install. After installation, restart your computer. Select a computer as the host, right-click a drive (such as C drive) in the host's "My Computer", select "Maximum Sharing", and select the mass sharing level. Run "Direct Cable Connection" in the accessories of both machines, and on the host machine, select the communication port used. Select another computer as the client, follow the prompts, wait a moment, and the connection is completed.

Open "Network Neighborhood" on the "Client" desktop, and you will find that you are no longer alone. You can access your host through "Network Neighborhood", or you can map the network drive to yourself through the "Map Network Drive" method. Virtual physical drive, what's even better is that if the host you are connected to is already on the LAN, you can also access all online resources through the host. And when you visit, it does not affect the normal work of the host, which is especially beneficial to laptop users.

Network card communication and networking

When there are more than two computers (PC), you need to use network cards, network cables and hubs (HUB). If there is no network card in the LAN, it is like a river without bridges on both sides. Network card is the abbreviation of NIC (NETWORK Interface Card), which is one of the most basic components of a local area network. The network card is installed in the expansion slot of network computers and servers and serves as the physical interface between the computer and the network. Therefore, it can simply be said that the network card is a bridge for receiving and transmitting data. According to the transmission rate, network cards can be divided into: 10Mbps network card (ISA socket or PCI socket), 100Mbps PCI socket network card, 10Mbps/100Mbps adaptive network card and Gigabit network card. At present, the 10Mbps ISA socket network card still occupies a certain market share with its low price. However, due to the low network transmission rate of the 10Mbps ISA socket network card and occupying a large amount of CPU resources, it is only suitable for those LANs that do not have high speed requirements. I recommend using a 100Mbps PCI socket network card or a 10Mbps/100Mbps adaptive network card. It is not expensive and can be adapted to application environments with a large number of users, large amounts of data transmitted on the Internet, and multimedia information transmission.

When choosing a network cable, you must first look at the interface type of the network card you purchased. There are two types of network card interfaces (RJ45 and BNC): the BNC port uses a thin coaxial cable as the transmission medium. Network card interface. RJ45 is a network card interface that uses twisted pair cable as the transmission medium. The interface of RJ45 is similar to the interface of a telephone line, but the network cable uses an 8-core connector. The disadvantage of using RJ45 is that the installation cost is high, but installation and maintenance are more convenient. , so we generally use the RJ45 interface. Hub (HU): Depending on the number of microcomputers, HUB is used to form a star structure. When there are many workstations, the processing rate of HUB will be far lower than the transmission speed of the communication line, causing a bottleneck problem. Therefore, if conditions permit, Choose a switch. The domain formed by a Hub is called a collision domain. That is to say, when any computer on the network sends and receives data, all other computers can receive it, and these computers cannot send and receive data at the same time, otherwise it will happen. Collision (CSMA/CD protocol will prevent collision). In addition, each computer connected to the Hub must detect the destination address of the received data to confirm whether it has received its own communication information. Therefore, the computer CPU usage is high and the entire network is The communication efficiency is low and is only suitable for small workgroup level applications.

The role of a hub HUB or switch:

(1) Each twisted pair interface is only connected to one workstation (network card). Connected, the signal is transmitted point-to-point.

(2) When a certain port receives a signal, the HUB reshapes it and broadcasts it to each other port.

(3) The HUB itself. It can automatically detect signal collisions and immediately send out a jam signal to notify other ports when a collision occurs.

(4) When the transmission line or network card of a certain port fails, the HUB automatically isolates the port. It does not affect the normal operation of other ports, because the current 100MB switches are very cheap, so 100Mbps network cards and 100M switches are generally chosen.

The components required for the LAN are already available, so now we can use them. Follow me step by step to set up a LAN bar based on Windows 2000 Professional, the most stable personal operating system at the moment.

Steps to connect to the LAN:

1. Turn off the computer and open the case. , find a free PCI slot (usually a short white slot), insert the network card, and tighten the screws.

2. Connect the network cable to the network card connector and the other to the switch. or HUB.

3. Install the network card driver. Turn on the computer, the operating system will detect the network card and prompt you to insert the driver disk sold with the network card, and then click "Next". ", after Windows finds the driver, a confirmation screen will be displayed, click "Next". If Windows does not find the driver, click the "Browse" button in the "Device Driver Wizard" to specify the location of the drive. If your If the driver is not the latest version, you can open "Device Management", run the "Update Device Driver Wizard", double-click "Network Adapter", then select your network card, select the "Driver" button, and click "Update Driver" button. Windows will prompt you to insert the Windows installation disk and just follow the prompts.

You must also give each computer on the network a unique name and the same workgroup name (such as the default Workgroup) before restarting the computer. The specific operation is to right-click on the "My Computer" icon on the desktop and click "Properties". In the pop-up dialog box, click "Network Identification", then click "Properties", fill in the machine name you want to specify in the "Computer" name, fill in the unified workgroup name in the workgroup, and click OK to complete.

4. Install the necessary network protocols. Right-click on the "Network Neighborhood" icon on the desktop, click "Properties", right-click on the "Local Area Connection" icon, click "Install" in the pop-up properties dialog box, double-click "Protocol" to install "Internet Protocol (TCP)" /IP)", double-click "Client" to install "Microsoft Network Client", and restart the computer.

5. Realize network sharing. Right-click on the "Network Neighborhood" icon on the desktop, click "Properties", right-click on the "Local Area Connection" icon, click "Install" in the pop-up properties dialog box, double-click "Services" to install "Microsoft Network Files" "Shared with the printer", click "OK", these settings will not take effect until the computer is restarted. If you want to *share a drive or directory, open "My Computer" in the explorer or on the desktop, right-click the drive or directory you want to *share, select "***Share", and fill in the appropriate information. content. If you choose to share the entire drive, all directories under the drive are network shared. Open the "Network Neighborhood" icon to get a list of computers on the network. Double-click the computer you want to access to access the drive. To map a network drive, consult the Windows Help file. If you have problems accessing a printer or other computer over the network, please check your network cable connection to make sure the connection and sharing settings are correct.

6. Set an optional startup password. When you start the computer for the first time after installing the network driver, a dialog box will pop up prompting you to enter the user and password for the Microsoft network. Type your username and it will automatically appear every time you start your computer (you can use the computer name specified in step three). If you do not want to set a password, leave the password line blank and click "OK"; otherwise, type in the password and confirm the password. If the entered password does not match the set password, the computer can run the operating system locally but cannot share resources online.

Haha. We have established a simple LAN based on Windows 2000 Professional. You can also use the above method to establish a LAN between your neighbors