Flux rss

Creating an ad hoc WiFi network

Presentation of the ad hoc WiFi network

If you have two or more computers equipped with wireless adapters (WiFi cards), it is possible to easily connect them in a network by setting up a so-called "ad hoc" network, that is, a computer-to-computer network, without using an access point.

If one of the computers on the ad hoc network has an internet connection, it is possible to share it with the other computers on the network, like in the case of a traditional local network.

Installing drivers

Before doing anything else, you need to equip all the machines that will be on the future ad hoc network with a wireless adapter and install drivers. You are strongly advised to visit the website of the wireless adapter's manufacturer, to retrieve the latest versions of the drivers, even if you have recently purchased your hardware. Major updates generally take place when hardware is put on the market. In addition, drivers in their packaging are sometimes several months old.

To install the wireless adapter, you need to refer to the documentation provided or, if you run into a problem, perform a search on your favourite search engine with the brand and reference number of your hardware as keywords and one or more keywords such as "installation", "drivers" and "windows".

If the installation goes smoothly, in Windows XP, a prompt window should appear to ask you to continue with the installation and a warning message may appear stating the following:

The software you are installing for this hardware:
*********************
has not passed Windows logo testing
to verify its compatibility with Windows XP. (Tell me
why this test is important.)

Continuing your installation of this software may impair
or destabilize the correct operation of your
system, either immediately or in the future. Microsoft
strongly recommends that you stop this
installation now and contact the hardware vendor
for software that has passed
Windows logo testing.

Click Continue. A balloon should appear stating that new hardware has been installed and prompting you to execute the automatic configuration. The rest of this article describes how to manually configure the ad hoc network connection.

A new icon appears in the bar, indicating the presence of an active wireless adapter in the computer:

Wireless network icon

By default, Windows XP offers a utility making it possible to configure wireless networks. The Microsoft Windows XP wireless network configuration utility disables manufacturer configuration tools. To disable the Windows XP tool, simply click Start/Settings/Network connections, then right-click the icon corresponding to the wireless network and choose Properties. In the wireless network configuration tab, check or uncheck Use Windows to configure my wireless network. Dialogue box - Use Windows to
configure my wireless network

This manipulation involves enabling or disabling Windows XP's wireless network automatic configuration service. An alternative is to go to the control panel/Administrative tools/Services, and then to start or stop the Automatic wireless configuration service.

In the rest of this article, all manipulations will be made using the Windows XP utility (Service pack 2).

Configuring the ad hoc network

The properties dialogue box for the wireless network connection (wireless network configuration tab) presents the networks detected by the wireless adapter and lets you configure them.

To create an ad hoc network, you need to add a new network, identified by a unique name, the SSID. To do so, click the button Add. A new dialogue box opens:

Creating an ad hoc network

To create the ad hoc network, on each of the future network's computers, you simply need to enter the same SSID and check the box "This is a computer-to-computer network". The other options are used to heighten security. Firstly, leave the network completely open (with the options in the above screenshot), so as not to multiply settings that could prevent the first networking.

At this point, the machines on the ad hoc network should be able to connect to each other.

Resolving problems

If the icon on the taskbar shows a small cross, it means that the computer is not connected to the wireless network; you should check the following points:

  • In the list of available wireless networks (single click the Wireless network connection icon on the taskbar), the ad hoc network's SSID should appear. Double click on its name to connect
  • If it does not appear, open the properties of the wireless network connection (Wireless network configuration), click Advanced and make sure the computer is not configured to Networks with access point only (infrastructure)
  • If it still doesn't work, temporarily disable your personal firewalls (including the Windows XP firewall), to reduce the number of causes that could be creating the failure

IP configuration

The previous steps let you connect the various machines. However, to be able to fully use the network, you need to define an IP addressing for the network's machines and set up a certain number of services (web server, shared files, internet connection sharing, etc.).

For this type of network, it is necessary to use a private IP address. There are address ranges reserved to that effect, in this case 192.168.0.1 to 192.168.0.255 will be sufficient (or 192.168.1.1 to 192.168.1.255 if you already have a local network with the previous addressing).

If one of the computers on the ad hoc network already has an internet access it wants to share with the network's other computers, it is usually named 192.168.0.1 (or 192.168.1.1), but this is just a convention. The other machines will take addresses from the same address range: 192.168.0.2, etc.

To configure the machine, simply right-click the icon corresponding to the wireless network connection, then choose "properties":

Network connection properties

Then, in the list of protocols, select "Internet protocol (TCP/IP)" and click "Properties":

Internet protocol properties (TCP/IP)

Enter each machine's IP address, making sure not to enter the same IP address twice, 255.255.255.0 as subnet mask and possibly the IP address of the machine sharing the internet access (default gateway, with the address 192.168.0.1 by convention).

Internet protocol properties (TCP/IP)

