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

# Open Network

> Connect to open (OPN) networks with no authentication using wpa_supplicant.

## Config File

`open.conf`:

```
network={
    ssid="NETWORK-NAME"
    key_mgmt=NONE
}
```

For hidden SSIDs, add `scan_ssid=1`:

```
network={
    ssid="NETWORK-NAME"
    key_mgmt=NONE
    scan_ssid=1
}
```

***

## Connect

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

Get an IP address:

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