Profiler can be configured through command line arguments, environment variables, or a configuration file.
The default configuration file location is:
/etc/wlanpi-profiler/config.ini
[GENERAL]
channel: 36
interface: wlan0
ssid: My Profiler
passphrase: MyPassword
security_mode: ft-wpa3-mixed
ft_disabled: false
he_disabled: false
be_disabled: false
profiler_tlv_disabled: false
listen_only: false
hostname_ssid: false
files_path: /var/www/html/profiler
debug: false
frequency: 0
ap_mode: true
fakeap: falsechannel
- Type: Integer
- Default: 36
- Description: Wi-Fi channel to broadcast on
frequency
- Type: Integer
- Default: 0 (disabled)
- Description: Frequency in MHz (alternative to channel)
interface
- Type: String
- Default: wlan0
- Description: Network interface to use for profiling
ssid
- Type: String
- Default: "Profiler xxx" (where xxx is last 3 chars of eth0 MAC)
- Description: SSID name to broadcast
hostname_ssid
- Type: Boolean
- Default: false
- Description: Use the system's hostname as the SSID
passphrase
- Type: String
- Default: profiler
- Requirements: 8-63 characters
- Description: WPA2/WPA3 passphrase for client authentication
Option 1: Configuration file
[GENERAL]
passphrase: MySecurePassword123Option 2: Command line
sudo profiler --passphrase "MySecurePassword123"Requirements:
- 8-63 characters (WPA2/WPA3 standard)
- Displayed in startup banner
- Available in the info file for QR code generation
security_mode
- Type: String
- Default: ft-wpa3-mixed
- Options: wpa2, ft-wpa2, wpa3-mixed, ft-wpa3-mixed
- Description: Security and authentication mode
| Security mode | WPA2 | WPA3 | 802.11r (FT) | 802.11ax | 802.11be |
|---|---|---|---|---|---|
| wpa2 | Yes | No | No | Yes | Auto-disabled |
| ft-wpa2 | Yes | No | Yes | Yes | Auto-disabled |
| wpa3-mixed | Yes | Yes | No | Yes | Yes |
| ft-wpa3-mixed | Yes | Yes | Yes | Yes | Yes |
IEEE 802.11be constraint:
Wi-Fi 7 requires WPA3 or WPA3-transition mode per specification. When using WPA2-only modes, 802.11be is automatically disabled with a warning.
Override for testing:
Use --11be flag or be_disabled: false in config.ini to enable Wi-Fi 7 with WPA2-only modes (non-standard, for testing only).
ft_disabled (deprecated)
- Type: Boolean
- Default: false
- Description: Disable 802.11r Fast Transition
- Note: Use
security_modeinstead
he_disabled
- Type: Boolean
- Default: false
- Description: Disable 802.11ax (Wi-Fi 6) High Efficiency reporting
be_disabled
- Type: Boolean
- Default: false
- Description: Disable 802.11be (Wi-Fi 7) Extremely High Throughput reporting
ap_mode
- Type: Boolean
- Default: true
- Description: Use hostapd AP mode for faster client discovery
fakeap
- Type: Boolean
- Default: false
- Description: Use legacy FakeAP mode (Scapy-based, slower but more compatible)
listen_only
- Type: Boolean
- Default: false
- Description: Passive listening mode (no AP broadcast, Rx only)
files_path
- Type: String
- Default: /var/www/html/profiler
- Description: Directory where analysis results are saved
profiler_tlv_disabled
- Type: Boolean
- Default: false
- Description: Disable profiler-specific vendor IE
debug
- Type: Boolean
- Default: false
- Description: Enable verbose debug logging
Environment variable:
export PROFILER_DEBUG=1Or:
export PROFILER_DEBUG=trueSettings are applied in the following priority (highest to lowest):
- Command line arguments
- Environment variables
- Configuration file settings
- Default values
sudo profiler
# Uses ft-wpa3-mixed with all features enabledsudo profiler --security-mode wpa2
# Automatically disables 11r and 11besudo profiler --security-mode wpa3-mixed
# WPA2/WPA3 transition without 11rsudo profiler --security-mode wpa2 --11be
# Shows warning about IEEE spec violation
# Use only for testing edge casessudo profiler --listen-only -c 100
# No AP broadcast, just listen on channel 100