Connect Two Laptops Using WiFi

February 8, 2009 · 46 comments

This is step by step tutorial on how you can connect two laptops using WiFi (or two desktop computers with WiFi devices). This type of network is known as peer to peer network and is useful for file sharing and using same internet connection on both systems. So as told earlier you should have two laptops with WiFi or desktops with WiFi devices to make this connection.


Connecting Two Computers Using WiFi

Let’s name both laptops as PC1 and PC2. Now we need to set names and workgroups of both computers (Remember both computers will have same workgroups). To set the name and workgroup of both computers right click on My Computer and select Properties. Click the tab which says Computer Name and change names of computers as you like (Here we will set computer names PC1 and PC2) and also change the Workgroup option as you like (but this Workgroup should be same for both computers).

Now you need to make “Wireless Network Connection” in PC1. Right click on Wireless Network icon for this and click on option “View Available Wireless Network”.

Now click on option “Change Advance Settings”.

Now a windows “Wireless Internet Connection Properties” will open. Click on the tab which says “Wireless Network” and then click Add button. Now write a name in Network Name field. You can also set a password here if you like and also remember to check the option “This is computer to computer network”. Now press OK and “wireless network properties” will be closed.

Now in next step, you need to provide IP for network in “Internet Protocol (TCP/IP)”. For this, right click on “Wireless Internet Connection” and go in Properties and click Internet Protocols and then click Properties. Here For example.

PC1 = IP Address: 192.168.1.1 Subnet Mask: 255.255.255.0
PC2 = IP Address: 192.168.1.2 Subnet Mask: 255.255.255.0

And Default Gateway as 192.168.1.1 (same as IP address of PC1). Having done this all, you can connect both computers using WiFi.

PC2

File Sharing Between Both Computers

Now for file sharing Enable the Sharing of “Shared Folder” in both computers. So to go in other computer, write IP address of that computer in address bar of first computer and press Enter (in this case write \\192.168.1.1 and press Enter). This will open other computer’s sharing folder where you can share file, delete files or rename them (make sure to allow these actions from other computer).

Wireless Internet Sharing Between Both Computers

It is very easy to do when you have followed above procedure. Right click on “Internet Connections” on one computer (which has internet connection in it) and go in Properties and click on Sharing and check the option which says “Allow other network users to connect through this computer” and select “Wireless Internet Connection” in “Home Network Connection”. If you want you can also check “Establish Dialup Connection” and “Allow Other Network” .

That is it. You have connected both computers using WiFi and now you can share files, play games and chat on this network.

Related Posts

Enter your email below to receive future updates from PakBlogger

{ 46 comments… read them below or add one }

Awais Naseer Keyani February 9, 2009 at 2:06 am

Gud Article!
Its really useful 2 me!, I always wanted 2 know that!
Thanx dude!
I just dugg it BTW!

Reply

Sohail February 9, 2009 at 3:14 am

@Awais Thanks :) for digg and liking article

Reply

Afridi@ITD February 12, 2009 at 3:23 am

Great,……….Love to use this,
great for Internet Sharing, and WLAN Games,

Thanks for sharing

Reply

Shahroz Aawan February 12, 2009 at 5:48 pm

Excellent SHaring
Sohail Bhai

Reply

Faiz February 21, 2009 at 3:13 pm

how i use 2 wifi on 1 computer
plz ANS me.??????

Reply

Sohail February 22, 2009 at 12:11 am

@Faiz Why would you like to use two WiFi on a computer at same time? if you meant how to use 1 connection on two laptops see the last part of above article for internet sharing.

Reply

Serpent March 11, 2009 at 11:38 pm

Great tutorial!

What is required to connect 3 laptops with wifitogether?

my guess would be doing everything in the tutorial for the 3rd laptop but then just setting the default gateway to the first laptop ip address.

Please inform me if i am wrong.

Reply

afridi@itd March 15, 2010 at 3:02 am

You can connect as many as you want, but for all your laptops the default gateway should be the same (1st PC) but the IP for each computer should be different.

Example:

1st Laptop: 192.168.1.1
2nd Laptop: 192.168.1.2
3rd Laptop : 192.168.1.3
etc

Reply

Naveed March 12, 2009 at 4:27 pm

tell me …
is it nessary to be online or having any wireless connection to connect two laptops through wifi??? can’t we connect without internet???

Reply

afridi@itd March 15, 2010 at 3:06 am

Dear Naveed,
We need to connect two laptops via Wifi for many purposes, such as Net sharing, File Sharing, Playing games etc,.
if you need to share internet than defiantly you need internet connection to share, otherwise no need for file sharing, games etc…

Reply

Sohail March 17, 2009 at 5:43 pm

@Naveed yes you can definatly connect two laptops internet is just another thing to add

Reply

hariprasad March 23, 2009 at 8:27 am

does it require any router to connect wi-fi lan?
does the laptop have transmit facility?

Reply

afridi@itd March 15, 2010 at 3:08 am

You don’t need any kind of router as you have wifi in your both Laptops or PC, just follow the tutorial.

Reply

radhika pratapwar July 13, 2009 at 8:13 am

it’s a very greatfull website ,& it’s very usefull for all guies.

Reply

Sreekanth September 11, 2009 at 2:53 pm

This is useful note to me……. Thank U

Reply

firas October 9, 2009 at 5:51 am

hi sohail im having proplem PLS HELP i have vista and xp laptops what shud i do to connect them…wirelssly:D:D:D?step by step pls imm noob

