From 493269e06138926f5164c0c2ff0e72f76e5874f7 Mon Sep 17 00:00:00 2001 From: glaszig Date: Fri, 2 Aug 2019 14:42:15 +0200 Subject: [PATCH] enable wifi client to connect to hidden ssid according to the docs: For finding networks using hidden SSID, scan_ssid=1 in the network block can be used with nl80211. and scan_ssid: 0 = do not scan this SSID with specific Probe Request frames (default) 1 = scan with SSID-specific Probe Request frames (this can be used to find APs that do not accept broadcast SSID or use multiple SSIDs; this will add latency to scanning, so enable this only when needed) https://w1.fi/cgit/hostap/plain/wpa_supplicant/wpa_supplicant.conf see billz/raspap-webgui#345 --- includes/configure_client.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/configure_client.php b/includes/configure_client.php index cb22b0ca..8c3f08b3 100755 --- a/includes/configure_client.php +++ b/includes/configure_client.php @@ -82,6 +82,7 @@ function DisplayWPAConfig() fwrite($wpa_file, "network={".PHP_EOL); fwrite($wpa_file, "\tssid=\"".$ssid."\"".PHP_EOL); fwrite($wpa_file, "\tkey_mgmt=NONE".PHP_EOL); + fwrite($wpa_file, "\tscan_ssid=1".PHP_EOL); if (array_key_exists('priority', $network)) { fwrite($wpa_file, "\tpriority=".$network['priority'].PHP_EOL); }