mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 03:37:55 +00:00
added the fix for eap tls auth
This commit is contained in:
@@ -10,7 +10,6 @@ if sys.version_info[0] != 3:
|
||||
print("This script requires Python 3")
|
||||
exit(1)
|
||||
|
||||
|
||||
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../")))
|
||||
|
||||
LFUtils = importlib.import_module("py-json.LANforge.LFUtils")
|
||||
@@ -175,8 +174,9 @@ class TTLSTest(Realm):
|
||||
eap=self.eap,
|
||||
identity=self.identity,
|
||||
passwd=self.ttls_passwd,
|
||||
realm=self.ttls_realm,
|
||||
domain=self.domain,
|
||||
private_key=self.private_key,
|
||||
pk_password=self.pk_passwd,
|
||||
ca_cert=self.ca_cert,
|
||||
hessid=self.hessid)
|
||||
if self.ieee80211w:
|
||||
self.station_profile.set_command_param("add_sta", "ieee80211w", self.ieee80211w)
|
||||
@@ -335,7 +335,7 @@ test_ipv4_ttls.py:
|
||||
--------------------
|
||||
Generic command layout:
|
||||
python ./test_ipv4_ttls.py
|
||||
|
||||
|
||||
--upstream_port eth1
|
||||
--radio wiphy0
|
||||
--num_stations 3
|
||||
|
||||
Reference in New Issue
Block a user