0

https://github.com/Phoenix1747/RouteryPi How can i change this to get 5Ghz? I tried to change mode to ac, but that doesn't seem to work. Where can i get descent information on the parameters in this hostapd config file, and how to write a good config file?

  • I gather my answer didn't help at all – Jaromanda X Nov 26 '18 at 0:38
2

TL;DR

use

hw_mode=a

I see that the man pages for hostapd are quite useless

I found a more useful page https://wiki.gentoo.org/wiki/Hostapd with the following example

802.11a/n/ac with WPA2-PSK and CCMP

A simple but secure AP for recent hardware:
FILE /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

with the useful comment

hw_mode=a             # a simply means 5GHz

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.