In the fields concerning the DNS, enter the IP addresses of the name servers corresponding to the connected machine's service provider. To find them out, you can just enter the following command for example (Start/Run) on the machine that's connected to the internet:

cmd /k ipconfig /all

All that's left is to test the connection between the machines on the ad hoc network.

Last update on Thursday October 16, 2008 02:43:21 PM.

This document entitled « Creating an ad hoc WiFi network » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.

Results for

Creating an ad hoc WiFi network If you have two or more computers equipped with wireless adapters (WiFi cards), it is possible to easily connect them in a network by setting up a so-called "ad hoc" network, that is, a computer-to-computer network, without using an access point. If... en.kioskea.net/configuration-reseau/configurer-routeur-wifi.php3
Ad-hoc Networks Hello, I'm just wondering if anyone knows a way to make vista automatically connect to an ad-hoc wireless network. I know it is possible to do this for an infrastructure type network, but i cannot seem to do it with an ad-hoc. XP seems to treat... en.kioskea.net/forum/affich-10950-ad-hoc-networks
Creating a local area network When you have several computers, it can be convenient to connect them to each other to create a local area network (LAN). Setting up such a network costs very little, contrary to what people may think. Here are a few advantages you could enjoy by... en.kioskea.net/configuration-reseau/creer-reseau-local.php3

Results for

Securing your wireless networkSecuring your wireless network What is Wi-Fi? Ad-hoc mode Infrastructure mode connection Security and protection What is Wi-Fi? Wi-Fi regroups various IEEE802.11 standards and technologies, using radio waves to provide reliable... en.kioskea.net/faq/sujet-431-securing-your-wireless-network
Create a PDF fileCreate a PDF file What is a PDF file? PDF Creator Create Adobe PDF Online Primo PDF ITekSoft What is a PDF file? A Portable Document File (PDF) is a program that has been licensed by Acrobat Company. The program allows the user to... en.kioskea.net/faq/sujet-201-create-a-pdf-file
(Wi-Fi) Wireless Configuration for your laptop(WiFi) Wireless Configuration for your laptop What is SSID? Wireless Channel Selection WEP How to set up your wireless connection For Acer users For Asus users For DELL users For Compaq users For Fujitsu Siemens For Gericom... en.kioskea.net/faq/sujet-294-wi-fi-wireless-configuration-for-your-laptop

Results for

How can i configure my personal Wifi networkHello, hey,...can you help me out regrding to configure my personal Wifi network via my laptop.i have already a broadband connection with me & i just want to convert that broadband network into Wifi network,so that i can connect other Wifi enabled... en.kioskea.net/forum/affich-16376-how-can-i-configure-my-personal-wifi-network
Wifi 2 wired networkHello, I have wifi network and I'd like to share with my friend by wired network no switch/hub/router but it doesn't work en.kioskea.net/forum/affich-19758-wifi-2-wired-network
Network Servers AdvertisingHello, How will i want to see the Network Servers Advertising on my Network ? en.kioskea.net/forum/affich-2349-network-servers-advertising

Results for

Download PDF CreatorPDFCreator is a free tool to create PDF files from almost any application that can print. It also possesses options of security allowing to code the PDF to protect their reading. PDF Creator also allows to create images in PNG, JPG, TIFF, BMP, PCX,... en.kioskea.net/telecharger/telecharger-40-pdf-creator

Results for

Europe's GEANT computer network extends its reachEU Telecommunications Commissioner Viviane Reding gives a press conference in 2007. The world's highest-speed computer network, Europe's GEANT, is linking up with others worldwide to create a global research network, the European Commission... en.kioskea.net/actualites/europe-s-geant-computer-network-extends-its-reach-10167-actualite.php3
Russia to create Internet addresses in CyrillicA man uses a computer at an Internet cafe in Moscow. Russia will be able to create its first Internet addresses using the Cyrillic alphabet next year, communications ministry official Vladimir Vassiliev told Interfax news agency on Sunday. Russia... en.kioskea.net/actualites/russia-to-create-internet-addresses-in-cyrillic-10496-actualite.php3

Results for

Securing a WiFi network A wireless network, and by extension a WiFi network, is much more sensitive than a wired network since data freely circulate in the air. It is essential that you protect your wireless network, even if you think the circulating data are not... en.kioskea.net/configuration-reseau/securisation-reseau-wifi.php3
Internet - ARP The ARP protocol plays a key role among Internet layer protocols relating to TCP/IP, since it enables the physical address of a network interface card corresponding to an IP address to be known. That is why it is called Address Resolution Protocol.... en.kioskea.net/internet/arp.php3
WiFi - 802.11i / WPA2 802.11i was ratified on 24 June 2004, in order to address security issues in WiFi networks. Like WPE, it relies on the TKIP encryption algorithm, but it also supports the much more secure AES (Advanced Encryption Standard). The Wi-Fi Alliance created... en.kioskea.net/wifi/wifi-wpa2.php3