Bambang F. Indarto

The Journey… The Shares

Connecting PC to PC Wireless

Posted by bfindarto on July 7, 2008

Nowadays, we’re living in the Internet and wireless connection. Most of the time, we just think that if we want wireless connectivity, we should have an access point around or a wireless router. And also, there come a time when we want to get data from another PC/notebook, we don’t have floppy, or USB drive, or LAN cable… then we get stuck, arrgghhh!!!

Actually, we can utilize our Ad-Hoc wireless connectivity so we can connect two PCs peer to peer. Using this peer to peer connectivity, we can share data or even activate Internet Connection Sharing (ICS).

2csa

Here, I want to show how to configure our PC so they can get connected peer to peer:

  1. First, our machines should have wireless network card, which is usually already installed in notebooks (or most of modern PC).
  2. Open the “Network Card Properties” and set the SSID. Make sure that each machine should have same SSID name. If the machines don’t have same SSID, they will not get connected.
  3. In the “Network Card Properties”, set the “channel” for the wireless network. Make sure you configure the channel with the same number. If the machines don’t have same channel number, they will not get connected.
  4. Configure static IP for both of the machines. Make sure you configure the IP within same subnet/same range. eg. all IP in 255.255.255.0 subnet (eg. 192.168.1.1 to 192.168.1.254)
  5. Also… you need to configure the wireless network operating mode to Ad-Hoc. Usually, by default, the wireless network operating mode is set to Infrastructure (using access point).
  6. To check the configuration, we may use ping command.

With this configuration, your Ad-Hoc connectivity should runs well, and the PCs may share resources. And.. let say, if PC 1 has Internet connection, and the other PC also need Internet connection, PC 1 may share the Internet Connection by activating ICS.

  1. In PC 1 (as the host), open the Network Card Properties and activate the ICS. Also you should note down the IP address of PC 1.
  2. In PC 2, configure the gateway IP address with the IP address of PC 1.
  3. Also, for the optional step, configure DNS IP address of PC 2 with your DNS IP Address of your ISP.

Are you thinking of playing game with AdHoc Connection? He he..

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: