I need help LTE Warning

77 views
Skip to first unread message

Yosra Mejri

unread,
Apr 17, 2016, 3:16:08 PM4/17/16
to ns-3-users
Hi all,

I'm currently working with LTE but I have a problem with flow monitor my code is well without flow monitor
this is the error that I find

Warning prints this:


WARNING: no NetDeviceTraits registered for device type 'EnbNetDevice';
I will assume this is a non-virtual wireless device, but you should
edit '/home/xjsousa/tarballs/ns-
allinone-3.11/ns-3.11/src/visualizer/
visualizer/base.pyc', variable 'netdevice_traits', to make sure.

Konstantinos

unread,
Apr 17, 2016, 3:58:46 PM4/17/16
to ns-3-users
Dear Yosra,

NS-3.11 is very old. We are currently running NS-3.25. 
Could you try to run your code (after modifying it of course) in the latest ns-3 release and report if you face the same problem?

Regards,
K. 

Yosra Mejri

unread,
Apr 17, 2016, 6:16:43 PM4/17/16
to ns-3-users

Hi M. Konstantinos

thank you to answer me but actually I use the ns-version 3.19 and I found the same problem here it is
mm.png

Konstantinos

unread,
Apr 17, 2016, 7:04:48 PM4/17/16
to ns-3-users
Hi,

Even ns-3.19 is quite old, more than 3yr. As I said, we are at ns-3.25
Also, you have missing dependencies in order to run the visualiser. See the first two lines of your output.

The error is related to FlowMonitor and particularly due to the fact you are installing it on eNBs. This has been fixed in latest ns3 releases.

Regards,
K.

Yosra Mejri

unread,
Apr 18, 2016, 9:26:20 AM4/18/16
to ns-3-users

Hi,

thank you so much you can send me a link to the installation ns3.25


Regards,

Konstantinos

unread,
Apr 18, 2016, 10:03:30 AM4/18/16
to ns-3-users

Yosra Mejri

unread,
Apr 18, 2016, 10:04:12 AM4/18/16
to ns-3-users
HI M. Konstantinos ,
I have finally install ns3.25 but I find another problem with the same code please what is the fault this time


Le lundi 18 avril 2016 00:04:48 UTC+1, Konstantinos a écrit :
cap3.png

Konstantinos

unread,
Apr 18, 2016, 10:22:02 AM4/18/16
to ns-3-users
Check your results by inspecting the XML file. 
Do you see any RX packet? Or is it zero? 

The python script will try to calculate the rxBitrate as follows:
        if rx_duration > 0:
           
self.rxBitrate = long(flow_el.get('rxBytes'))*8 / rx_duration
       
else:
           
self.rxBitrate = None

If you do not receive any packet, it will be assigned None which does not print as floating
      
print "\tRX bitrate: %.2f kbit/s" % (flow.rxBitrate*1e-3,)

This is a bug in the script and should be fixed (I will report it). 
But in terms of your results, it tells you that (a) you should read the error message and investigate yourself and (b) check your scenario as you do not have any received packet.
Reply all
Reply to author
Forward
0 new messages