From 98b4d03307d8a02356293520a5649b1cfea1f827 Mon Sep 17 00:00:00 2001 From: garywill Date: Wed, 20 Jan 2021 13:10:02 +0800 Subject: [PATCH] default WPA2 --- README.md | 4 ++-- lnxrouter | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a645b28..0a44d96 100644 --- a/README.md +++ b/README.md @@ -284,8 +284,8 @@ Options: (example: US) --freq-band Set frequency band: 2.4 or 5 (default: 2.4) --driver Choose your WiFi adapter driver (default: nl80211) - -w Use 1 for WPA, use 2 for WPA2, use 1+2 for both - (default: 1+2) + -w '2' for WPA2, '1' for WPA, '1+2' for both + (default: 2) --psk Use 64 hex digits pre-shared-key instead of passphrase --mac-filter Enable Wifi hotspot MAC address filtering diff --git a/lnxrouter b/lnxrouter index 5364d07..9f2498a 100644 --- a/lnxrouter +++ b/lnxrouter @@ -81,8 +81,8 @@ Options: (example: US) --freq-band Set frequency band: 2.4 or 5 (default: 2.4) --driver Choose your WiFi adapter driver (default: nl80211) - -w Use 1 for WPA, use 2 for WPA2, use 1+2 for both - (default: 1+2) + -w '2' for WPA2, '1' for WPA, '1+2' for both + (default: 2) --psk Use 64 hex digits pre-shared-key instead of passphrase --mac-filter Enable Wifi hotspot MAC address filtering @@ -159,7 +159,7 @@ WIFI_IFACE= VWIFI_IFACE= AP_IFACE= CHANNEL=default -WPA_VERSION=1+2 +WPA_VERSION=2 MAC_FILTER=0 MAC_FILTER_ACCEPT=/etc/hostapd/hostapd.accept IEEE80211N=0