Skip to main content

To Set up Ad Hoc Wireless Network

 


To set up an Ad Hoc Wireless Network in Windows 8/10 using command prompt, follow these steps:


Open Command Prompt as Administrator:


Press Win + X and select Command Prompt (Admin) from the menu.

Check if your Wi-Fi adapter supports Hosted Network: Run the following command to check if your Wi-Fi adapter supports hosted networks:


shell

Copy code

netsh wlan show drivers

Look for the line that says Hosted network supported. If it says Yes, you can proceed with setting up the Ad Hoc network.


Set up the Hosted Network: To create an Ad Hoc network, use the following command, replacing YourNetworkName and YourPassword with your desired network name and password:

1. netsh wlan set hostednetwork mode=allow ssid=YourNetworkName key=YourPassword

mode=allow: Allows the hosted network feature.

ssid=YourNetworkName: The name of your Ad Hoc network (SSID).

key=YourPassword: The password for the network (make sure it’s at least 8 characters long).

2. Start the Hosted Network: To start the network, run the following command:

3. netsh wlan start hostednetwork

 Stop the Hosted Network (if you want to stop the network later): To stop the hosted network, use:

4. netsh wlan stop hostednetwork

Enable Internet Sharing (optional): If you want to share your existing internet connection (e.g., from Ethernet or another Wi-Fi connection) with the Ad Hoc network, follow these steps:


Go to Control Panel > Network and Sharing Center > Change adapter settings.

Right-click your internet connection (e.g., Ethernet or Wi-Fi), and select Properties.

Go to the Sharing tab and check the box for Allow other network users to connect through this computer's internet connection.

In the drop-down menu, select your newly created Ad Hoc network.

That’s it! Your Windows PC will now be acting as a wireless access point, and other devices can connect to it using the SSID and password you set up.

Comments

Popular posts from this blog

CSST COURSE 1.0

Q1. WHAT IS A ADDRESSING. Network addressing is like a two-part delivery system:   Logical Addressing (IP): This is like your permanent address (e.g., 192.168.1.1) that lets data find your device anywhere on the internet. Physical Addressing (MAC): Think of this as a unique ID for your device's network card (AA:BB:CC:DD:EE:FF) used for local delivery within your network. Q2. WHAT IS A PACKET AND FRAME . Packets: Layer: Network Layer (Layer 3) Content: The actual data you want to send, like an email, a video, or website information. Addressing: Contains logical addresses (IP addresses) to identify the sender and receiver on the network. Size: Can vary depending on the data type, but generally larger than frames. Travels across networks: Packets can travel across different networks, like the internet, as they are routed based on IP addresses. Frames: Layer: Data Link Layer (Layer 2) Content: The packet wrapped with additional information for local deliver...

About Me Information

HELLO FRIENDS, I HOPE YOU ALL ARE DOING WELL. I AM MAKING THIS BLOG FOR THE INFORMATION OF NETWORKING ABOUT. IN THIS BLOG WE WILL READ CCNA (200-301) AND ITS RELATED AND NETWORK RELATED INFORMATION. MY NAME IS ABDUL MANAN JAVED MANJ MY AGE IS 21 YEAR    I AM STUDED ABOUT NETWORK  TECHNOLOGY EMAIL ID : mananrajpoot449@gmail.com CONTACT NO : +923486777628 ADDRESS : ISLAMABAD,G7,KHADA MARKET My Website   My Facebook Account My Facebook Page My Linkedin Profile _____________________________ CONTENT ABOUT  HIS BLOGG 1.  Computer Network 2.   What Is Internet 3.   Network Architecture 4.  Osi Refrence Model 5.  Operating System 6.  Internet Protocol (Ip) 7.  Internet Protocol Types 8.   Port Number 9.  Mac-Address 10.    WHAT IS HUB 11.   WHAT IS SWITCH 12.   WHAT IS ROUTER 13.   WHAT IS NETWORK 14.   NETWORK CABLES 15.   ROUTING 16.  Data Transmission 17...

DOS AND DDOS ATTACK

A Dos (Denial-Of-Service) Attack and A DDOS (Distributed Denial-Of-Service) Attack Are Both Attempts to Make a Computer System or Network Resource Unavailable to Legitimate Users. However, They Differ in How They Achieve This: Dos Attack: Imagine A Single Person Throwing Rocks at A Castle Gate. A This Person Represents the Attacker, And the Rocks Represent the Malicious Traffic. The Castle Gate Represents the Target System or Network Resource. The Attacker Keeps Throwing Rocks, Trying to Overwhelm the Gate's Defenses and Gain Entry. Dos Attacks Are Typically Launched from A Single System. They Can Be Effective Against Small Systems or Networks, But Larger Systems Can Often Withstand Them. DDos Attack: Imagine An Army Throwing Rocks at A Castle Gate. This Army Represents the Attacker, And the Rocks Represent the Malicious Traffic. The Castle Gate Represents the Target System or Network Resource. The Attackers Coordinate Their Attack, Throwing Rocks from Multiple Directions at Once. ...