added scan_ssid and key_mgmt to wpa supplicant
This commit is contained in:
parent
2ca525337c
commit
6ba7dcb836
@ -534,6 +534,8 @@ def edit_wpa_sup(country, ssid, pwd):
|
||||
wpa_lines.append('network={\n')
|
||||
wpa_lines.append('\tssid="{}"\n'.format(ssid))
|
||||
wpa_lines.append('\tpsk="{}"\n'.format(pwd))
|
||||
wpa_lines.append('\tscan_ssid=1\n')
|
||||
wpa_lines.append('\tkey_mgmt=WPA-PSK\n')
|
||||
wpa_lines.append('}\n')
|
||||
|
||||
wpa_string = ''.join(wpa_lines)
|
||||
|
Loading…
Reference in New Issue
Block a user