-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.py
More file actions
35 lines (29 loc) · 931 Bytes
/
Copy pathsettings.py
File metadata and controls
35 lines (29 loc) · 931 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/python3
# python modules
import os
__version__ = "1.1"
# Directory Mapping
root_dir, conf_file = os.path.split(os.path.abspath(__file__))
working_dir = root_dir + '/tmp'
# File Mapping
wpa_supplicant_conf_file_location = working_dir + '/wpa_supplicant.conf'
wpa_supplicant_logfile_location = working_dir
default_ca_cert_location = working_dir + '/radius.pem'
argparser_default_client_cert_location = working_dir + '/client.pem'
argparser_default_client_private_key_location = working_dir + '/private.key'
# Default Argument Options
argparser_eap_username = 'infamoussyn'
argparser_eap_password = 'infamoussyn'
argparser_pairwise_encryption = 'CCMP TKIP'
argparser_group_encryption = 'CCMP TKIP'
argparser_default_client_private_password = 'infamoussyn'
argpaser_timeout = 15
#
supported_eap_methods = [
'md5',
'peap',
'tls',
'ttls'
]
# Do not modify
wpa_supplicant_lock = '/var/run/wpa_supplicant'