intrig-unicamp / mininet-wifi

Emulator for Software-Defined Wireless Networks
https://mn-wifi.readthedocs.io/
Other
431 stars 239 forks source link

AssertionError while pinging station that gets out of range #413

Closed rrehlert closed 2 years ago

rrehlert commented 2 years ago

Hello, I am getting an issue while constatly pinging a station that gets out of the range of the Access point. What is happening is: the ping works while in range, but if it is pinging when the station exits range it gives me an AssertionError in the console and the ping still occurs fine (no packet loss) even out of range of the AP. The same does not occur if I ping while in range, stop the ping, then resume it while out of range, then it gives me packet losses as expected.

I'll attach some prints to help the explanation

If the ping keeps going: image

If I stop and resume it: image

ramonfontes commented 2 years ago

You can overcome this issue by running the ping command through xterm instead of the mn-wifi terminal.

rrehlert commented 2 years ago

That worked fine, thank you!