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

# WPA Enterprise: PEAP

> Connect to WPA Enterprise networks using PEAP/MSCHAPv2 authentication with domain credentials.

## Overview

PEAP (Protected EAP) wraps the MSCHAPv2 exchange inside a TLS tunnel. The most common WPA Enterprise configuration in corporate environments, authenticates with a domain username and password.

***

## Config File

`wpa-enterprise-peap.conf`:

```
network={
    ssid="NETWORK-NAME"
    scan_ssid=1
    key_mgmt=WPA-EAP
    eap=PEAP
    identity="DOMAIN\username"
    password="password"
    phase1="peaplabel=0"
    phase2="auth=MSCHAPV2"
}
```

***

## Connect

```bash theme={"dark"}
sudo wpa_supplicant -Dnl80211 -i <INTERFACE> -c wpa-enterprise-peap.conf
```

Get an IP address:

```bash theme={"dark"}
sudo dhclient <INTERFACE> -v
```
