> For the complete documentation index, see [llms.txt](https://documentation.hak5.org/wifi-pineapple-enterprise/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-enterprise/faq/factory-reset-and-recovery.md).

# Factory Reset and Recovery

To restore your WiFi Pineapple back to a factory state, or to recover from a bad configuration, you can perform a **Firmware Recovery**.

The firmware recovery method consists of using the device bootloader to flash the stager.

### Preparation

To begin, download the latest Stager file from the [Hak5 Download Portal](https://downloads.hak5.org/pineapple/ent1).

![WiFi Pineapple Enterprise stager download](/files/3sc03IQmOET2BXuO81SI)

{% hint style="warning" %}
For this procedure, it is important to download the special **RECOVERY** firmware — not the latest stable production firmware.
{% endhint %}

Once the recovery firmware has been downloaded, you may wish to [verify the SHA256 sum of the downloaded file](https://docs.hak5.org/general/general-articles/how-to-verify-the-sha256-checksum-of-a-downloaded-file).&#x20;

Using a paperclip, SIM card ejection tool or similar instrument, **hold down the reset button while applying power** to the WiFi Pineapple Enterprise. This may be achieved by plugging in the supplied power cable into the unit, or flipping the on/off switch on an attached power strip.

<figure><img src="/files/yMbBolW04i8YtxeJQCOr" alt=""><figcaption><p>The reset button, accessible by paperclip or SIM card tool, can be found between the power connector and RJ45 connectors.</p></figcaption></figure>

With the reset button held, the WiFi Pineapple Enterprise will show the following LED indications:

* Four white solid LEDs
* One blue solid LED
* One blue solid LED and one blinking red LED

**Immediately** after the red LED begins blinking, **release the reset button**.

The LED indication should remain with one LED solid blue, one LED blink **RED**, and two LED's off.  If the status LED changes before the firmware recovery is uploaded from the web interface, disconnect the power and repeat the above process being sure to release the reset button immediately after the red LED begins blinking.

### Assigning a Static IP Address

#### Linux

Assign the WiFi Pineapple's interface a static IP address of **172.16.42.42**. More in-depth instructions can be found in the [Linux Setup page](/wifi-pineapple-enterprise/setup/connecting-to-the-wifi-pineapple-on-linux.md).

#### Windows

Assign the WiFi Pineapple's interface a static IP address of **172.16.42.42**. More in-depth instructions can be found in the [Windows Setup page](/wifi-pineapple-enterprise/setup/connecting-to-the-wifi-pineapple-on-windows.md).

{% hint style="info" %}
New to static IP address assignments in Windows? Check [this tutorial](https://www.howtogeek.com/howto/19249/how-to-assign-a-static-ip-address-in-xp-vista-or-windows-7/).
{% endhint %}

### Uploading the Stager to the WiFi Pineapple

Once a static IP address has been assigned, open your browser and navigate to <http://172.16.42.1>. You'll then be greeted by a screen prompting you to upload a **.bin image**.

{% hint style="info" %}
Keep in mind the recovery page is on the standard HTTP port 80, not port 1471 like the normal WiFi Pineapple web interface.
{% endhint %}

If you have trouble reaching the WiFi Pineapple recovery page, make sure that:

1. The WiFi Pineapple Enterprise is showing a single solid blue LED, and a single blinking red LED.  If it is not, disconnect the power from the device and begin this process again.
2. You have a static IP assigned to the network interface created when you plug in the WiFi Pineapple.
3. You are attempting to navigate to <http://172.16.42.1> on the standard HTTP port 80, and not port 1471 used by the WiFi Pineapple web interface.

If you are still having trouble, try opening an Incognito or Private window in your browser, then navigating to <http://172.16.42.1:80>. Sometimes a browser will cache the previous results and obscure the page.

<figure><img src="/files/lIwePlmhH4frZPmRHuHO" alt=""><figcaption><p>WiFi Pineapple Enterprise Recovery Web Interface</p></figcaption></figure>

Select **Choose file** and then select the downloaded stager file from earlier. After clicking **Update firmware**, the device will begin flashing.

{% hint style="danger" %}
**Do not unplug the device.** Doing so will potentially damage your device. It will automatically reboot once complete.&#x20;
{% endhint %}

Once the process is complete, you will be able to set the device up again. See the [Setup section](/wifi-pineapple-enterprise/setup/physical-connections.md) for more details.


---

# 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-enterprise/faq/factory-reset-and-recovery.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.
