Comment on page
Setup by USB Disk
The WiFi Pineapple may be provisioned "headless" — meaning without intervention interactively. This means that you can take a fresh WiFi Pineapple Mark VII out of its box and set it up with the latest firmware and your settings of choice without connecting it to a computer or smartphone.
Once prepared, the USB drive will be properly formatted and contain a config.txt file, an upgrade-x.x.x.bin file, and optionally a device.config file (if using with Cloud C2).
The USB drive must contain only a single partition and be formatted as one of the following:
- exFAT / FAT
Make sure you keep the original name of the file (upgrade-x.x.x.bin).
On the root of the USB flash disk, create a config.txt file using a standard text editor such as Notepad (Windows), textEdit (Mac), or vim/nano (Linux) containing the below information. Make sure the txt file is saved in ASCII format. Modify the settings as per your desired configuration.
# This file automatically configures the WiFi Pineapple.
# To enroll your WiFi Pineapple automatically, edit the below variables.
# Save as config.txt on the root of an ext4/exFAT/FAT/NTFS USB flash drive.
# Connect to the WiFi Pineapple USB host port before applying power for the
# first time. During firmware installation, the LED will flash Red/Blue.
# DO NOT DISCONNECT POWER DURING FIRMWARE INSTALLATION!
# For more information, visit https://docs.hak5.org
# General System Configuration
# Automatically copy the enterprise config to the persistant storage
# partition. This will be automatically during future upgrades.
# Wired Ethernet Configuration
# By default, the WAN ethernet is configured as a DHCP client.
# Management Firewall Configuration
# By default, the management firewall is configured to allow management
# access from the local ethernet and management wifi only
# By default, all connections are allowed to NAT via the client or wan port
# connections. To prevent that, disable egress NAT:
# Wireless AP Configuration
# Filters Configuration
# Hak5 Cloud C2 Configuration
# Software License Agreement:
In addition to the config.txt and upgrade-x.x.x.bin files on the root of the USB drive, a Cloud C2 device.config provisioning file may be included.
To generate this file, create a new WiFi Pineapple device on your Cloud C2 instance, then navigate to the device's overview page and click the Setup button from the description card.
From a powered off state, place your USB drive into the USB Type-A port on the WiFi Pineapple, then connect it to a power source. Once the device is fully booted, it will automatically mount and find the upgrade file on the device. If the firmware file is valid, the device will then perform the firmware upgrade and reboot as indicated by the flashing red/blue LED.
During the firmware installation process, as indicated by the red/blue LED status, DO NOT disconnect the power source. Doing so will render the device inoperable.
Last modified 1yr ago