Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [cut=hostapt_ac.conf]
- # AP netdevice name (without 'ap' postfix, i.e., wlan0 uses wlan0ap for
- # management frames with the Host AP driver); wlan0 with many nl80211 drivers
- interface=eth_usb_wifi
- # In case of atheros and nl80211 driver interfaces, an additional
- # configuration parameter, bridge, may be used to notify hostapd if the
- # interface is included in a bridge. This parameter is not used with Host AP
- # driver. If the bridge parameter is not set, the drivers will automatically
- # figure out the bridge interface (assuming sysfs is enabled and mounted to
- # /sys) and this parameter may not be needed.
- #
- # 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
- # Driver interface type (hostap/wired/none/nl80211/bsd);
- # default: hostap). nl80211 is used with all Linux mac80211 drivers.
- # Use driver=none if building hostapd as a standalone RADIUS server that does
- # not control any wireless/wired driver.
- driver=nl80211
- # Country code (ISO/IEC 3166-1). Used to set regulatory domain.
- # Set as needed to indicate country in which device is operating.
- # This can limit available channels and transmit power.
- country_code=UA
- # Enable IEEE 802.11d. This advertises the country_code and the set of allowed
- # channels and transmit power levels based on the regulatory limits. The
- # country_code setting must be configured with the correct country for
- # IEEE 802.11d functions.
- # (default: 0 = disabled)
- ieee80211d=0
- # Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g,
- # ad = IEEE 802.11ad (60 GHz); a/g options are used with IEEE 802.11n, too, to
- # specify band)
- # Default: IEEE 802.11b
- hw_mode=a
- # Channel number (IEEE 802.11)
- # (default: 0, i.e., not set)
- # Please note that some drivers do not use this value from hostapd and the
- # channel will need to be configured separately with iwconfig.
- #
- # If CONFIG_ACS build option is enabled, the channel can be selected
- # automatically at run time by setting channel=acs_survey or channel=0, both of
- # which will enable the ACS survey based algorithm.
- channel=44
- # Short Preamble
- # This parameter can be used to enable optional use of short preamble for
- # frames sent at 2 Mbps, 5.5 Mbps, and 11 Mbps to improve network performance.
- # This applies only to IEEE 802.11b-compatible networks and this should only be
- # enabled if the local hardware supports use of short preamble. If any of the
- # associated STAs do not support short preamble, use of short preamble will be
- # disabled (and enabled when such STAs disassociate) dynamically.
- # 0 = do not allow use of short preamble (default)
- # 1 = allow use of short preamble
- preamble=1
- # Station MAC address -based authentication
- # Please note that this kind of access control requires a driver that uses
- # hostapd to take care of management frame processing and as such, this can be
- # used with driver=hostap or driver=nl80211, but not with driver=atheros.
- # 0 = accept unless in deny list
- # 1 = deny unless in accept list
- # 2 = use external RADIUS server (accept/deny lists are searched first)
- macaddr_acl=0
- # 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=1
- # Send empty SSID in beacons and ignore probe request frames that do not
- # specify full SSID, i.e., require stations to know SSID.
- # default: disabled (0)
- # 1 = send empty (length=0) SSID in beacon and ignore probe request for
- # broadcast SSID
- # 2 = clear SSID (ASCII 0), but keep the original length (this may be required
- # with some clients that do not support empty SSID) and ignore probe
- # requests for broadcast SSID
- ignore_broadcast_ssid=0
- # ieee80211n: Whether IEEE 802.11n (HT) is enabled
- # 0 = disabled (default)
- # 1 = enabled
- # Note: You will also need to enable WMM for full HT functionality.
- ieee80211ac=1
- vht_capab=[MAX-MPDU-11454][SHORT-GI-80][RX-STBC-12][HTC-VHT]
- #
- # Require stations to support VHT PHY (reject association if they do not)
- require_vht=1
- # 0 = 20 or 40 MHz operating Channel width
- # 1 = 80 MHz channel width
- # 2 = 160 MHz channel width
- # 3 = 80+80 MHz channel width
- vht_oper_chwidth=0
- # center freq = 5 GHz + (5 * index)
- # So index 42 gives center freq 5.210 GHz
- # which is channel 42 in 5G band
- #
- vht_oper_centr_freq_seg0_idx=44
- ssid=
- wpa=3
- wpa_passphrase=
- wpa_key_mgmt=WPA-PSK
- wpa_pairwise=TKIP
- rsn_pairwise=CCMP
- [/cut]
Advertisement
Add Comment
Please, Sign In to add comment