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

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. ...

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...

FLAOT ROUTE + NAT

  TOPOLOGY GO TO ISP-1 ROUTER AND ENTER THIS COMMANDS IN CONFIGURATION TERMINAL MODE . inter f0/0 ip address 202.56.215.1 255.255.255.0 no shutdown exit ip dhcp excluded-address 202.56.215.1 202.56.215.20  ip dhcp pool isp1 network 202.56.215.0 255.255.255.0 default-router 202.56.215.1 exit inter loopback 0  ip address 8.8.8.8 255.0.0.0 no shutdown exit write GO TO ISP- 2 ROUTER AND ENTER THIS COMMANDS IN CONFIGURATION TERMINAL MODE . inter f1/1 ip address 200.200.200.1 255.255.255.0 no shutdown exit ip dhcp excluded-address 200.200.200.1 200.200.200.100  ip dhcp pool isp2 network 200.200.200.0 255.255.255.0 default-router 200.200.200.1 exit inter loopback 0  ip address 8.8.8.8 255.0.0.0 no shutdown exit write GO TO R1 ROUTER AND ENTER THIS COMMANDS IN CONFIGURATION TERMINAL MODE . inter fa0/0 ip address 192.168.100.1 255.255.255.0 no shut exit inter f1/0 ip address dhcp no shutdown inter f1/1 ip address dhcp no shut ip dhcp pool manan network 192.168.100.0 255....