mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 19:58:03 +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")
|
print("This script requires Python 3")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
|
|
||||||
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../")))
|
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../")))
|
||||||
|
|
||||||
LFUtils = importlib.import_module("py-json.LANforge.LFUtils")
|
LFUtils = importlib.import_module("py-json.LANforge.LFUtils")
|
||||||
@@ -175,8 +174,9 @@ class TTLSTest(Realm):
|
|||||||
eap=self.eap,
|
eap=self.eap,
|
||||||
identity=self.identity,
|
identity=self.identity,
|
||||||
passwd=self.ttls_passwd,
|
passwd=self.ttls_passwd,
|
||||||
realm=self.ttls_realm,
|
private_key=self.private_key,
|
||||||
domain=self.domain,
|
pk_password=self.pk_passwd,
|
||||||
|
ca_cert=self.ca_cert,
|
||||||
hessid=self.hessid)
|
hessid=self.hessid)
|
||||||
if self.ieee80211w:
|
if self.ieee80211w:
|
||||||
self.station_profile.set_command_param("add_sta", "ieee80211w", self.ieee80211w)
|
self.station_profile.set_command_param("add_sta", "ieee80211w", self.ieee80211w)
|
||||||
@@ -335,7 +335,7 @@ test_ipv4_ttls.py:
|
|||||||
--------------------
|
--------------------
|
||||||
Generic command layout:
|
Generic command layout:
|
||||||
python ./test_ipv4_ttls.py
|
python ./test_ipv4_ttls.py
|
||||||
|
|
||||||
--upstream_port eth1
|
--upstream_port eth1
|
||||||
--radio wiphy0
|
--radio wiphy0
|
||||||
--num_stations 3
|
--num_stations 3
|
||||||
|
|||||||
Reference in New Issue
Block a user