Tuesday, August 14, 2012

Connect two laptops in wireless LAN without using access point


https://www.youtube.com/channel/UCQECTKWf3phX5McZIyPM0Mw/videos

Connect two laptops in wireless LAN without using access point

First of all, this works only with laptops using Windows 7.

The procedure listed here provides a method to establish wireless  LAN connectivity between two laptops running Windows 7. This LAN can be used for file sharing /multiplayer games/internet sharing if internet connection is available in one of the systems.
Connectivity between two systems without using access points such as a switch/router is called as "adhoc" connection.
In this setup,one system acts as the access point and the other system connects to the access point.
One thing to be noted is that one laptop can act as an access point,in the mean time be connected to another access point.The advantage is that this laptop can act as a bridge between two networks.

Step 1: First we setup one laptop as access point
 
Open Control panel->Network and sharing center
Click on "Setup a new connection or network"

Step 2:  Scroll down on the dialog box and Select "Setup a  wireless ad hoc (computer-to-computer) network.Then click "Next".
Step 3: In the next window,provide a name for the network and a security key for the network




Then click "Next",if required click on "enable Internet connection sharing" in the next window.
Click "Close" to finish the setup.

Step 4: Now,for laptop-laptop or system-system connections, the IP address of the systems need to be setup accordingly. For normal LAN settings,we use 192.168.1.x addressing, but for adhoc connections,we have to use 192.168.0.x addressing as shown below.

For setting up the IP address,again goto Control panel->Network and sharing center.
Click on the "Change Adapter Settings" link on the left panel.
Step 5: Right click on your wireless network connection and select "Properties".Default name for the wireless adapter will be "Wireless Network Connection".
Select "Internet Protocol Version 4" and click on the "Configure" button.
Step 6:  Fill the "IP address"and "Subnet mask" fields as below and then click "OK" to save the settings.
Now the access point is setup successfully.

Step 7: Connect the other laptop to the newly setup access point by using the usual procedure.(searching for wifi and connecting).
Then setup the IP address of this laptop to the 192.168.0.x format.
Now both laptops are in LAN.To play multiplayer games, add exceptions in firewall for the game executables or turn of the windows firewall temporarily.
For file sharing,the laptops can be accessed by their IP addresses or through the Network sharing center.
Internet connection sharing works by default.








No comments:

Post a Comment