# Wireless Methodology and Commands

## Enumeration Commands&#x20;

```python
iwconfig # command to see the interfaces.
sudo airmon-ng  # Command to see interfaces as well.

## Enable Monitor Mode
sudo airmon-ng check kill  ## this will kill any relevant processes which causes issues.
sudo airmon-ng start wlan0 ## this will start the monitor mode.

## Manual Approach if above fails
sudo ip link set wlan0 down
sudo iw dev wlan0 set type monitor
sudo ip link set wlan0 up

## Network Scanning
sudo airodump-ng wlan0mon ## this will start scanning for networks
```

## WPS Commands

```python
airodump-ng --wps wlan0mon ## Enumerate available Wi-Fi networks with WPS using airodump-ng.
wash -i wlan0mon ## Enumerate available Wi-Fi networks with WPS using wash.
wash -j -i wlan0mon ## Enumerate available Wi-Fi networks with WPS using wash with verbose output.
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://notes.programmersecurity.com/wireless-pentesting/wireless-methodology-and-commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
