CentOS 7 의 hostapd. conf 설정 설명

리 눅 스:http://laoding.blog.51cto.com/980622/1697015
hostapd 의 설정 파일 은 / etc / hostapd / hostapd. conf 에 있 습 니 다.
hostapd 패 키 지 는 hostapd. conf 의 가장 상세 한 설명 을 제공 합 니 다. 이 파일 은 / usr / share / doc / hostapd - 버 전 번호 / hostapd. conf 에 있 습 니 다.발행 판 위치 가 다 를 수 있 습 니 다.단지 안 에는 전부 영어 로 되 어 있 을 뿐이다.
interface=wlp2s0
#bridge=br0
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
#ctrl_interface=/var/run/hostapd
#ctrl_interface_group=wheel
#ctrl_interface_group=0
##### IEEE 802.11 related configuration #######################################
ssid=test
#ssid2=mytest
#ssid2=P"hello
there" utf8_ssid=1 # ISO/IEC 3166-1 , 。 , 。 # 。 #country_code=CN # IEEE 802.11d,0 ( ),1 。 # country_code IEEE 802.11d 。 #ieee80211d=1 # IEEE 802.11h,0 ( ),1 。 # DFS , 。 #ieee80211h=1 # Power Constraint element Beacon Probe Response frames 。 #local_pwr_constraint=5 # ieee80211h=1 local_pwr_constraint 。 #spectrum_mgmt_required=1 # ,a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g, ad = IEEE 802.11ad (60 GHz) # hw_mode=a hw_mode=g IEEE 802.11n 。 # ACS ( channel parameter ), hw_mode=any , , offloaded ACS 。 # : hw_mode=b hw_mode=g # , iwconfig 。 # CONFIG_ACS 。 channel=acs_survey channel=0, hostapd ACS survey 。 # 11 , 13 , iw list 。 # ht_capab channel=6 # ACS tuning - # :http://wireless.kernel.org/en/users/Documentation/acs # , , , 。 # ACS survey 。 # :acs_num_scans=5 acs_chan_bias=1:0.8 6:0.8 11:0.8 #acs_num_scans=40 #acs_chan_bias=1:0.8 6:0.8 11:0.8 # #chanlist=100 104 108 112 116 #chanlist=1 6 11-13 # beacon ( : 100; 15 65535) #beacon_int=100 #dtim_period=1 # 2007 #max_num_sta=255 #rts_threshold=2347 #fragm_threshold=2346 #supported_rates=10 20 55 110 60 90 120 180 240 360 480 540 #basic_rates=10 20 #basic_rates=10 20 55 110 #basic_rates=60 120 240 # :iw list “short preamble supported”。 # 0 ,1 , 。 #preamble=1 # MAC # driver=hostap driver=nl80211 # 0 = , deny # 1 = , accept # 2 = RADIUS ( accept/deny ) # , , macaddr_acl macaddr_acl=0 accept_mac_file=/etc/hostapd/hostapd.accept deny_mac_file=/etc/hostapd/hostapd.deny # ,1 ,2 ( WEP),3 auth_algs=3 # ,0 SSID,1 SSID( SSID, 0 SSID), # 2 SSID , 1 , SSID #ignore_broadcast_ssid=0 #vendor_elements=dd0411223301 # WMM wmm_enabled=1 # # WMM-PS Unscheduled Automatic Power Save Delivery [U-APSD] # Enable this flag if U-APSD supported outside hostapd (eg., Firmware/driver) #uapsd_advertisement_enabled=1 # # Low priority / AC_BK = background #wmm_ac_bk_cwmin=4 #wmm_ac_bk_cwmax=10 #wmm_ac_bk_aifs=7 #wmm_ac_bk_txop_limit=0 #wmm_ac_bk_acm=0 # Note: for IEEE 802.11b mode: cWmin=5 cWmax=10 # # Normal priority / AC_BE = best effort #wmm_ac_be_aifs=3 #wmm_ac_be_cwmin=4 #wmm_ac_be_cwmax=10 #wmm_ac_be_txop_limit=0 #wmm_ac_be_acm=0 # Note: for IEEE 802.11b mode: cWmin=5 cWmax=7 # # High priority / AC_VI = video #wmm_ac_vi_aifs=2 #wmm_ac_vi_cwmin=3 #wmm_ac_vi_cwmax=4 #wmm_ac_vi_txop_limit=94 #wmm_ac_vi_acm=0 # Note: for IEEE 802.11b mode: cWmin=4 cWmax=5 txop_limit=188 # # Highest priority / AC_VO = voice #wmm_ac_vo_aifs=2 #wmm_ac_vo_cwmin=2 #wmm_ac_vo_cwmax=3 #wmm_ac_vo_txop_limit=47 #wmm_ac_vo_acm=0 # Note: for IEEE 802.11b mode: cWmin=3 cWmax=4 burst=102 # , , 5 # , 5 #ap_max_inactivity=300 # , 1, 5 , AP , 。 #skip_inactivity_poll=0 # , , #disassoc_low_ack=1 # , 65535, (how many Beacon periods STAs are allowed to remain asleep) #max_listen_interval=100 # WDS(4-address frame) , driver=nl80211 #wds_sta=1 # bridge= , , bridge=br0, wds_bridge=br0。 # wds_bridge=XXXXX。 #wds_bridge=wds-br0 # Start the AP with beaconing disabled by default. 。 #start_disabled=0 # AP ,1 ,0 。 。 #ap_isolate=1 #bss_load_update_period=50 # #bss_load_test=12:80:20000 ##### IEEE 802.11n related configuration ###################################### # 80211n, WMM HT 。 ieee80211n=1 # [HT40-] [HT40+] 20MHz, # [HT40-] 5-13 # [HT40+] 1-7( 1-9) # , [SHORT-GI-20][SHORT-GI-40] # , [SHORT-GI-20][SHORT-GI-40], 。 #ht_capab=[LDPC][HT40-][HT40+][SHORT-GI-20][SHORT-GI-40][SMPS-DYNAMIC][GF][TX-STBC][RX-STBC123][DELAYED-BA][MAX-AMSDU-7935][DSSS_CCK-40][40-INTOLERANT][LSIG-TXOP-PROT] # intel Wireless-N 105 (rev c4) ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40][40-INTOLERANT][GF] # Atheros AR9271 #ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40][40-INTOLERANT][RX-STBC1] #ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40] #ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40] #ht_capab=[HT40+][DSSS_CCK-40][40-INTOLERANT] # HT PHY, 。 #require_ht=0 # ( ) #obss_interval=5 ##### WPA/IEEE 802.11i configuration ########################################## # 1 wpa,2 wpa2, 3 。 2, wpa2 。 wpa=2 # ,ASCII 。 #wpa_psk=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef #wpa_passphrase=12345678 # , MAC , 。 wpa_psk_file=/etc/hostapd/hostapd.wpa_psk # ,0 ( ),1 ,2 ( ) #wpa_psk_radius=0 # WPA-PSK WPA-EAP wpa_key_mgmt=WPA-PSK # ,CCMP AES, TKIP, 。 wpa_pairwise=CCMP # rsn_pairwise wpa_pairwise , 。 #rsn_pairwise=CCMP #wpa_group_rekey=600 #wpa_strict_rekey=1 #wpa_gmk_rekey=86400 #wpa_ptk_rekey=600 # #rsn_preauth=1 #rsn_preauth_interfaces=wlp2s0 br0 enp3s0 #peerkey=1 # 80211w ,0 ( ),1 ,2 ( ) #ieee80211w=1 # AES-128-CMAC( ) BIP-GMAC-128 BIP-GMAC-256 BIP-CMAC-256 # AES-128-CMAC, #group_mgmt_cipher=AES-128-CMAC #assoc_sa_query_max_timeout=1000 #assoc_sa_query_retry_timeout=201 #disable_pmksa_caching=0 #okc=1 #sae_anti_clogging_threshold=5 #sae_groups=19 20 21 25 26 ##### IEEE 802.11r configuration ############################################## # Wi-Fi #mobility_domain=a1b2 #r0_key_lifetime=10000 #r1_key_holder=000102030405 #reassociation_deadline=1000 #pmk_r1_push=1 ##### Neighbor table ########################################################## #ap_table_max_size=255 #ap_table_expiration_time=3600 ##### IEEE 802.11v-2011 ####################################################### # Wi-Fi #time_advertisement=2 #time_zone=CST8 # #wnm_sleep_mode=1 #bss_transition=1 #proxy_arp=1 #bss=wifi0 #bssid=00:13:10:95:fe:0d #interface=wifi0 #ssid=test2 #bridge=br0 #driver=nl80211 #auth_algs=1 #ignore_broadcast_ssid=0 #wpa=2 #wpa_passphrase=12345678

좋은 웹페이지 즐겨찾기