> For the complete documentation index, see [llms.txt](https://documentation.hak5.org/wifi-pineapple/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.hak5.org/wifi-pineapple/setup/connecting-to-the-wifi-pineapple-over-wifi.md).

# Setting up the WiFi Pineapple over WiFi

{% hint style="info" %}
When possible, we recommend performing the initial setup of your WiFi Pineapple via the USB-C Ethernet connection.
{% endhint %}

## Pineapple\_XXXX Setup Networks

The WiFi Pineapple serves an Open AP for you to connect to for the purposes of completing device setup. The SSID of the AP is `Pineapple_XXXX`, where the 'XXXX' is the last 4 characters of the devices MAC address.

![](/files/-MhykL9FvcnBhM2NYyYK)

Connect to this network as you would normally from your computer or phone.

After connecting to the AP, you will receive an IP via DHCP from the WiFi Pineapple.

## Continuing with WiFi Setup

To protect your device from being configured by someone else in range of the WiFi setup network, you must confirm that you are physically at the device by pressing the button when prompted by the setup wizard.

Sometimes pressing the button can be difficult if the plastic is stiff - if you are having trouble, we recommend pressing the button with something solid like a pen cap.

## After Setup

After setup is complete, the WiFi Pineapple will *remove the setup networks* and configure the networks you created during setup.

You will need to connect to the management network you created, then navigate to <http://172.16.42.1:1471> to use your new, configured, WiFi Pineapple!

{% hint style="info" %}
Remember - if you set up over WiFi, you'll need to connect to your new management network to use your device!  The Pineapple\_XXXX network will disappear after setup is complete!
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://documentation.hak5.org/wifi-pineapple/setup/connecting-to-the-wifi-pineapple-over-wifi.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
