From 50b0a36082e63c4837b3d85343759a093105db4b Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Fri, 14 Apr 2017 13:56:47 +0200 Subject: [PATCH] Hostapd configuration(s) cleanup. --- .../hostapd-realtek/debian/config/hostapd.conf | 16 +++++++++++++--- .../hostapd/debian/config/hostapd.conf | 17 ++++++++++++++--- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/extras-buildpkgs/hostapd-realtek/debian/config/hostapd.conf b/extras-buildpkgs/hostapd-realtek/debian/config/hostapd.conf index a3c68e4ef..f4f35fabc 100644 --- a/extras-buildpkgs/hostapd-realtek/debian/config/hostapd.conf +++ b/extras-buildpkgs/hostapd-realtek/debian/config/hostapd.conf @@ -1,15 +1,24 @@ -ssid=SSID +# +# hostapd configuration example +# +# realtek mode +# + +ssid=ARMBIAN interface=wlan0 hw_mode=g channel=5 -driver=nl80211 bridge=br0 +driver=rtl871xdrv + logger_syslog=0 logger_syslog_level=0 + wmm_enabled=1 ieee80211n=1 wpa=2 preamble=1 + wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27 wpa_passphrase=12345678 wpa_key_mgmt=WPA-PSK @@ -17,11 +26,12 @@ wpa_pairwise=TKIP rsn_pairwise=CCMP auth_algs=1 macaddr_acl=0 + noscan=1 + #ht_capab=[HT40-][SHORT-GI-40][SHORT-GI-40][DSSS_CCK-40] #country_code=SI #ieee80211d=1 -driver=rtl871xdrv #5 Ghz example config #hw_mode=a diff --git a/extras-buildpkgs/hostapd/debian/config/hostapd.conf b/extras-buildpkgs/hostapd/debian/config/hostapd.conf index 413f6f21a..5f9a6ca51 100644 --- a/extras-buildpkgs/hostapd/debian/config/hostapd.conf +++ b/extras-buildpkgs/hostapd/debian/config/hostapd.conf @@ -1,15 +1,24 @@ -ssid=SSID +# +# armbian hostapd configuration example +# +# nl80211 mode +# + +ssid=ARMBIAN interface=wlan0 hw_mode=g channel=5 -driver=nl80211 bridge=br0 +driver=nl80211 + logger_syslog=0 logger_syslog_level=0 + wmm_enabled=1 ieee80211n=1 wpa=2 preamble=1 + wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27 wpa_passphrase=12345678 wpa_key_mgmt=WPA-PSK @@ -17,7 +26,9 @@ wpa_pairwise=TKIP rsn_pairwise=CCMP auth_algs=1 macaddr_acl=0 + noscan=1 + #ht_capab=[HT40-][SHORT-GI-40][SHORT-GI-40][DSSS_CCK-40] #country_code=SI #ieee80211d=1 @@ -25,4 +36,4 @@ noscan=1 #5 Ghz example config #hw_mode=a #channel=108 -#ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40] +#ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40] \ No newline at end of file