34 lines
1.2 KiB
Markdown
34 lines
1.2 KiB
Markdown
#tldr : #TODO
|
|
|
|
```bash
|
|
# For nl80211, this parameter can be used to request the AP interface to be
|
|
# added to the bridge automatically (brctl may refuse to do this before hostapd
|
|
# has been started to change the interface mode). If needed, the bridge
|
|
# interface is also created.
|
|
bridge=br0
|
|
```
|
|
|
|
# Operation mode
|
|
```bash
|
|
# (a = IEEE 802.11a (5 GHz), b = IEEE 802.11b (2.4 GHz),
|
|
# g = IEEE 802.11g (2.4 GHz), ad = IEEE 802.11ad (60 GHz); a/g options are used
|
|
# with IEEE 802.11n (HT), too, to specify band). For IEEE 802.11ac (VHT), this
|
|
# needs to be set to hw_mode=a. For IEEE 802.11ax (HE) on 6 GHz this needs
|
|
# to be set to hw_mode=a. When using ACS (see channel parameter), a
|
|
# special value "any" can be used to indicate that any support band can be used.
|
|
# This special case is currently supported only with drivers with which
|
|
# offloaded ACS is used.
|
|
# Default: IEEE 802.11b
|
|
hw_mode=g
|
|
```
|
|
|
|
```bash
|
|
# IEEE 802.11 specifies two authentication algorithms. hostapd can be
|
|
# configured to allow both of these or only one. Open system authentication
|
|
# should be used with IEEE 802.1X.
|
|
# Bit fields of allowed authentication algorithms:
|
|
# bit 0 = Open System Authentication
|
|
# bit 1 = Shared Key Authentication (requires WEP)
|
|
auth_algs=3
|
|
```
|