9.4 KiB
iwd.config
Configuration file for wireless daemon
- Author
-
Marcel Holtmann <marcel@holtmann.org>
- Author
-
Denis Kenzior <denkenz@gmail.com>
- Author
-
Andrew Zaborowski <andrew.zaborowski@intel.com>
- Author
-
Tim Kourt <tim.a.kourt@linux.intel.com>
- Author
-
James Prestwood <prestwoj@gmail.com>
- Copyright
-
2013-2019 Intel Corporation
- Version
-
iwd
- Date
-
22 September 2019
- Manual section
-
5
- Manual group
-
Linux Connectivity
SYNOPSIS
Configuration file main.conf
DESCRIPTION
The main.conf configuration file configures the system-wide settings for iwd. This file lives in the configuration directory specified by the environment variable $CONFIGURATION_DIRECTORY, which is normally provided by systemd. In the absence of such an environment variable it defaults to /etc/iwd. If no main.conf is present, then default values are chosen. The presence of main.conf is not required.
FILE FORMAT
See iwd.network for details on the file format.
SETTINGS
The settings are split into several categories. Each category has a group associated with it and described in separate tables below.
General Settings
The group [General]
contains general settings.
EnableNetworkConfiguration |
Values: true, false Enable network configuration. Setting this option to true enables iwd to configure the network interfaces with the IP addresses. There are two types IP addressing supported by iwd: static and dynamic. The static IP addresses are configured through the network configuration files. If no static IP configuration has been provided for a network, iwd will attempt to obtain the dynamic addresses from the network through the built-in DHCP client. The network configuration feature is disabled by default. See
|
UseDefaultInterface |
Values: true, false Do not allow iwd to destroy / recreate wireless interfaces at startup, including default interfaces. Enable this behavior if your wireless card driver is buggy or does not allow such an operation, or if you do not want iwd to manage netdevs for another reason. For most users with an upstream driver it should be safe to omit/disable this setting. |
AddressRandomization |
Values: disabled, once, network If If If |
AddressRandomizationRange |
Values: full, nic One can control which part of the address is randomized using this setting. When using When using |
RoamThreshold |
Value: rssi dBm value, from -100 to 1, default: -70 This can be used to control how aggressively iwd roams. |
ManagementFrameProtection |
Values: 0, 1 or 2 When When When |
ControlPortOverNL80211 |
Values: false, true Enable/Disable sending EAPoL packets over NL80211. Enabled by default if kernel support is available. Doing so sends all EAPoL traffic over directly to the supplicant process (iwd) instead of putting these on the Ethernet device. Since only the supplicant can usually make sense / decrypt these packets, enabling this option can save some CPU cycles on your system and avoids certain long-standing race conditions. |
DisableANQP |
Values: false, true Enable/disable ANQP queries. The way IWD does ANQP queries is
dependent on a recent kernel patch (available in Kernel 5.3). If your
kernel does not have this functionality this should be disabled
(default). Some drivers also do a terrible job of sending public action
frames (freezing or crashes) which is another reason why this has been
turned off by default. If you want to easily utilize Hotspot 2.0
networks, then setting |
Network
The group [Network]
contains network configuration
related settings.
NameResolvingService |
Values: resolvconf, systemd Configures a DNS resolution method used by the system. This configuration option must be used in conjunction with
If not specified, |
RoutePriorityOffset |
Values: uint32 value (default: 300) Configures a route priority offset used by the system to prioritize the default routes. The route with lower priority offset is preferred. If not specified, |
Blacklist
The group [Blacklist]
contains settings related to
blacklisting of BSSes. If iwd determines that a
connection to a BSS fails for a reason that indicates the BSS is
currently misbehaving or misconfigured (e.g. timeouts, unexpected
status/reason codes, etc), then iwd will blacklist this
BSS and avoid connecting to it for a period of time. These options let
the user control how long a misbehaved BSS spends on the blacklist.
InitialTimeout |
Values: uint64 value in seconds (default: 60) The initial time that a BSS spends on the blacklist. |
Multiplier |
Values: unsigned int value in seconds (default: 30) If the BSS was blacklisted previously and another connection attempt has failed after the initial timeout has expired, then the BSS blacklist time will be extended by a multiple of Multiplier for each unsuccessful attempt up to MaxiumTimeout time in seconds. |
MaximumTimeout |
Values: uint64 value in seconds (default: 86400) Maximum time that a BSS is blacklisted. |
Rank
The group [Rank]
contains settings related to ranking of
networks for autoconnect purposes.
BandModifier5Ghz |
Values: floating point value (default: 1.0) Increase or decrease the preference for 5GHz access points by increasing or decreasing the value of this modifier. 5GHz networks are already preferred due to their increase throughput / data rate. However, 5GHz networks are highly RSSI sensitive, so it is still possible for IWD to prefer 2.4Ghz APs in certain circumstances. |
Scan
The group [Scan]
contains settings related to scanning
functionality. No modification from defaults is normally required.
DisablePeriodicScan |
Values: true, false Disable periodic scan. Setting this option to 'true' will prevent iwd from issuing the periodic scans for the available networks while disconnected. The behavior of the user-initiated scans isn't affected. The periodic scan is enabled by default. |
DisableRoamingScan |
Values: true, false Disable roaming scan. Setting this option to 'true' will prevent iwd from trying to scan when roaming decisions are activated. This can prevent iwd from roaming properly, but can be useful for networks operating under extremely low rssi levels where roaming isn't possible. |
SEE ALSO
iwd(8), iwd.network(5)