intrig-unicamp / mininet-wifi

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

OSError: [Errno 2] No such file or directory #212

Closed LucDomingo closed 5 years ago

LucDomingo commented 5 years ago

Hello, I have a problem with some script in particular vanet.py and vanet-sumo.py : Creating nodes Configuring Propagation Model * Configuring wifi nodes Traceback (most recent call last): File "vanet.py", line 84, in topology() File "vanet.py", line 45, in topology net.configureWifiNodes() File "/usr/local/lib/python2.7/dist-packages/mininet_wifi-2.3-py2.7.egg/mn_wifi/net.py", line 1765, in configureWifiNodes self.configureWmediumd() File "/usr/local/lib/python2.7/dist-packages/mininet_wifi-2.3-py2.7.egg/mn_wifi/net.py", line 1742, in configureWmediumd self.wmediumdMac) File "/usr/local/lib/python2.7/dist-packages/mininet_wifi-2.3-py2.7.egg/mn_wifi/link.py", line 729, in init aps, cars, propagation_model, maclist) File "/usr/local/lib/python2.7/dist-packages/mininet_wifi-2.3-py2.7.egg/mn_wifi/link.py", line 778, in configureWmediumd maclist) File "/usr/local/lib/python2.7/dist-packages/mininet_wifi-2.3-py2.7.egg/mn_wifi/link.py", line 790, in init ppm=propagation_model, maclist=maclist) File "/usr/local/lib/python2.7/dist-packages/mininet_wifi-2.3-py2.7.egg/mn_wifi/wmediumdConnector.py", line 220, in start cls.initialize(kwargs) File "/usr/local/lib/python2.7/dist-packages/mininet_wifi-2.3-py2.7.egg/mn_wifi/wmediumdConnector.py", line 362, in initialize preexec_fn=os.setpgrp) File "/usr/lib/python2.7/subprocess.py", line 394, in init errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory

Think for your time !

ramonfontes commented 5 years ago

Did you install wmediumd? It seems that wmediumd isn't installed.

LucDomingo commented 5 years ago

Thank you very much ! My problem is resolved !