Skip to content

Flags & Preferences

Matias Barcenas edited this page Nov 29, 2017 · 5 revisions

To have fluxion launch with special flags, run the flags before executing fluxion:

export FLUXIONDebug=1; ./fluxion.sh

For a list of the flags available, see below.

To have fluxion automatically load flags when executed, do the following:

  • Make a file called preferences.sh in the fluxion directory with the following content:
#!/bin/bash

# The following flag allows fluxion to auto-selects & sets some settings.
# export FLUXIONAuto=1

# The following flag allows fluxion to output debug messages.
# export FLUXIONDebug=1

# The following flag authorizes fluxion to kill any interfering process.
# This flag shouldn't be necessary, and should be avoided because it could cause unintended side effects.
# You can avoid it by stoping any process that uses the network interfaces fluxion needs to use.
# For example, in Debian based systems, you could "systemctl stop network-manager.service".
# export FLUXIONWIKillProcesses=1

# The following flag forces fluxion to reload the driver of the wireless interfaces selected.
# export FLUXIONWIReloadDriver=1

# The following flag forces fluxion to utilize airmon-ng to switch the interface to monitor mode.
# export FLUXIONAirmonNG=1

Then make it executable with:

chmod u+x preferences.sh

Now, fluxion will automatically load flags and may be invoked without them: ./fluxion.sh

Clone this wiki locally