hostapd: Add wpa_psk_file option to netifd.sh
authorJohn Crispin <john@openwrt.org>
Mon, 20 Oct 2014 11:19:21 +0000 (11:19 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 20 Oct 2014 11:19:21 +0000 (11:19 +0000)
commit2ac9b23d314ee4017de0a4db0a334cd9d8f2b247
tree02b435b51f4e43fddf6cd335233784f915690068
parentaf8a3aae7d75a87889e4e75751d2706dd1018dee
hostapd: Add wpa_psk_file option to netifd.sh

The wpa_psk_file option offers the possibility to use a different WPA-PSK key for each client. The directive points to a file with the following syntax:

mac_address wpa_passphrase_or_hex_key

Example:

00:11:22:33:44:55 passphrase_for_client_1
00:11:22:33:44:67 passphrase_for_client_2
00:11:22:33:44:89 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef

So it is possible to specify both ASCII passphrases and raw 64-chars hex keys.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 43001
package/network/services/hostapd/files/netifd.sh