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.
I'm working on ns-2.35, and I want to simulate wireless-hart in ns2.
I got a code from an author, and i followed his procedure to integrate the wireless-hart simulator in ns2, but when i run any WPAN example i got this message:
I'm working on ns-2.35, and I want to simulate wireless-hart in ns2. I got a code from an author, and i followed his procedure to integrate the wireless-hart simulator in ns2, but when i run any WPAN example i got this message:
num node is 46 cannot open request log.
my OS is Ubuntu 16.04, 64-bit
Since you got 'a code from an author', why don't you contact that person and ask THEM??? You don't tell us/show us what this code is...and we can't guess. Best thing would be to look at the log file name and path, and make sure your user can write to that directory/file.
I'm working on ns-2.35, and I want to simulate wireless-hart in ns2.
I got a code from an author, and i followed his procedure to integrate the wireless-hart simulator in ns2, but when i run any WPAN example i got this message:
num node is 46
cannot open request log.
my OS is Ubuntu 16.04, 64-bit
I will be thankful for you if any one help me.
hey Sir plz u can help to implement wirelesshart using ns2
hey Sir plz u can help to implement wirelesshart using ns2
You need to read the LQ Rules and the "Question Guidelines". Don't use text speak (it's "you" not "u", "please" not "plz", etc.), don't hijack someone elses thread with your own question, and don't re-open old threads unless you're going to contribute to the answers in that thread. Also, you need to do basic research before posting a question.
As we told the original poster of this question, tell us what you've done/tried first. Did you look up anything about NS2 and wireless-hart? Follow any of the guides? What version/distro of Linux are you using?? Without details, we can't help.
You need to read the LQ Rules and the "Question Guidelines". Don't use text speak (it's "you" not "u", "please" not "plz", etc.), don't hijack someone elses thread with your own question, and don't re-open old threads unless you're going to contribute to the answers in that thread. Also, you need to do basic research before posting a question.
As we told the original poster of this question, tell us what you've done/tried first. Did you look up anything about NS2 and wireless-hart? Follow any of the guides? What version/distro of Linux are you using?? Without details, we can't help.
thank you Sir ,
you can help me to implement wirelesshart it is a standard like bluetooth but it in industrial domain using NS2
thank you Sir ,
you can help me to implement wirelesshart it is a standard like bluetooth but it in industrial domain using NS2
Again, as you were told before:
DO RESEARCH ON YOUR OWN FIRST. You can look up steps, guides, etc., because there are resources you can find on your own, and we are not going to look them up for you.
OPEN YOUR OWN THREAD FOR YOUR OWN QUESTION. That means, do not reply in this thread, but open a NEW thread.
Open a new thread only AFTER you have done your research and are actually stuck. We are not going to look up guides for you, type up how-to documents, etc. And if you wind up posting a question, you will, AGAIN, have to provide details, like version/distro of Linux, version of NS2, what guide(s) you followed, etc.
With the reference to this post "linux-software-2/ns2-message-cannot-open-request-log-4175591427/"], I could not find anything useful. Hence I opening up another thread to seek help.
I'm receiving error
Code:
num_nodes is set 46
cannot open request log.
When I open up the tcl file
Code:
# ======================================================================
# Define options
# ======================================================================
set val(chan) Channel/WirelessChannel ;# Channel Type
set val(prop) Propagation/TwoRayGround ;# radio-propagation model
set val(netif) Phy/WirelessPhy/802_15_4
set val(mac) Mac/802_15_4
set val(ifq) Queue/DropTail/PriQueue ;# interface queue type
set val(ll) LL ;# link layer type
set val(ant) Antenna/OmniAntenna ;# antenna model
set val(ifqlen) 150 ;# max packet in ifq
set val(nn) 46 ;# number of mobilenodes
set val(rp) AODV ;# routing protocol
set val(x) 100
set val(y) 100
set val(nam) wpan_demo_WirelessHART8.nam
set val(traffic) cbr ;# cbr/poisson/ftp
So the ns2 does read values from the tcl file but it's not compiling.
Things I have tried:
1.Followed the youtube tutorial on installing ns2 in Ubuntu 22.04, with the steps given by the author.
2.Re-install gcc-4.8 and g++-4.8 compiler.
Also, the step which I followed are same as I did on another PC(which works).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.