Merge pull request #159 from pldubouilh/master

802.11d & readme fix
This commit is contained in:
oblique
2016-05-02 01:19:52 +03:00
2 changed files with 7 additions and 4 deletions

View File

@ -3,7 +3,7 @@
* Choose one of the following encryptions: WPA, WPA2, WPA/WPA2, Open (no encryption). * Choose one of the following encryptions: WPA, WPA2, WPA/WPA2, Open (no encryption).
* Hide your SSID. * Hide your SSID.
* Disable communication between clients (client isolation). * Disable communication between clients (client isolation).
* IEEE 802.11n support * IEEE 802.11n & 802.11ac support
* Internet sharing methods: NATed or Bridged or None (no Internet sharing). * Internet sharing methods: NATed or Bridged or None (no Internet sharing).
* Choose the AP Gateway IP (only for 'NATed' and 'None' Internet sharing methods). * Choose the AP Gateway IP (only for 'NATed' and 'None' Internet sharing methods).
* You can create an AP with the same interface you are getting your Internet connection. * You can create an AP with the same interface you are getting your Internet connection.

View File

@ -1567,7 +1567,10 @@ ap_isolate=$ISOLATE_CLIENTS
EOF EOF
if [[ -n "$COUNTRY" ]]; then if [[ -n "$COUNTRY" ]]; then
echo "country_code=${COUNTRY}" >> $CONFDIR/hostapd.conf cat << EOF >> $CONFDIR/hostapd.conf
country_code=${COUNTRY}
ieee80211d=1
EOF
fi fi
if [[ $FREQ_BAND == 2.4 ]]; then if [[ $FREQ_BAND == 2.4 ]]; then