What is Ad-Hoc Mode in Wi-Fi?
A Wi-Fi network in ad-hoc mode (also called computer-to-computer or peer mode) lets two or more devices communicate directly instead of through a central wireless router or access point (which is what infrastructure mode does). Setting up an ad-hoc network is useful if there isn’t a wireless structure built, like if there aren’t any access points or routers within range. The devices don’t need a central server for file shares or printers. Instead, devices can access each other’s resources directly through a simple point-to-point wireless connection.
How to Set Up an Ad-Hoc Network on Windows
The devices that take part in the ad-hoc network require a wireless network adapter. In addition, the devices have to support a hosted network.
Windows 10 and Windows 8
These versions of Windows make it a little tougher to make an ad-hoc network when you compare the procedure to earlier Windows operating systems. If you want to set up the ad-hoc network manually without using any other software but what Windows has available, open Command Prompt and enter this command, replacing networkname with your network name and password with the password for the wireless network: netsh wlan set hostednetwork mode=allow ssid=networkname key=password Start the hosted network: netsh wlan start hostednetwork
Windows 7
How to Set Up an Ad-Hoc Network on macOS
Choose the Create Network menu option from Wi-Fi status symbol (usually accessible from the main menu bar), select the Create a Computer-to-Computer Network option, and follow the instructions provided.