Adhoc Network

Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 3

How to Set Up an Ad Hoc Network

Devices will start in infrastructure mode, but all devices that you want connected to the ad hoc network
must be in ad hoc mode. To change this, you must either install a wireless network adapter or change a
couple settings within your computer.

How you set up your ad hoc network will depend on what operating system you use. Training for and
acquiring a computer networking certification will give you the skills to install and manage a variety of
networks, but if you’re in a pinch, follow the guides below.

Windows 10 or 8

· Go through the Command Prompt and type the following: netsh wlan set hostednetwork
mode=allow ssid=[your desired network name] key =[your desired password].

netsh wlan set hostednetwork mode=allow ssid=AdHocNetwork key=yourpassword

· Start the hosted network by inputting the following into Command Prompt: netsh wlan start
hostednetwork.

· In your Control Panel, open Network and Sharing Center.

· Click on Network Connections.

· Click on Change Advanced Sharing Center.

· Turn on Network Discovery.

· Click OK.

Windows 7

· Click on the Start menu.

· Click Connect To.

· Then Set up a connection or network.

· Choose Set up a wireless ad-hoc (computer-to-computer) network.

· Click Next.

· Enter the network details, like the SSID and the password.

Click Next.

Mac OS
· Pick Create Network from AirPort

· Click on Create a Computer-to-Computer Network.

· Follow the on-screen prompts.

Following these steps will create an ad hoc network that other devices can join. From there, you can
transfer files between connected devices and other connected users can access the internet through
your device.

Set Up an Ad Hoc Network on Windows 10 and 8.1


Windows 10 doesn't have a proper ad hoc network feature. You can, however, create something that
looks and behaves like the ad hoc network feature on previous versions of Windows.

Before setting up an ad hoc network on Windows 10 and 8.1, you'll need Windows and client computers
with wireless network adapters.

1. Go to the Windows desktop search and enter Command Prompt.

2. Right-click the Command Prompt result, then select Run as Administrator.

3. Enter the following command in the command line. For the ssid= variable, replace
AdHocNetwork with the name for your network. For the key= variable, replace yourpassword
with the password for your network.netsh wlan set hostednetwork mode=allow
ssid=AdHocNetwork key=yourpassword

4. Enter the following command to start the new network.


netsh wlan start hostednetwork

5. Minimize or close the command prompt window, then open Control Panel.

6. In the Control Panel, select Network and Internet.

7. Select Network and Sharing Center.

8. Select Change adapter settings.

9. In the list of network adapters on the computer, right-click the adapter that you're connected
with, then choose Properties.

10. Go to the Sharing tab.

11. Select the Allow other network users to connect through this computer's Internet connection
check box. Then, select the Home networking connection drop-down arrow and choose the
interface from the ad hoc network.

12. Select OK to save the changes.


13. Return to the Network and Sharing Center to verify that the ad hoc network is connected to the
internet through the other interface.

14. You can now connect to your computer's ad hoc network.

Limitations of Ad Hoc Wireless Networks

· Ad hoc wireless networking only includes WEP-only security.

· In this type of network, computers need to be within 300 feet.

· When the host computer disconnects from the network, other users are disconnected and the
ad hoc network is deleted.

You might also like