iwd.ap(5)
π
iwd.ap(5) β Configuration of IWD access points π
Linux Connectivity manual page, bestie β we're doing access-point provisioning files and it's giving main character energy. β¨
πΈ NAME πΈ
iwd.ap β Access point provisioning files.
β¨ SYNOPSIS β¨
Description of access point provisioning files.
π DESCRIPTION π
Okay so an access point provisioning file literally defines the configuration of an IWD access point. These files live in $STATE_DIRECTORY/ap (/var/lib/iwd/ap by default). They are read when the net.connman.iwd.AccessPoint.StartProfile(ssid) DBus method is used. No cap. π«Ά
π FILE FORMAT π
See iwd.network for details on the settings file syntax.
π₯ SETTINGS π₯
The settings are split into several categories. Each category has a group associated with it and is described in the corresponding section below. (No tables here, but all the tea is in the bullets. π )
π¦ General Settings π¦
The group [General] contains general AP configuration.
Channelβ Channel number. Optional channel number for the access point to operate on. If omitted the channel will be chosen automatically. Channels greater than or equal to36will select the 5GHz band for the AP to operate on.
Note: Due to regulatory requirements the linux kernel does not allow or strictly limits 5GHz use in AP mode while in world roaming. These frequencies become available once the country is set, either via IWD'smain.confoption[General].Country(seeman iwd.config) or externally (e.g.iw reg set <CC>). If you are having trouble using 5GHz ensure the country is set, and that the desired frequency/channel is unrestricted. πβ¨
RekeyTimeoutβ Timeout for PTK rekeys (seconds). The time interval at which the AP starts a rekey for a given station. If not provided a default value of0is used (rekeying is disabled).DisableHTβ Boolean value. Explicitly disable HT capabilities for this AP.
π Network Authentication Settings π
The group [Security] contains settings for Wi-Fi security and authentication configuration.
Passphraseβ8..63character string. WPA-PSK Passphrase to be used with this access point. At least one ofPassphrase,PreSharedKeymust be present.PreSharedKeyβ64-character hex-string. Processed passphrase for this network in the form of a hex-encoded32-byte pre-shared key. Either this orPassphrasemust be present.PairwiseCiphersβ Comma separated list of pairwise ciphers for the AP supports. Values can include:TKIP,CCMP,GCMP,GCMP-256,CCMP-256.
The underlying hardware and IWD's AP implementation must also support the ciphers listed.
GroupCipherβ Group cipher the AP uses. A single cipher value the AP can use as the group cipher. Values are the same as pairwise ciphers and the same restrictions apply (hardware and IWD implementation must support the cipher).
π IPv4 Network Configuration π
The group [IPv4] contains settings for IWD's built-in DHCP server. All settings are optional. They're used if network configuration was enabled as described in iwd.config(5). Omitting the [IPv4] group disables network configuration for this access point so if an all-defaults DHCP setup is desired, the group header line must still be present:
# Enable network configuration
[IPv4]
[other groups follow] π okay so the next chunk is giving local-network setup for your AP, and every key here is lowkey doing the absolute most:
Addressβ Local IP address or a comma-separated list of prefix-notation addresses. Optional local address pool for the access point and the DHCP server. If a single address is provided this address will be set on the AP interface and any other DHCP server options will be derived from it if not overridden by other settings below. If a list of addresses and prefix lengths is specified (in the<IP>/<prefix-len>format), a single subnet address will be selected from the available space each time this profile is started. The subnet size is based on the[IPv4].Netmasksetting. IfAddressis not provided and no IP address is set on the interface prior to callingStartProfilethe value of themain.conf[IPv4].APAddressPoolsetting will be inherited, which in turn defaults to192.168.0.0/16. For example, if[IPv4].Netmaskis set to255.255.255.0and this setting, or the globalAPAddressPoolfallback, is set to192.168.0.0/16,10.0.0.0/22, IWD will select one of the256subnets with addresses in the192.168.<0-255>.0/24range or one of the4subnets with addresses in the10.0.<0-3>.0/24range, allowing270possible subnets. Defining an address pool larger than the desired subnet gives IWD a chance to avoid conflicts if other interfaces on the system use dynamically assigned addresses.Gatewayβ IP Address of gateway. IP address of the gateway to be advertised by DHCP. This will fall back to the local IP address if not provided.Netmaskβ Local netmask of the AP. Defaults to a28-bitnetmask if not provided.DNSListβ List of DNS servers as a comma-separated IP address list.</> A list of DNS servers which will be advertised by the DHCP server. If not provided no DNS servers will be sent by the DHCP server.LeaseTimeβ Time limit for DHCP leases in seconds. Override the default lease time.IPRangeβ Range of IPs given as two addresses separated by a comma. From and to addresses of the range assigned to clients through DHCP. If not provided the range from local address + 1 to.254will be used.
π§ Wi-Fi Simple Configuration
The group [WSC] fine-tunes some Wi-Fi Simple Configuration local parameters (formerly known as WPS, Wi-Fi Protected Setup.) β¨
DeviceNameβ1..32-character string. Optional Device Name string for the AP to advertise as. Defaults to the SSID.PrimaryDeviceTypeβ Subcategory string or a64-bitinteger. Optional Primary Device Type for the AP to advertise as. Defaults to PC computer. Can be specified as a lower-case WSC v2.0.5 subcategory string or a64-bitinteger encoding, from MSB to LSB: the16-bitcategory ID, the24-bitOUI, the8-bitOUI type and the16-bitsubcategory ID.AuthorizedMACsβ Comma-separated MAC address list. Optional list of Authorized MAC addresses for the WSC registrar to check on association. Each address is specified in the colon-hexadecimal notation. Defaults to no MAC-based checks.
π SEE ALSO
Go check out iwd(8) and iwd.network(5) fr fr π«Ά
π Author
James Prestwood <prestwoj@gmail.com>
Β© Copyright
2020 Intel Corporation
and that's the whole iconic page, bestie β this one comes from iwd, dated 20 October 2020, and it's the iwd.ap(5) manual page π
β¨
π¦ where this page comes from
- alpine 3.24: iwd-doc 3.12-r0 Β· LGPL-2.1-or-later
- fedora 44: iwd 3.12-1.fc44 Β· LGPL-2.1-or-later
- nixos 26.05: eiwd 2.22-1
- nixos 26.05: iwd 3.12
- ubuntu resolute: iwd 3.10-1ubuntu1 Β· LGPL-2.1-or-later
- ubuntu stonking: iwd 3.10-1ubuntu1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms