Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hiii
i got the visualizer running for ns-3.11 and tried some of the example codes but when i run mesh.cc(a code for implementing HWMP) this is what i get
assert failed. cond="!m_metadataSkipped", msg="Error: attempting to
enable the packet metadata subsystem too late in the simulation, which
is not allowed.
A common cause for this problem is to enable ASCII tracing after
sending any packets. One way to fix this problem is to call
ns3::PacketMetadata::Enable () near the beginning of the program,
before any packets are sent.", file=../src/network/model/packet-
metadata.cc, line=59
Command ['/home/cpu56/ns-allinone-3.11/ns-3.11/build/debug/scratch/
mesh', '--x-size=2', '--y-size=2', '--time=10', '--packet-
interval=0.5', '--packet-size=1024', '--interfaces=1', '--pcap=0', '--
SimulatorImplementationType=ns3::VisualSimulatorImpl'] terminated with
signal SIGSEGV. Run it under a debugger to get more information (./waf
--run <program> --command-template="gdb --args %s <args>").
i did go through some of the old posts in another blog where the same problem was faced and read the solution which is to
"call Packet::EnablePrinting() early in the simulation code"
but i didnt quite understand what it exactly means.Could you please be kind enough to explain why this error occurs, how to resolve this error and how is it resolved by calling Packet:EnablePrinting() early in the code.Sorry i am new to ns3 and coding so a little hard for me to understand all this.
Hii
i am not familiar with lte,why dont you post your error on ns-3 google users ,all users discuss issues there and someone might help you out and sorry for delay in replying.
Hi, i'm facing the same problem right now. I found your post and i'm glad that you found a solution. However, you didn't found a detailed solution. Can you tell me ( if you remember of course ) the modification you made the the file "packet-metadata.cc"?
Thank you in advance.
Regards.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.