Skip to content
Step by Step Internet 🌐 Guides for learning to surf the Net

AD HOC mode What is it, what is it for and what are the advantages of using it?

You are likely to wear a daily at home and at work or study a AD HOC network, but you know it with another name. This type of network allows you enter the Internet and share information with other connected devices.

AD HOC networks are characterized by being decentralized structures that do not need other computers to exchange data or surf the Internet. In the following paragraphs you can find information about these structures.

Also, We will talk about the benefits of using them and the security problems you may face. Learn the steps to configure them on any computer.

What is AD HOC mode in wireless networks and what is it for?

AD HOC mode It is a network structure characterized by having all the devices connected to each other by chaining, without having to depend on a specific or centralized infrastructure.

This means that each team can associate freely and share the same hierarchical state, even though new devices are incorporated (which will have the same range and freedom as the existing nodes). This type of decentralized networks refer especially to wireless, also calls with the standard IEEE 802.11 of the Institute of Electrical and Electronic Engineers.

What are the benefits of using AD HOC networks in the home or office?

Among the most outstanding benefits of AD HOC networks we can mention that different nodes can share information with each other, without having the need to request authorization from another team. Nor should you transmit the data packets through any special computer. In this way, a agility important within the decentralized structure so it no router or access point required.

No wiring required to create a network of this type. This makes installation costs very low compared to other networks, allowing the incorporation and exit of other participants in a fast way.

The latter also generates that configuration is minimal, so it is not necessary to have advanced computer skills to belong to a AD HOC network. Another outstanding benefit is the coverage area. Which is relatively wide, and can be improved with simple steps using repeaters.

Security in AD-HOC Networks How safe is it to use these networks?

To belong to a AD HOC network it is necessary to enter through an access point, which generally has a login password. This means that Any hacker who deciphers the security PIN will be able to access and be part of the network.

In this network, each node It runs its own system of intrusion detection protocols, so the security level of the entire network can fail, causing the hacker to enter any computer and intercept data packets. Therefore, we can say that the level of security offered by wireless networks is relatively low.

Learn how to set up an AD-HOC network quickly and easily on all major operating systems

Learn how to set up an AD-HOC network quickly and easily on all major operating systems

Anytime configure an AD-HOC network You will have to follow the steps that we will show you below, which will depend on the operating system you have on your computer.

Let's see how you should proceed in each case:

In Windows

The steps that you will have to carry out in Windows are the following:

  • Press the Start button and type "Cmd". This will cause the application to run "Symbol of the system".
  • When you see the popup, right click on the option "Symbol of the system"and choose to run as administrator.
  • Then enter the command "Netsh wlan show drivers" to know the network interface.
  • Writes Netsh wlan set mode = allow ssid = key = .
  • Run the command "Netsh wlan start hostnetwork" to start the network.

At this time you will have to go to the Control Panel and follow this guide:

  • Select the option "Network and Internet".
  • Click on "Center network and sharing".
  • Choose the option "Change adapter settings" clicking on it.
  • A pop-up window will be displayed with the different network connections. Choose "Shared Internet connection" and search the website you just created.
  • Press the right mouse button and choose the tool the device connected to Wifi.
  • Select the tab "Share".
  • Activate the option "Allow other network users to connect through this computer's Internet connection" and select the network AD HOC created.
  • If you want to know the IP of the connection, double click on the option "TCP / IPv4 Properties" and then choose "Networks".

On Linux

When you have a Linux computer you must follow this step by step:

  • Open the command line and enter $ iwconfig wlan0 mode Ad-Hoc.
  • Then type $ iwconfig wlan0 essid .
  • Enter a password to increase security. For this, you will have to run $ iwconfig wlan0 key s:.
  • Finally, type the command $ ifconfig wlan0 ip.ip.ip.ip netmask .

On macOS

On a Mac, you will do the following:

  • Go to the tool "System preferences".
  • Select the option "Share".
  • Then in the popup choose "Share internet".
  • Display the box "Share the connection of:" and choose "Ethernet".
  • In "The use of computers to:", you will have to select "Wifi".
  • Then, you are going to have to click on "WiFi Options".
  • Enter the AD HOC network name, frequency channel, and security type.
  • Click on "Start".