> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bytejmp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface Setup

> Prepare a wireless interface for monitor mode using airmon-ng: required before running any active wireless attack.

## Overview

Monitor mode allows a wireless interface to capture all 802.11 frames on a channel, not just frames addressed to the host. Required for passive sniffing, handshake capture, and injection attacks.

`airmon-ng` handles enabling and disabling monitor mode and kills conflicting processes (NetworkManager, wpa\_supplicant) that interfere with packet injection.

***

## Kill Interfering Processes

Stops background services that conflict with monitor mode:

```bash theme={"dark"}
sudo airmon-ng check kill
```

***

## Enable Monitor Mode

```bash theme={"dark"}
sudo airmon-ng start <WIFI-INTERFACE>
```

Creates a new virtual interface (e.g. `wlan0mon`) in monitor mode.

***

## Disable Monitor Mode

```bash theme={"dark"}
sudo airmon-ng stop <WIFI-INTERFACE>
```

Destroys the monitor interface and restores managed mode.

***

## Manual Channel Change

Lock a monitor-mode interface to a specific channel:

```bash theme={"dark"}
sudo iwconfig <INTERFACE-MON> channel <NUMBER>
```

***

## MAC Address Spoofing

Change the interface MAC before connecting or launching a rogue AP:

```bash theme={"dark"}
systemctl stop network-manager
ip link set <INTERFACE> down
macchanger -m <NEW-MAC> <INTERFACE>
ip link set <INTERFACE> up
```
