#  WARNING: Do not modify this file.
#
#  This file contains the default wifiroamd configuration values, and may
#  change as new versions o fthe package is installed.  To override these
#  settings, please set them in the "config" file
#
#  WARNING: Do not modify this file.

#  NOTE:
#  These settings can be overridden either in the "config" file, or one of
#  the "connection" scripts.

#  If set to 1, the currently selected AP is treated as if it does not
#  exist.
WIFIROAMD_BLACKLIST=0

#  If set to 1, "iwconfig <INTERFACE> essid <ESSID>" is run so that you
#  don't roam to other APs if they become stronger.
WIFIROAMD_PINESSID=1

#  If set to 1, DHCP is used to get an address.
WIFIROAMD_DHCP=1

#  If set, DHCP will be run on this interface instead of the wireless
#  interface.
WIFIROAMD_DHCP_INTERFACE=

#  If set, this lease file will be used instead of the default.  This
#  combined with the USEMACLEASE and USEESSID will cause each individual
#  location to have it's own lease file.  The benefit is that having a
#  unique lease file per AP speeds up the DHCP lease aquisition.
WIFIROAMD_DHCP_LEASEFILE=

#  If 1, WIFIROAMD_DHCP_LEASEFILE will be set to the ESSID of the AP.
WIFIROAMD_DHCP_USEESSIDLEASE=0

#  If 1, WIFIROAMD_DHCP_LEASEFILE will be set to the MAC address of the AP.
WIFIROAMD_DHCP_USEMACLEASE=1

#  If 1, a random MAC address will be set on the wireless interface.  This
#  is a privacy option so that site owners cannot as easily track you from
#  one session to another.  However, it means that you will get a different
#  IP address every time you connect, and that's definitely not desirable
#  in some locations like at home.
WIFIROAMD_RANDOMMAC=0

#  If set after a script runs, ths specified script is run after the
#  current one.
WIFIROAMD_NEXTSCRIPT=

#  Number of seconds between monitor runs.
WIFIROAMD_MONITOR_INTERVAL=10

#  If 1, the wireless gateway will be pinged as part of determining if the
#  wireless is working.  Some wireless networks drop pings to the gateway.
WIFIROAMD_MONITOR_PINGGW=1

#  The number of pings that are sent attempting to contact the gateway.
WIFIROAMD_MONITOR_PINGGW_RETRIES=30

#  It set here or in one of the other scripts (including "connections"
#  scripts), this string is used in "iwconfig INTERFACE key
#  $WIFIROAMD_IWCONFIG_KEY".  An easy way to set the WEP key or similar.
WIFIROAMD_IWCONFIG_KEY=""

#  Bonding
#  Requires that "ifenslave" is installed and kernel "bonding" module is
#  available.  If this variable is set to "auto" or a wired device name,
#  wired and wireless devices will be bonded.  If you are running a
#  traditional Access Point (as opposed to a wireless router), with this
#  enabled, you can plug in to the wired network and seamlessly get the
#  wired bandwidth.  Existing connections do not need to be restarted.
#  This only works if the same IP addresses are available on both networks.
#
#  May be set to:
#
#       ""      Disabled.
#       "auto"  Try to automatically determine the wired network interface.
#       "ethX"  (Or similar) Explicitly specify the wired network interface.
WIFIROAMD_BONDING_WITH_DEVICE=""

#  WARNING: Bonding *REQUIRES* that you know your IP address before the
#  bonding interface will come up.  The recommended configuration is that
#  you configure your DHCP server so that you always get the same IP
#  address, and then set this to the same IP address.  This way, you can
#  get your gateway, DNS, and other information from DHCP.
#
#  Format: ADDRESS/NETMASK
#  Example:
#     WIFIROAMD_BONDING_IPADDRESS=10.9.8.7/24
#     WIFIROAMD_BONDING_gateway=10.9.8.254
WIFIROAMD_BONDING_IPADDRESS=""
WIFIROAMD_BONDING_GATEWAY=""

#  WPA Supplicant
#  Requires that WPA Supplicant is installed.  If set to 1, this will use
#  WPA supplicant to connect.
#
#  May be set to:
#    1   Enable using WPA Supplicant.
#    0   Disable WPA Supplicant.
WIFIROAMD_WPA_SUPPLICANT=0

#  If set to 1, WPA Supplicant is started/stopped using
#  "/etc/init.d/wpa_supplicant" script.  Otherwise, it is killed with
#  "killall" and started by calling wpa_supplicant directly.
#
#  May be set to:
#    0   Directly run wpa_supplicant.
#    1   Use /etc/init.d/wpa_supplicant script.
WIFIROAMD_WPA_SUPPLICANT_USE_SERVICE=0

#  The configuration file used by WPA Supplicant.  This only works if
#  WIFIROAMD_WPA_SUPPLICANT_USE_SERVICE is disabled.
#
#  If set to the empty string, wifiroamd will use
#  /etc/wpa_supplicant/mac:<AP_MAC_ADDRESS>.conf, if it exists, otherwise
#  it will use /etc/wpa_supplicant/wpa_supplicant.conf
WIFIROAMD_WPA_SUPPLICANT_CONF_FILE=""

#  If set to 1, wireless was not found.  This is set by the nowireless.d
#  scripts.
WIFIROAMD_NOWIRELESS=0

#  If set, this is the wired interface which is used when wireless is not
#  found.  "auto" means that it will use the first eth* which is not wireless.
WIFIROAMD_WIREDINTERFACE=auto
