]> git.ipfire.org Git - network.git/commitdiff
hostapd: Enable WPA authentication with SHA256
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Mar 2019 11:47:32 +0000 (12:47 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Mar 2019 11:47:32 +0000 (12:47 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.hostapd

index 6111457f9894846df4a0a249b9fa10e0e7ad4e5f..79fb4dbb38f9c6e7d08d5cc6d9927cf6684c1a38 100644 (file)
@@ -413,7 +413,7 @@ hostapd_config_write() {
                        print "# Encryption settings"
                        print "wpa=${encryption_mode}"
                        print "wpa_passphrase=${key}"
-                       print "wpa_key_mgmt=WPA-PSK"
+                       print "wpa_key_mgmt=WPA-PSK-SHA256 WPA-PSK"
                        print "wpa_pairwise=${pairwise_ciphers[*]}"
                        print "rsn_pairwise=${pairwise_ciphers[*]}"
                        print "group_cipher=${group_ciphers[*]}"