LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-14-2016, 04:35 PM   #1
jebril
LQ Newbie
 
Registered: Oct 2016
Posts: 1

Rep: Reputation: Disabled
ns2 message, cannot open request log.


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.
 
Old 10-18-2016, 12:29 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by jebril View Post
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.
 
Old 08-17-2017, 06:03 AM   #3
selmisofien
LQ Newbie
 
Registered: Aug 2017
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by jebril View Post
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
 
Old 08-17-2017, 07:41 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by selmisofien View Post
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.
 
1 members found this post helpful.
Old 08-17-2017, 11:05 AM   #5
selmisofien
LQ Newbie
 
Registered: Aug 2017
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
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
 
Old 08-17-2017, 12:40 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by selmisofien View Post
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.

Last edited by TB0ne; 08-17-2017 at 12:42 PM.
 
1 members found this post helpful.
Old 01-11-2023, 03:36 AM   #7
ALPJ
LQ Newbie
 
Registered: Jan 2023
Posts: 1

Rep: Reputation: 0
Running WirelessHart Simulation in NS2

Hi All,

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).
 
  


Reply

Tags
ns2, wirelesshart



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
after installing NS2 termina shows the message ns2 not installed profaditya Linux - Newbie 2 09-25-2014 02:15 PM
Fedora NS2 Installation assistance request. sindhu subramanian Linux - Newbie 19 03-11-2011 01:51 AM
neat command not working azx_get_response timeout message in /var/log/message ninadshaha Red Hat 1 02-19-2008 02:32 PM
Strange Repeating Error message in /var/log/message lucktsm Linux - Security 2 10-27-2006 08:29 AM
message, message.1 in /var/log/ can be deleted for space? phpsharma Linux - Newbie 4 11-17-2004 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration