https://github.com/Phoenix1747/RouteryPi 에는 2.4Ghz 네트워크 용 무선 라우터로 Rasberry Pi를 사용하는 방법에 대한 지침이 포함되어 있습니다.

5Ghz를 얻으려면 어떻게 변경할 수 있습니까? hw_mode를 ac로 변경하려고했지만 작동하지 않는 것 같습니다. hostapd 구성 파일의 매개 변수에 대한 적절한 정보를 어디서 얻을 수 있으며 어떻게 작성하면 좋을까요? config 파일?

댓글

  • 내 답변을 모았습니다. ' 전혀 도움이되지 않았습니다.

답변

TL; DR

사용

hw_mode=a 

hostapd의 매뉴얼 페이지가 무용지물임을 확인했습니다.

더 유용한 페이지를 찾았습니다. https://wiki.gentoo.org/wiki/Hostapd (다음 예 포함)

802.11a / n / ac WPA2-PSK 및 CCMP 사용

최신 하드웨어를위한 간단하지만 안전한 AP :
파일 /etc/hostapd/hostapd.conf

interface=wlan0 # the interface used by the AP hw_mode=a # a simply means 5GHz channel=0 # the channel to use, 0 means the AP will search for the channel with the least interferences ieee80211d=1 # limit the frequencies used to those allowed in the country country_code=FR # the country code ieee80211n=1 # 802.11n support ieee80211ac=1 # 802.11ac support wmm_enabled=1 # QoS support ssid=somename # the name of the AP auth_algs=1 # 1=wpa, 2=wep, 3=both wpa=2 # WPA2 only wpa_key_mgmt=WPA-PSK rsn_pairwise=CCMP wpa_passphrase=somepassword 

유용한 설명 포함

hw_mode=a # a simply means 5GHz 

참고 : 분명히 이후 버전 (v2.6 + )의 hostapd는 공동의 인라인 주석을 좋아하지 않습니다. nfig 파일

댓글

  • raspberrypi.org/documentation/configuration/wireless/ … 구성 파일에 대한 유용한 문서도 포함되어 있습니다.
  • 참고로; hostapd v2.6에서 ' 특히 hw_mode 라인에 대한 인라인 주석을 좋아하지 않습니다. 구성 파일 : /etc/hostapd/hostapd.conf 5 행 : 알 수 없음 hw_mode ' a # a = 5Ghz, g = 2.4Ghz (분명히) ' 11b 모드의 HT (IEEE 802.11n)는 허용되지 않습니다. HT 기능 비활성화 1 오류가 구성 파일 ' /etc/hostapd/hostapd.conf
  • @sirlark 정보 감사합니다

답변

hostapd.conf in raspberry pi 3B plus with raspbian stretch :

interface=wlan0 ssid=pi-5G macaddr_acl=0 ignore_broadcast_ssid=0 ## 2.4G #hw_mode=a #channel=7 ## 5G hw_mode=a channel=36 country_code=US ieee80211d=1 ieee80211n=1 ieee80211ac=1 wmm_enabled=1 ## wpa auth auth_algs=1 wpa=2 wpa_passphrase=11111111 wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP 

답글 남기기

이메일 주소를 발행하지 않을 것입니다. 필수 항목은 *(으)로 표시합니다