Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
dear knudfl,
there were few errors of type variable undeclare which i have solved by comparing modified mmac files with original files.
after these 4-5 errors i am getting error-
Segmentation fault
make: *** [gen/ptypes.cc] Error 139
do you have any other cognitive radio mac protocol code,it will be a great help..
dear knudfl,
still i am getting th same error-
./common/ptypes2tcl > gen/ptypes.cc
Segmentation fault
make: *** [gen/ptypes.cc] Error 139
do u have a solution for it??
were u able to run that code without error??
i have successfully run the code(make) no idea how..
now want to test the protocol bu running given tcl file but it show this message-
root@shubham-laptop:/home/shubham/ns-allinone-2.1b9a/ns-2.1b9a# ./ns mmac-test.tcl
num_nodes is set 36
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
*** NOTE: no connection pattern specified.
*** NOTE: no scenario file specified.
MMAC Flow:3 Rate:0.025 P-Size:512 A-Size:20
Starting Simulation...
NS EXITING...
i have email-ed u the tcl file
thank u for ur help..
Last edited by jainshubh017; 05-11-2015 at 03:59 PM.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492
Rep:
Re #19.
Code:
# ./ns mmac-test.tcl
num_nodes is set 36
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
*** NOTE: no connection pattern specified.
*** NOTE: no scenario file specified.
MMAC Flow:3 Rate:0.025 P-Size:512 A-Size:20
Starting Simulation...
NS EXITING...
Looks OK.
* Spammers may harvest your email address. Please delete.
And : We already have the option "Send email to jainshubh017".
Besides that : We don't do emails for technical stuff.
""All technical discussions are supposed to take place in the Forums, so all readers can benefit from the solutions.""
** Can you tell which edits you did to the mmac code ?
? How did you succeed ?
i have changed packet.h,cmu-trace.h,queue.h in that code file
i have emailed-you the files.
now i have to run that code in ns2.31 for project completion,but the source code of mac802.11.h,mac802.11.cc and cmu-trace.cc in ns2.31 are very different from that of ns2.19..
i have changed packet.h,cmu-trace.h,queue.h in that code file
i have emailed-you the files.
now i have to run that code in ns2.31 for project completion,but the source code of mac802.11.h,mac802.11.cc and cmu-trace.cc in ns2.31 are very different from that of ns2.19..
how can i run this code in ns2.31.
Hi jainshubh017,
Can you let all know, what changes need to be done to MMAC source to make it work?
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492
Rep:
Re #24.
Quote:
Originally Posted by jainshubh017 >>
i have changed packet.h,cmu-trace.h,queue.h in that code file
i have emailed-you the files.
For a starters, I can supply a link to the files I received from @jainshubh017 :
cmu-trace.h, packet.h, queue.h. Packed up as mmac_jainshubh017_edited-files.tar
. https://drive.google.com/file/d/0B7S...ew?usp=sharing
For a starters, I can supply a link to the files I received from @jainshubh017 :
cmu-trace.h, packet.h, queue.h. Packet up as mmac_jainshubh017_edited-files.tar
. https://drive.google.com/file/d/0B7S...ew?usp=sharing
Re #24.
For a starters, I can supply a link to the files I received from @jainshubh017 :
cmu-trace.h, packet.h, queue.h. Packed up as mmac_jainshubh017_edited-files.tar
. https://drive.google.com/file/d/0B7S...ew?usp=sharing
Hi Knudfl,
mmac_jainshubh017_edited-files.tar contain cmu-trace.h, packet.h, queue.h. and the other files(which contain actual MMAC)
are missing
mac/ mac-802_11.cc
mac-802_11.h
mac.h
mac-timers.cc
mac-timers.h
ll.cc
queue/
drop-tail.cc
drop-tail.h
queue.cc
queue.h
trace/
cmu-trace.cc
cmu-trace.h
common/
object.h
packet.h
These files are originally written in ns2.19ba and to make it work on ns2.33, these files need to be changed., which are quite a lot of changes..
Can you check you have these files too from shubuljain??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.