AD HOC WiFi networks are the most used in homes and also in companies with small numbers of integrated devices. It has the great advantage that they can share resources and their assembly is very fast.
Thanks to this kind of decentralized network we can access the different nodes in a direct way without having to resort to a structure managed by a router. In this way, the data information that comes and goes through the members of the network is very active.
We will show you the different components that an AD HOC network has and we will also teach you how to configure one of these networks in a safe way, showing you the advantages and disadvantages that it has.
What is an AD HOC WiFi network and what can it be used for?
An AD HOC network is a type of wireless network characterized by being point-to-point and where your nodes can communicate with each other without depending on a fixed infrastructure as long as each of the network components have the same hierarchical level.
In other words, as there is no structure or anything, we will not need routers or access points for communication to arise between receiving and sending data between these nodes.
When there is an AD HOC wireless network, its components communicate with each other, bringing and bringing in the information that exists in the network, making it a very dynamic way of forwarding data.
This kind of networks handle IEEE 802.11 type standards. If other devices need to be connected, these nodes can quickly be integrated into an AD HOC network and belong to it with a certain range of reach.
AD HOC wireless networks are used primarily in home networks where no more complex installation is needed.
They are also used when there are civil or natural emergencies of different scales, because they are easy to implement and since they do not have a managed structure, the nodes can work perfectly.
It is widely used when you need to share information or files between different computers or devices that belong to the wireless network.
Although it is true that they do not have Internet access, this can be solved by applying cards that adapt to the AD HOC mode configuration connected through the same user name or SSID, or through Tethering or USB tethering.
We will see these issues, about Internet connection, at the end of this post.
What are the necessary components to create an AD HOC network?
The elements we need to be able to build an AD HOC network are the following:
- Network interface card, like all networks, each node needs these cards to be able to access the support of the specific wired network scheme.
- For those wireless networks, what we will need will be wireless network cards to connect with each other.
- Workstations, which can be computers or mobile devices, which we will call network nodes in the future.
- Shared resources, it is generally the main purpose of an AD HOC network, and it is to share the different peripheral resources between the members of the network, for example, a printer.
What are the advantages and disadvantages of AD HOC wireless connections?
Like any decentralized network structure, it has advantages and disadvantages, which we mention below:
The advantages of this kind of network are the following:
- Are from easy set upThe configuration simply has to be done in each node in a very simple way. Windows offers the possibility in very few steps to configure each computer.
- I know can share files and data in a faster way since as they are all interconnected, an administration process is not needed to go to a leader or master and from there return that information or file to another node.
- It can share internet connection with other devices, making this an important advantage since with very few resources we can get one computer to work as a modem for the others.
- Initially, They are cheaper than other managed networks, it is that no extra expenses such as certain cabling are needed for the connection with the router.
Among the disadvantages of this network we can name the following:
- As the nodes are interrelated, when one disconnects probably Disarm the network or at least the nodes that are within range of the one that was disconnected.
- Security is very low in this type of networkSince all nodes are connected to each other, if an intruder enters any of those nodes, they can safely belong to the AD HOC network as a whole.
- The elements shared in this kind of wireless networks is also a problem since they need all the users or nodes to have access to the hardware or the file that you want to share for it. It is necessary to have accounts enabled in each of these devices to be able to access the hardware or file that is needed.
- Antennas, with this element we will gain in signal and avoid interference between nearby devices.
Steps to securely configure an AD HOC wireless network
Next, we will show the steps we need to do to configure a wireless network with AD HOC features.
Wireless network card installation
If our computers do not have these boards installed, we will have to do so so that they can communicate through radio waves.
In order to configure the NICs that we will have in each of our work teams, we will have to carry out the following steps:
- We choose “Start”
- We look for the option “Control Panel”
- And we choose “Network connections”
- At this moment all the NICs will appear, we select the one that corresponds and right click
At this moment, a window will appear with a menu in which we will have to:
- Find the option “Properties”
- We seek “Application”
- We choose “Wireless networks”
- We add the AD HOC network that we want to have
- Next, we choose “To accept”
Choosing the name of the AD HOC network
- We choose the SSID, which is the name that we will give to the network
- It will ask us if we need to connect even if the network is not broadcasting, which we will choose not to for greater security
- We look for the option “Network authentication”
- And we choose “Data encryption”, in which we can put disabled
- We activate the option “This is an AD HOC computer-to-computer network. Wireless access points are not used.”
- We click on “Accept”
Create IP on the network
In this step we are going to generate different IPs for each member of the network, for this we will follow these steps:
- We choose to activate “Use Windows to configure my wireless network settings”
- We look for our network with the name we gave it, that is, our SSID
- We choose the tab “General”
- What we will do at this time is create IP manually since we will not have DHCP servers
- We select “Use the following IP address”
- We write the IP address and the subnet mask
- Next, we select “Use the following DNS addresses” for which we will write a default mask, for example 255.255.0
The last step left is to connect to the AD HOC network that we have created:
- We go to the taskbar and right click on the wireless network
- We select the option “See all”
- We choose the network that we have created
- We click on “Connect”
What are the best alternatives to AD HOC for Internet sharing?
When we want to transmit the Internet in the AD HOC network, we can convert one of the nodes into a modem and thus obtain as a result that each component of the network has access to the Internet.
There are different ways, of which we will mention 2 below:
With this mechanism we can turn any member of a network into an Internet transmitter, making it become an access door.
In order to configure an iPhone mobile device as Tethering, we will have to follow these options:
- We select “Setting”
- We click on “Cell data”
- We choose “Share internet” and we activate this option
If our device is Android, we will do these steps:
- We’ll go to “Settings”
- We choose the option “More”
- We click on “Wireless and networks”
- We look for the option “Share Internet and WiFi zone”
- We choose “Create WiFi Access Point”
If we want to configure our computer with Windows operating system we will do this guide:
- We select “Start”
- We choose “Setting”
- We click on “Internet network”
- We select “Mobile wireless coverage area”
- We look for the option “Share my Internet connection with other devices” and we click on it
- We choose the name of the network and its access password
- We choose “Save”
Converting a device through a USB anchor means that we will connect our mobile device with a computer through a cable so that it can act as a modem.
To do this, we will carry out these steps on our mobile with Android operating system:
- We select “Settings”
- We click on “More”
- We look for the option “Connections”
- We select “Connection Sharing and Modem”
- We click on the option “Shared connections”
- Finally we squeeze “To accept”
For Apple brand devices we only have to take into account that our iTunes is connected with the latest updated version.
If you have any questions, leave them in the comments, we will answer you as soon as possible, and it will surely be of great help to more members of the community. Thank you! 😉