Skip to content

Commit

Permalink
fix for eap-tls
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonfontes committed Nov 27, 2024
1 parent a099887 commit 98ff896
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/eap-tls/eap-tls-auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from mininet.log import setLogLevel, info
from mn_wifi.cli import CLI
from mn_wifi.net import Mininet_wifi
import os.path
import os
from os import path

Expand Down Expand Up @@ -47,7 +46,7 @@ def topology():
ap1 = net.addAccessPoint('ap1',
ssid="simplewifi",
hostapd_flags='-dd > /tmp/hostapd.txt',
mode="g", channel="1",
mode="g", channel="1", encrypt='wpa2',
failMode="standalone", datapath='user',
config='eap_server=1,'
'ieee8021x=1,'
Expand Down Expand Up @@ -98,4 +97,4 @@ def topology():
if path.exists("/tmp/hostapd.txt"):
os.remove("/tmp/hostapd.txt")
setLogLevel('info')
topology()
topology()

0 comments on commit 98ff896

Please sign in to comment.