Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iperf error in Ubuntu 20.04 #534

Closed
zaheenSyed opened this issue Apr 27, 2024 · 1 comment
Closed

iperf error in Ubuntu 20.04 #534

zaheenSyed opened this issue Apr 27, 2024 · 1 comment

Comments

@zaheenSyed
Copy link

zaheenSyed commented Apr 27, 2024

I have been trying to run iperf from mininet-wifi but I am always getting this error.

Here is the whole error:

"zemsyed@ZET:/mininet-wifi$ sudo python3 ./examples/telemetry.py
/usr/local/lib/python3.8/dist-packages/matplotlib/backends/backend_gtk3agg.py:15: UserWarning: The Gtk3Agg backend is known to not work on Python 3.x with pycairo. Try installing cairocffi.
warnings.warn(
*** Creating nodes
*** Configuring Propagation Model
*** Configuring nodes
*** Connecting to wmediumd server /var/run/wmediumd.sock
*** Starting network
*** Running CLI
*** Starting CLI:
mininet-wifi> iperf
*** Iperf: testing TCP bandwidth between sta1 and sta3
Traceback (most recent call last):
File "./examples/telemetry.py", line 53, in
topology()
File "./examples/telemetry.py", line 45, in topology
CLI(net)
File "/usr/local/lib/python3.8/dist-packages/mininet_wifi-2.6-py3.8.egg/mn_wifi/cli.py", line 21, in init
MN_CLI.init(self, mn_wifi, stdin=stdin, script=script)
File "/usr/local/lib/python3.8/dist-packages/mininet/cli.py", line 70, in init
self.run()
File "/usr/local/lib/python3.8/dist-packages/mininet/cli.py", line 114, in run
self.cmdloop()
File "/usr/lib/python3.8/cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
File "/usr/lib/python3.8/cmd.py", line 217, in onecmd
return func(arg)
File "/usr/local/lib/python3.8/dist-packages/mininet/cli.py", line 230, in do_iperf
self.mn.iperf()
File "/usr/local/lib/python3.8/dist-packages/mininet_wifi-2.6-py3.8.egg/mn_wifi/net.py", line 1046, in iperf
result = [self._parseIperf(servout), self._parseIperf(cliout)]
AttributeError: 'Mininet_wifi' object has no attribute '_parseIperf'
zemsyed@ZET:
/mininet-wifi$ "

@ramonfontes
Copy link
Member

Please use iperf with xterm via makeTerm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants