Hello,
I want to generate pcap traces for all devices in the topology, I have 3 different point-to-point helpers with different configurations. When I enabled pcap for all the following error is shown
aborted. cond="file->Fail ()", msg="Unable to Open TT_ACC_AGG_PCAP-289-4.pcap for mode 16", file=../src/network/helper/trace-helper.cc, line=60
What is the reason for this failure?
Also the pcap files are generated in the root folder, which I don't want how can I change the directory for pcap, I have seen example for
ascii.tr but no pcap. I tried the same format but didn't work. here is how I did it
nTac.EnablePcapAll("~/trashed/TT_NODE_ACC_PCAP");
acTag.EnablePcapAll("~/trashed/TT_ACC_AGG_PCAP");
agTc.EnablePcapAll("~/trashed/TT_AGG_C_PCAP");
// error got
aborted. cond="file->Fail ()", msg="Unable to Open ~/trashed/TT_NODE_ACC_PCAP-0-1.pcap for mode 16", file=../src/network/helper/trace-helper.cc, line=60
For the record I am using NS-3 version 3.24.1