This method is only available for laptops, desktop computers capable of receiving and transmitting WiFi. Ad hoc networks need at least 2 computers, in this example we will use two computers, named computers A and B.
NOTE: Before proceeding, please ensure that Windows Zero Configuration (WZC) service has been started. If you are not sure about this, click here to check the installation.
Step 1: Go to Control Panel > Network Connections and find Wireless Network Connection . Right-click Wireless Network Connection and select Properties .
Connect 2 Windows XP laptops without cables Picture 1
Step 2: On the Wireless Networks tab, click the Add button.
Connect 2 Windows XP laptops without cables Picture 2
Step 3: On the Association tab of the Wireless network properties window enter a name for the network in Network Name [SSID] . Here we set is adhoctest. Check This is a computer-to-computer [ad hoc] network; wireless access points are not used at the bottom of the window, then click OK .
Connect 2 Windows XP laptops without cables Picture 3
Step 4: After step 3, we have a profile that is adhoctest in Preferred Networks. Click OK to save all settings.
Connect 2 Windows XP laptops without cables Picture 4
Step 5: Right-click Wireless Network Connection and select Properties .
Connect 2 Windows XP laptops without cables Picture 5
Step 6: On the General tab, double-click Internet Protocol (TCP / IP) .
Connect 2 Windows XP laptops without cables Picture 6
Step 7: Select Use the following IP address , and enter IP address and Subnet mask . Then click OK .
Connect 2 Windows XP laptops without cables Picture 7
Step 8: Click OK on the Properties Network Connection Wireless window.
Connect 2 Windows XP laptops without cables Picture 8
Step 9: Right-click Wireless Network Connection , select View available wireless networks .
Connect 2 Windows XP laptops without cables Picture 9
Step 10: Find the adhoctest network (set up on computer A) in the scan window. Then double-click it and click Connect Anyway .
Connect 2 Windows XP laptops without cables Picture 10
You do the same steps as you did on computer A (Step 5 to Step 8). The problem is that we need to specify a different IP address for computer B and it must be in the same subnet as computer A. In this example, we can get 192.168.1.20/255.255.255.0.
Connect 2 Windows XP laptops without cables Picture 11
At this point, all basic settings for building Ad Hoc network have been completed. If we reopen the network scan window, we can see the adhoctest network is Connected.
Connect 2 Windows XP laptops without cables Picture 12
Turn on Windows Zero Configuration (WZC):
Connect 2 Windows XP laptops without cables Picture 13
Connect 2 Windows XP laptops without cables Picture 14
Connect 2 Windows XP laptops without cables Picture 15
Connect 2 Windows XP laptops without cables Picture 16
To solve the problem, you need to create a pear to pear connection between the two machines. But because there is no access point, IP is not automatically granted, but you must manually assign it. Therefore, the first step is to manually assign the IP and the next steps are as follows:
1. Self-assign IP to 2 machines
In this step you need to perform on both machines to give them the same IP class. Do as follows:
- Go to the wireless connection status window (Figure 1) by double clicking on the network icon to the right of the screen.
- Click on Properties , the next window will appear (Figure 2).
- Double-click the Internet Protocol (TCP / IP) line and set IP for both laptop computers. You can assign arbitrary but it is required that both machines must be in the same class and the same Subnet mask. Specific examples:
Other lines are left blank.
So you have completed step 1, now the step to connect for 2 machines.
2. Create a wireless connection between the two devices
Connect 2 Windows XP laptops without cables Picture 19 In this step you will make two transmitters and receivers of each other. Do as follows:
- Right click on Wireless Network Connection icon under taskbar, select View Available Wireless Network . Click on the Change the order of preferred networks line in the dialog box that appears (Figure 3).
- Continue to click the Add button to create a new network (Figure 4).
- Name your network in the Network name line.
- Set a password to access the network at the Network key line. Note that you must select the line This is a computer to computer . At this point, you have completed step 2.
3. Go to the network
Connect 2 Windows XP laptops without cables Picture 20 - Click the Wireless icon on the right of the screen. Select the View wireless network button.
- Click on Connect . Machine 1 will now generate a signal and wait for device 2 to connect. If machine 2 detects the network at this time, it will see the network of machine 1. The computer clicks Connect then both machines will connect to each other (Figure 5).
4. Application
You can now share the file so that the other computer can receive it, or you can chat directly between the two computers, send the file directly using Windows' Net meeting utility (Figure 6) by going to Run , enter the conf command to open it. Get this utility, or you can play games like in a LAN.
Phan Nghĩa