Guest User

Untitled

a guest
Apr 10th, 2020
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.73 KB | None | 0 0
  1. [cut=hostapt_ac.conf]
  2. # AP netdevice name (without 'ap' postfix, i.e., wlan0 uses wlan0ap for
  3. # management frames with the Host AP driver); wlan0 with many nl80211 drivers
  4. interface=eth_usb_wifi
  5. # In case of atheros and nl80211 driver interfaces, an additional
  6. # configuration parameter, bridge, may be used to notify hostapd if the
  7. # interface is included in a bridge. This parameter is not used with Host AP
  8. # driver. If the bridge parameter is not set, the drivers will automatically
  9. # figure out the bridge interface (assuming sysfs is enabled and mounted to
  10. # /sys) and this parameter may not be needed.
  11. #
  12. # For nl80211, this parameter can be used to request the AP interface to be
  13. # added to the bridge automatically (brctl may refuse to do this before hostapd
  14. # has been started to change the interface mode). If needed, the bridge
  15. # interface is also created.
  16. bridge=br0
  17. # Driver interface type (hostap/wired/none/nl80211/bsd);
  18. # default: hostap). nl80211 is used with all Linux mac80211 drivers.
  19. # Use driver=none if building hostapd as a standalone RADIUS server that does
  20. # not control any wireless/wired driver.
  21. driver=nl80211
  22. # Country code (ISO/IEC 3166-1). Used to set regulatory domain.
  23. # Set as needed to indicate country in which device is operating.
  24. # This can limit available channels and transmit power.
  25. country_code=UA
  26. # Enable IEEE 802.11d. This advertises the country_code and the set of allowed
  27. # channels and transmit power levels based on the regulatory limits. The
  28. # country_code setting must be configured with the correct country for
  29. # IEEE 802.11d functions.
  30. # (default: 0 = disabled)
  31. ieee80211d=0
  32. # Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g,
  33. # ad = IEEE 802.11ad (60 GHz); a/g options are used with IEEE 802.11n, too, to
  34. # specify band)
  35. # Default: IEEE 802.11b
  36. hw_mode=a
  37. # Channel number (IEEE 802.11)
  38. # (default: 0, i.e., not set)
  39. # Please note that some drivers do not use this value from hostapd and the
  40. # channel will need to be configured separately with iwconfig.
  41. #
  42. # If CONFIG_ACS build option is enabled, the channel can be selected
  43. # automatically at run time by setting channel=acs_survey or channel=0, both of
  44. # which will enable the ACS survey based algorithm.
  45. channel=44
  46. # Short Preamble
  47. # This parameter can be used to enable optional use of short preamble for
  48. # frames sent at 2 Mbps, 5.5 Mbps, and 11 Mbps to improve network performance.
  49. # This applies only to IEEE 802.11b-compatible networks and this should only be
  50. # enabled if the local hardware supports use of short preamble. If any of the
  51. # associated STAs do not support short preamble, use of short preamble will be
  52. # disabled (and enabled when such STAs disassociate) dynamically.
  53. # 0 = do not allow use of short preamble (default)
  54. # 1 = allow use of short preamble
  55. preamble=1
  56. # Station MAC address -based authentication
  57. # Please note that this kind of access control requires a driver that uses
  58. # hostapd to take care of management frame processing and as such, this can be
  59. # used with driver=hostap or driver=nl80211, but not with driver=atheros.
  60. # 0 = accept unless in deny list
  61. # 1 = deny unless in accept list
  62. # 2 = use external RADIUS server (accept/deny lists are searched first)
  63. macaddr_acl=0
  64. # IEEE 802.11 specifies two authentication algorithms. hostapd can be
  65. # configured to allow both of these or only one. Open system authentication
  66. # should be used with IEEE 802.1X.
  67. # Bit fields of allowed authentication algorithms:
  68. # bit 0 = Open System Authentication
  69. # bit 1 = Shared Key Authentication (requires WEP)
  70. auth_algs=1
  71. # Send empty SSID in beacons and ignore probe request frames that do not
  72. # specify full SSID, i.e., require stations to know SSID.
  73. # default: disabled (0)
  74. # 1 = send empty (length=0) SSID in beacon and ignore probe request for
  75. # broadcast SSID
  76. # 2 = clear SSID (ASCII 0), but keep the original length (this may be required
  77. # with some clients that do not support empty SSID) and ignore probe
  78. # requests for broadcast SSID
  79. ignore_broadcast_ssid=0
  80.  
  81. # ieee80211n: Whether IEEE 802.11n (HT) is enabled
  82. # 0 = disabled (default)
  83. # 1 = enabled
  84. # Note: You will also need to enable WMM for full HT functionality.
  85. ieee80211ac=1
  86. vht_capab=[MAX-MPDU-11454][SHORT-GI-80][RX-STBC-12][HTC-VHT]
  87. #
  88. # Require stations to support VHT PHY (reject association if they do not)
  89. require_vht=1
  90. # 0 = 20 or 40 MHz operating Channel width
  91. # 1 = 80 MHz channel width
  92. # 2 = 160 MHz channel width
  93. # 3 = 80+80 MHz channel width
  94. vht_oper_chwidth=0
  95. # center freq = 5 GHz + (5 * index)
  96. # So index 42 gives center freq 5.210 GHz
  97. # which is channel 42 in 5G band
  98. #
  99. vht_oper_centr_freq_seg0_idx=44
  100.  
  101. ssid=
  102. wpa=3
  103. wpa_passphrase=
  104. wpa_key_mgmt=WPA-PSK
  105. wpa_pairwise=TKIP
  106. rsn_pairwise=CCMP
  107. [/cut]
Advertisement
Add Comment
Please, Sign In to add comment