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

TCP/IP MODEL

  HISTORY OF TCP/IP MODEL THE TCP/IP MODEL WAS DEVELOPED BY VINT CERF AND BOB KAHN IN THE 1970S. THEY WERE BOTH WORKING AT THE DEFENSE ADVANCED RESEARCH PROJECTS AGENCY (DARPA) AT THE TIME. Vint Cerf And Bob Kahn CERF AND KAHN WERE TASKED WITH DEVELOPING A NEW NETWORK PROTOCOL THAT WOULD BE MORE RELIABLE AND EFFICIENT THAN THE EXISTING PROTOCOLS. THEY CAME UP WITH THE IDEA OF USING A LAYERED APPROACH, WHICH WOULD ALLOW EACH LAYER TO FOCUS ON A SPECIFIC TASK. THIS LED TO THE DEVELOPMENT OF THE TCP/IP MODEL, WHICH IS STILL THE BASIS FOR HOW DATA IS TRANSMITTED OVER THE INTERNET TODAY. CERF AND KAHN ARE OFTEN REFERRED TO AS THE "FATHERS OF THE INTERNET" FOR THEIR WORK ON THE TCP/IP MODEL. THEY WERE INDUCTED INTO THE NATIONAL INVENTORS HALL OF FAME IN 2004 FOR THEIR CONTRIBUTIONS TO THE DEVELOPMENT OF THE INTERNET. HERE ARE SOME OTHER NOTABLE PEOPLE WHO CONTRIBUTED TO THE DEVELOPMENT OF THE TCP/IP MODEL: JON POSTEL: POSTEL WAS THE FIRST CHAIRMAN OF THE INTERNET ENGINEERI...

Types Of Attack in Network

Common Network Attacks Explained. 1. Overwhelming a Network (DoS/DDoS): Imagine a restaurant that's flooded with too many customers. In a DoS/DDoS attack: A website is overwhelmed with too much traffic. 2. Eavesdropping on Conversations (MitM): Imagine someone listening in on your phone call. In a MitM attack: An attacker listens to your online conversations. 3. Tricking You (Phishing): Imagine receiving a fake email from your bank. In phishing: Attackers try to trick you into giving them your personal information. 4. Finding a Weakness in a Website (SQL Injection): Imagine finding a hole in a fence. In an SQL injection attack: An attacker finds a weakness in a website to steal or change data. 5. Planting a Hidden Camera (XSS): Imagine someone hiding a camera in a party. In an XSS attack: An attacker hides harmful code on a website to spy on you. 6. Guessing Your Password (Password Attck): Imagine trying to guess a friend's password. In a pas...

OSI Refrance Model

OSI MODEL 1. THE OSI MODEL WAS DEVELOPED BY THE INTERNATIONAL ORGANIZATION FOR STANDARDIZATION (ISO) IN THE LATE 1970S. THE MAIN ARCHITECT OF THE OSI MODEL WAS HUBERT ZIMMERMANN, A FRENCH SOFTWARE ENGINEER. 2.  ISO REPRESENT A 1947 MORE THAN WORK AND AGAIN REPRESENTS A ISO IN 1977 AND MORE THAN WORK AN REPRESENT  IN 1983 A OSI REDFRENCE MODEL. 2. HIS MODEL REPRESENT A 7 LAYER 3. OSI MEANS  (OPEN SYSTEMS INTERCOMMUNICATIO). 1. APPLICATION LAYER 1. THE APPLICATION LAYER IS USED BY END-USER SOFTWARE SUCH AS WEB BROWSERS AND EMAIL CLIENTS.  IT PROVIDES PROTOCOLS THAT ALLOW SOFTWARE TO SEND AND RECEIVE INFORMATION AND PRESENT MEANINGFUL DATA TO USERS. 2.  IT SENDS ITS DATA TO THE FORM OF THE  PDU. PROTOCLS  AND DEVICES USED IN LAYER THERE ARE SOME PROTOCOLS THAT WORK AT THE BACKEND OF THE APPLICATION LAYER. WHICH IN TURN WORKS AT THE APPLICATION LAYER. MANY DEVICES USE IT AT THE APPLICATION LAYER. PROTOCOLS FTP  (FILE TRANSOFER PROTOCOL) DNS (DOMA...