Reply

afridi@itd March 15, 2010 at 3:10 am

for Connecting to laptops or PC via wifi, is same for XP , VIsta or any other windows,
if you are facing difficulties just make the wifi connection in Xp and connect from Vista.

Reply

Kamil Shoukat August 24, 2010 at 5:29 pm

please reply on my email because i am not a regular on this website and God knows when i will come..

What i want to know is this.. Does the laptop has to be connected to the internet to make a wifi connection between two laptops or not???

or if u follow this procedure u can connect two laptops and work anywhere in the world??
no range?? no boosters?? i really don’t understand how does the two laptops connect when they are offline??

what u mean to say is this that one laptop has to be online on internet then you can connect two laptops through wifi??

Andrei November 10, 2009 at 1:52 pm

I have a problem, one of my laptops is using Windows 7, adn i can’t find where to active the option “this is a computer to computer connection” please help.
Thanks.

Reply

afridi@itd March 15, 2010 at 3:14 am

You can make connection in XP and just connect from Win 7, but you have to put the correct IP in your Laptop having WIn 7

Reply

Amita January 10, 2010 at 4:02 pm

how to do the above procedure in windows vista

Reply

afridi@itd March 15, 2010 at 3:16 am

Procedure in Win VIsta is very similar as Xp, just put the correct IP and create a wireless connection.

Reply

nick February 6, 2010 at 5:04 pm

i am having a problem connecting..
i did evrithng as told..
but how to estabish the read connection?

Reply

afridi@itd March 15, 2010 at 3:18 am

Once you create a wifi connection, just search for wifi on your other pc, your fist pc will be find, now just try to connect

Reply

nilim February 11, 2010 at 7:26 am

i want to setup network between xp & win 7 using wifi.
can any 1 help ???

Reply

afridi@itd March 15, 2010 at 3:21 am

its very similar, but if you are facing some difficulties, than just make a wifi connection in XP , and search with win7

Reply

bharat March 2, 2010 at 12:26 pm

thanx bhai, that is very useful

Reply

shion March 7, 2010 at 1:14 am

good post
but
can i use it with windows xp and windows vista?
thanks for the answer.

Reply

afridi@itd March 15, 2010 at 3:22 am

Sure you can use,

Reply

ranjan March 9, 2010 at 8:53 pm

how to connect it……….

Reply

afridi@itd March 15, 2010 at 3:23 am

just follow the tutorial and try to search wifi network from your PC or laptop having wifi.

Reply

Krishna moorthy March 22, 2010 at 11:05 am

Hi
In my campus. No need to set an ip address. It connect automatically. For that case. How to share the internet connection bet two laptops. Where I can put IP address?

Reply

klaudux March 24, 2010 at 4:32 pm

thx a lot man X)

Reply

J April 13, 2010 at 5:50 pm

umm I don’t think I have an ip address…idk.. Do I just make one up? Any help would be appreciated

Reply

Babar April 17, 2010 at 11:28 am

Thanx
Very nice sharing
I’ll try it today

Reply

Chan April 28, 2010 at 7:48 am

Phaltu article…

Ho wcan i connect my Mobile to phone ?

making conmputer as modem and Phone as receiver

Reply

Ch Nasser May 4, 2010 at 4:05 pm

great work but plz upload the same thing for vista thanx

Reply

Faraz A Qureshi May 24, 2010 at 5:06 am

Quite an excellent and well-guidin topic. However, the trouble in my case is that one of my laptops is usin Vista while the other Windows 7. Could u list down the steps in this regard for the same purpose?

When I create an ad hoc wireless network on laptop 1 with Vista the one with Windows 7 when tries to connect to the same, finding the signals to be Excellent ends up with an unidentified network. Similarly, on the other hand, if the network is created on laptop 2 with windows 7 the laptop 1 with vista finds the same trouble. Even the workgroup name on both laptops are same.

Please c if u can refer to some source of helpful info.

Thanx again.

Reply

ijash June 8, 2010 at 4:25 pm

sorry, i’ve followed all the steps, but i had a problem. the wifi has connected to each other, but whe i try to find another computer in the same workgroup, the other computer wont show up. how to solve it?

Reply

Krishna Reddy July 1, 2010 at 10:50 am

Very Good Web site for all Hardware Engg.

Reply

Beramka July 5, 2010 at 10:20 am

hi guys,
using this connection, if u run a game on PC1, can u extend it on PC2?
thanks for the help
Beramka

Reply

chuck July 17, 2010 at 6:35 pm

this is very good info.

Reply

Danny July 29, 2010 at 4:42 pm

Dear:
i have 2 laptop one it’s belong to company which i work for and another one is mine so the laptop for company is join to domain and my laptop is not(Workgroup ) so i have problem between workgroup and domain, there is any solution.
or any program that i can share internet connection using WiFi
thanks

Reply

komaz August 8, 2010 at 12:42 pm

tnx dude : )

Reply

parvej August 24, 2010 at 4:49 am

i m nt able to share files between my 2 laptops.
my second laptop is given by company and while click on “view workgroup computers”…..
it says that”u might nt have permission to use this network so contact the administrator of this server.”

so now what i can do to share files and internet on my both laptops….
plz revert me as soon as possible

Reply

edgar August 27, 2010 at 10:20 am

can any chat client be used in making chat with the other pc? or peer to peer client is needed.

Reply

Leave a Comment