Re: [ns] NS-Users Q-process Guideline

2011-08-16 Thread Mariam A. Moustafa

Dear Tom,

Thanks a lot for your important points, I encourage the point of WIKI too
much..., concerning the admins or moderated, how can we reach them?!

and really Greate Work @ NS3-Wiki, we hope the same here...

Thanks dear,
Mariam



On Mon, Aug 15, 2011 at 6:16 PM, Tom Henderson t...@tomh.org wrote:


 On 08/15/2011 01:45 AM, Mariam A. Moustafa wrote:
 
  Dear Teerawat,
 
  Actually I have thought in this issue for a long time :)
 
  I think, there is an admin of this list and this is his responsability!!
 
  Else we have another silly choice, what about sending this guideline
  periodically, say at the start of each month. (I may do this silly task
 :( )
  to notify the new members and review with the older.
 
  In fact the really gain from this guideline is sending the answer using
  RELPY TO ALL, this will save the answers.
 
  Kindly, if you have any other suggestions, please share with us.
 
  Thanks
  Mariam
 

 Here are a few thoughts on this topic.  This issue has been around for
 as long as the list itself (~15 years) and admins have tried to deal
 with it through various mechanisms:

 - First-time posters bounce message
 - Monthly FAQ on ns-2 sent out automatically
 - Make people subscribe through a gateway web page that asks them to
 follow list rules. (http://www.isi.edu/nsnam/ns/ns-dev-list.html has
 done this for the developers list)

 Despite this, some people will always ask the list first, without
 searching.  This will be unavoidable in an unmoderated list.

 I think there are two basic options here:
 1) (moderated) more intrusive moderation of the list, and bouncing
 inappropriate questions from first-time posters with some suggestions
 about how they need to improve their question.  This is probably nicer
 for everyone on the list (improving signal to noise ratio) but is a lot
 of work for the moderator.
 2) (unmoderated) keep up with some combination of what we are doing now,
 perhaps with some updates from the ideas in this thread

 Unless someone or some small group of individuals wants to take on
 active moderation duties (note, I do not want to do this myself), I
 think that some of the ideas in this thread can be used to enhance what
 has already been done; namely, an (improved) monthly FAQ/posting
 guidelines reminder, also sent to new list members if possible upon
 successful subscription, the first time posters bounce script, and
 having people click through a web page with the posting rules, before
 getting to the subscription page.

 Another thing we have been doing occasionally on ns-3 is to try to
 answer some FAQs by writing the answers on a wiki page, and point people
 to this wiki in the reply, rather than answering in line on the list:
 http://www.nsnam.org/wiki/index.php/HOWTOs
 Then, people discover the presence of this wiki.  If someone wants to be
 a wiki curator of an ns-2 FAQ/HOWTO, we could set that up too.

 - Tom




Re: [ns] NS-Users Q-process Guideline

2011-08-16 Thread Teerawat@UBC

Dear Tom,

Thanks for your comments. It is quite hard to find a moderator, indeed. It 
would be hard to do so. I'm not quite sure how to fix the problem, except for 
putting [NS-ANS] tag on the subject. A lot of mail clients can do the filter 
and shows on the answer. 

In fact, what I have done so far is as follows. I've been blogging about NS2 
regularly at ns2ultimate.com. When I see the question that can be answered with 
my blog, I just refer those people to my blog. For those who do not ask 
responsibly, e.g., please send me the source code of  protocols, I direct 
them to my blog post on Ethic. 

http://www.ns2ultimate.com/post/535741560/assistance-and-ethics

Best Regards,
Teerawat





On Aug 16, 2011, at 4:03 PM, Mariam A. Moustafa wrote:

 
 Dear Tom,
 
 Thanks a lot for your important points, I encourage the point of WIKI too
 much..., concerning the admins or moderated, how can we reach them?!
 
 and really Greate Work @ NS3-Wiki, we hope the same here...
 
 Thanks dear,
 Mariam
 
 
 
 On Mon, Aug 15, 2011 at 6:16 PM, Tom Henderson t...@tomh.org wrote:
 
 
 On 08/15/2011 01:45 AM, Mariam A. Moustafa wrote:
 
 Dear Teerawat,
 
 Actually I have thought in this issue for a long time :)
 
 I think, there is an admin of this list and this is his responsability!!
 
 Else we have another silly choice, what about sending this guideline
 periodically, say at the start of each month. (I may do this silly task
 :( )
 to notify the new members and review with the older.
 
 In fact the really gain from this guideline is sending the answer using
 RELPY TO ALL, this will save the answers.
 
 Kindly, if you have any other suggestions, please share with us.
 
 Thanks
 Mariam
 
 
 Here are a few thoughts on this topic.  This issue has been around for
 as long as the list itself (~15 years) and admins have tried to deal
 with it through various mechanisms:
 
 - First-time posters bounce message
 - Monthly FAQ on ns-2 sent out automatically
 - Make people subscribe through a gateway web page that asks them to
 follow list rules. (http://www.isi.edu/nsnam/ns/ns-dev-list.html has
 done this for the developers list)
 
 Despite this, some people will always ask the list first, without
 searching.  This will be unavoidable in an unmoderated list.
 
 I think there are two basic options here:
 1) (moderated) more intrusive moderation of the list, and bouncing
 inappropriate questions from first-time posters with some suggestions
 about how they need to improve their question.  This is probably nicer
 for everyone on the list (improving signal to noise ratio) but is a lot
 of work for the moderator.
 2) (unmoderated) keep up with some combination of what we are doing now,
 perhaps with some updates from the ideas in this thread
 
 Unless someone or some small group of individuals wants to take on
 active moderation duties (note, I do not want to do this myself), I
 think that some of the ideas in this thread can be used to enhance what
 has already been done; namely, an (improved) monthly FAQ/posting
 guidelines reminder, also sent to new list members if possible upon
 successful subscription, the first time posters bounce script, and
 having people click through a web page with the posting rules, before
 getting to the subscription page.
 
 Another thing we have been doing occasionally on ns-3 is to try to
 answer some FAQs by writing the answers on a wiki page, and point people
 to this wiki in the reply, rather than answering in line on the list:
 http://www.nsnam.org/wiki/index.php/HOWTOs
 Then, people discover the presence of this wiki.  If someone wants to be
 a wiki curator of an ns-2 FAQ/HOWTO, we could set that up too.
 
 - Tom
 
 
 




Re: [ns] NS-Users Q-process Guideline

2011-08-16 Thread Mariam A. Moustafa

On Tue, Aug 16, 2011 at 12:38 PM, Teerawat@UBC teera...@ece.ubc.ca wrote:

 Dear Tom,

 Thanks for your comments. It is quite hard to find a moderator, indeed. It
 would be hard to do so. I'm not quite sure how to fix the problem, except
 for putting [NS-ANS] tag on the subject *and useing REPLY TO ALL to answer
 a question :).* A lot of mail clients can do the filter and shows on the
 answer.

 In fact, what I have done so far is as follows. I've been blogging about
 NS2 regularly at ns2ultimate.com. When I see the question that can be
 answered with my blog, I just refer those people to my blog. For those who
 do not ask responsibly, e.g., please send me the source code of 
 protocols, I direct them to my blog post on Ethic.

 http://www.ns2ultimate.com/post/535741560/assistance-and-ethics

 *Thanks alot Teerawat for these useful links (blog and fun page...)*


 Best Regards,
 Teerawat





 On Aug 16, 2011, at 4:03 PM, Mariam A. Moustafa wrote:

 
  Dear Tom,
 
  Thanks a lot for your important points, I encourage the point of WIKI too
  much..., concerning the admins or moderated, how can we reach them?!
 
  and really Greate Work @ NS3-Wiki, we hope the same here...
 
  Thanks dear,
  Mariam
 
 
 
  On Mon, Aug 15, 2011 at 6:16 PM, Tom Henderson t...@tomh.org wrote:
 
 
  On 08/15/2011 01:45 AM, Mariam A. Moustafa wrote:
 
  Dear Teerawat,
 
  Actually I have thought in this issue for a long time :)
 
  I think, there is an admin of this list and this is his
 responsability!!
 
  Else we have another silly choice, what about sending this guideline
  periodically, say at the start of each month. (I may do this silly task
  :( )
  to notify the new members and review with the older.
 
  In fact the really gain from this guideline is sending the answer using
  RELPY TO ALL, this will save the answers.
 
  Kindly, if you have any other suggestions, please share with us.
 
  Thanks
  Mariam
 
 
  Here are a few thoughts on this topic.  This issue has been around for
  as long as the list itself (~15 years) and admins have tried to deal
  with it through various mechanisms:
 
  - First-time posters bounce message
  - Monthly FAQ on ns-2 sent out automatically
  - Make people subscribe through a gateway web page that asks them to
  follow list rules. (http://www.isi.edu/nsnam/ns/ns-dev-list.html has
  done this for the developers list)
 
  Despite this, some people will always ask the list first, without
  searching.  This will be unavoidable in an unmoderated list.
 
  I think there are two basic options here:
  1) (moderated) more intrusive moderation of the list, and bouncing
  inappropriate questions from first-time posters with some suggestions
  about how they need to improve their question.  This is probably nicer
  for everyone on the list (improving signal to noise ratio) but is a lot
  of work for the moderator.
  2) (unmoderated) keep up with some combination of what we are doing now,
  perhaps with some updates from the ideas in this thread
 
  Unless someone or some small group of individuals wants to take on
  active moderation duties (note, I do not want to do this myself), I
  think that some of the ideas in this thread can be used to enhance what
  has already been done; namely, an (improved) monthly FAQ/posting
  guidelines reminder, also sent to new list members if possible upon
  successful subscription, the first time posters bounce script, and
  having people click through a web page with the posting rules, before
  getting to the subscription page.
 
  Another thing we have been doing occasionally on ns-3 is to try to
  answer some FAQs by writing the answers on a wiki page, and point people
  to this wiki in the reply, rather than answering in line on the list:
  http://www.nsnam.org/wiki/index.php/HOWTOs
  Then, people discover the presence of this wiki.  If someone wants to be
  a wiki curator of an ns-2 FAQ/HOWTO, we could set that up too.
 
  - Tom
 
 
 




[ns] Agent creation problem

2011-08-16 Thread Loukman NAJDI

Hello

When i have created a new agent in ns2-2.34, the make depend and make  
options are passed succesfully, after that when itry to run my TCL  
code an error occur :

ns:
[code omitted because of length]
: invalid command name Agent/TCP/Fack
while executing
Agent/TCP/Fack set ss-div4_ false

any idea ?



Re: [ns] Agent creation problem

2011-08-16 Thread Fahimeh Akbari

Hi
please explain your steps for defining your new agent and adding it to NS.

Thanks




From: Loukman NAJDI loukman.na...@utt.fr
To: ns-users@ISI.EDU
Sent: Tuesday, August 16, 2011 6:57 AM
Subject: [ns] Agent creation problem


Hello

When i have created a new agent in ns2-2.34, the make depend and make  
options are passed succesfully, after that when itry to run my TCL  
code an error occur :

ns:
[code omitted because of length]
: invalid command name Agent/TCP/Fack
    while executing
Agent/TCP/Fack set ss-div4_ false

any idea ?


Re: [ns] Agent creation problem

2011-08-16 Thread nicholas mbonimpa

Hi there,

As Fahimeh said, you've most probably not gone through all the necessary
steps of adding a new agent.

Most importantly, you need to modify the Makefile in the ns-2.34 (or your
version of ns-2) directory and include tcp-Fack.o, then run make again to
create an executable for your agent.

I hope that will help.

Kind regards,

Nicholas Mbonimpa



On Tue, Aug 16, 2011 at 11:20 AM, Fahimeh Akbari fahimeh...@yahoo.comwrote:


 Hi
 please explain your steps for defining your new agent and adding it to NS.

 Thanks



 
 From: Loukman NAJDI loukman.na...@utt.fr
 To: ns-users@ISI.EDU
 Sent: Tuesday, August 16, 2011 6:57 AM
 Subject: [ns] Agent creation problem


 Hello

 When i have created a new agent in ns2-2.34, the make depend and make
 options are passed succesfully, after that when itry to run my TCL
 code an error occur :

 ns:
 [code omitted because of length]
 : invalid command name Agent/TCP/Fack
 while executing
 Agent/TCP/Fack set ss-div4_ false

 any idea ?



[ns] Scheduler error - NULL handler

2011-08-16 Thread Aslinda Hassan

Hi everyone.

 

Currently, I'm implementing a new routing protocol for ad hoc network, and
I have managed to compile it without any errors.  Unfortunately, when I
tried to test my protocol, I received the following error:

 

Scheduler: attempt to schedule an event with a NULL handler.  Don't do that
.

 

I was wondering if anyone have any experience solving this problem or at
least give some advice on where to look at. I have goodgled this problem on
the Internet, and so far I found a number of people having the same problem
but without any solution.   Any help regarding this matter is highly
appreciated.  

 

Aslinda Hassan

Computer Engineering Research Lab

Faculty of Engineering and Applied Science

Memorial University of Newfoundland

 


This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2011.php


Re: [ns] ODMRP on ns2.29

2011-08-16 Thread akwhale


please could u tell me how u made the ADMR work in Ns 2.29. i would want to
do the same thing. 

Thanks


oooh god wrote:
 
 
 Hi,
 
 I am running ODMRP protocol on ns2.29, The implementation works fine for
 admr but there is a problem in ODMRP. After a node joins the group, it
 seems its unable to send join reply table and after some sec of tracing
 simulation stops.
 
 Does any one faced the same problem, advice and tips to solve are welcomed
 . Thanks in advance,
 
 Bye.
 
 
 
 
 

-- 
View this message in context: 
http://old.nabble.com/ODMRP-on-ns2.29-tp6766802p32272250.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] ns2.34

2011-08-16 Thread akwhale


Please who knows how to use th Multicasting protocol (Mcast) in NS2.34. i
have used the AODV for implementation in a wireless network and i want to
use the mcast for the wireless network. Please do reply ... 

Thanks
-- 
View this message in context: 
http://old.nabble.com/ns2.34-tp32272192p32272192.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] sensor net in ns2

2011-08-16 Thread Anas

Dear NS2 users 
I am a master student who has been struggling to simulate wireless
sensor network in NS2 but still have no success 
i tried ns2.34 and 2.29 
the main problem is about the phenom routing agent 
plzz if any body have any idea about how to simulate wsn in ns2 can u
help  



[ns] Please Help

2011-08-16 Thread akwhale


am trying to do installation of ns2 and got this error.. does anybody know
the solution..Please reply if you do.. Thanks

Tcl.cc: In member function ‘int TclObject::traceVar(const char*,
TclObject*)’:
Tcl.cc:421: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc: In static member function ‘static int TclClass::create_shadow(void*,
Tcl_Interp*, int, char**)’:
Tcl.cc:509: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc:511: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc: In static member function ‘static int
TclClass::dispatch_instvar(void*, Tcl_Interp*, int, char**)’:
Tcl.cc:571: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc: In member function ‘virtual void TclClass::bind()’:
Tcl.cc:603: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc:605: warning: deprecated conversion from string constant to ‘char*’
make: *** [Tcl.o] Error 1
tclcl-1.0b11 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems


Thanks

-- 
View this message in context: 
http://old.nabble.com/Please-Help-tp32273528p32273528.html
Sent from the ns-users mailing list archive at Nabble.com.




Re: [ns] [ns-ANS] Please Help

2011-08-16 Thread Imran khan

Hi,

This looks like a compiler related error. Try to install gcc4.3 and then try
installation.

--

Best Regards,

Imran Khan

Research Engineer

Network and Service Architecture Lab

Institute Telecom, Telecom SudParis, CNRS Lab UMR5157

9 rue Charles Fourier, 91011 Evry, France


+33 (0) 6 10 91 00 63
http://www.about.me/imrankhan1984



On Tue, Aug 16, 2011 at 7:08 PM, akwhale akwhale2...@gmail.com wrote:



 am trying to do installation of ns2 and got this error.. does anybody know
 the solution..Please reply if you do.. Thanks

 Tcl.cc: In member function ‘int TclObject::traceVar(const char*,
 TclObject*)’:
 Tcl.cc:421: warning: deprecated conversion from string constant to ‘char*’
 Tcl.cc: In static member function ‘static int
 TclClass::create_shadow(void*,
 Tcl_Interp*, int, char**)’:
 Tcl.cc:509: warning: deprecated conversion from string constant to ‘char*’
 Tcl.cc:511: warning: deprecated conversion from string constant to ‘char*’
 Tcl.cc: In static member function ‘static int
 TclClass::dispatch_instvar(void*, Tcl_Interp*, int, char**)’:
 Tcl.cc:571: warning: deprecated conversion from string constant to ‘char*’
 Tcl.cc: In member function ‘virtual void TclClass::bind()’:
 Tcl.cc:603: warning: deprecated conversion from string constant to ‘char*’
 Tcl.cc:605: warning: deprecated conversion from string constant to ‘char*’
 make: *** [Tcl.o] Error 1
 tclcl-1.0b11 make failed! Exiting ...
 See http://www.isi.edu/nsnam/ns/ns-problems.html for problems


 Thanks

 --
 View this message in context:
 http://old.nabble.com/Please-Help-tp32273528p32273528.html
 Sent from the ns-users mailing list archive at Nabble.com.





Re: [ns] Agent creation problem

2011-08-16 Thread Fahimeh Akbari



Dear loukman

with thanks from Nicholas, I suggest you that modify makefile.in instead of 
makefile, according to Nicholas help. I attached you a .pdf file that is so 
usefull in creating a new agent and adding it to in NS. please read the needed 
changes  part of it that explains how to add your new agent to ns.
be lucky.

your sincerely: Fahimeh



From: nicholas mbonimpa nmboni...@gmail.com
To: Fahimeh Akbari fahimeh...@yahoo.com
Cc: Loukman NAJDI loukman.na...@utt.fr; ns-users@ISI.EDU ns-users@isi.edu
Sent: Tuesday, August 16, 2011 3:51 PM
Subject: Re: [ns] Agent creation problem


Hi there,

As Fahimeh said, you've most probably not gone through all the necessary steps 
of adding a new agent.

Most importantly, you need to modify the Makefile in the ns-2.34 (or your 
version of ns-2) directory and include tcp-Fack.o, then run make again to 
create an executable for your agent.

I hope that will help.

Kind regards,

Nicholas Mbonimpa




On Tue, Aug 16, 2011 at 11:20 AM, Fahimeh Akbari fahimeh...@yahoo.com wrote:


Hi
please explain your steps for defining your new agent and adding it to NS.

Thanks




From: Loukman NAJDI loukman.na...@utt.fr
To: ns-users@ISI.EDU
Sent: Tuesday, August 16, 2011 6:57 AM
Subject: [ns] Agent creation problem



Hello

When i have created a new agent in ns2-2.34, the make depend and make 
options are passed succesfully, after that when itry to run my TCL 
code an error occur :

ns:
[code omitted because of length]
: invalid command name Agent/TCP/Fack
    while executing
Agent/TCP/Fack set ss-div4_ false

any idea ?


Re: [ns] Scheduler error - NULL handler

2011-08-16 Thread Fahimeh Akbari



Hi 

I had this problem in my simulations. I have been send a data packet to a NULL 
target (my sender node was not attached to my destination node). see 
scheduler.cc file in your ns directory. this error is created from there. 
search this error text, and see what null pointer did you used in your 
simmulation.

be lucky: Fahimeh



From: Aslinda Hassan aslinda.has...@mun.ca
To: ns-users@ISI.EDU
Sent: Tuesday, August 16, 2011 5:33 PM
Subject: [ns] Scheduler error - NULL handler.h 


Hi everyone.



Currently, I'm implementing a new routing protocol for ad hoc network, and
I have managed to compile it without any errors.  Unfortunately, when I
tried to test my protocol, I received the following error:



Scheduler: attempt to schedule an event with a NULL handler.  Don't do that
.



I was wondering if anyone have any experience solving this problem or at
least give some advice on where to look at. I have goodgled this problem on
the Internet, and so far I found a number of people having the same problem
but without any solution.   Any help regarding this matter is highly
appreciated.  



Aslinda Hassan

Computer Engineering Research Lab

Faculty of Engineering and Applied Science

Memorial University of Newfoundland




This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2011.php


Re: [ns] sensor net in ns2

2011-08-16 Thread Fahimeh Akbari

Dear Anas

Hi
you must define a wireless node and set it's energy. see ns tutorial. it's in 
your ns directory, in the tutorial sub-directory. any wireless example tcl code 
can help you. for adding energy consumption to it see the tutorial. 


be lucky: Fahimeh



From: Anas anasa...@hotmail.com
To: ns-users@ISI.EDU
Sent: Tuesday, August 16, 2011 7:35 PM
Subject: [ns] sensor net in ns2


Dear NS2 users 
I am a master student who has been struggling to simulate wireless
sensor network in NS2 but still have no success 
i tried ns2.34 and 2.29 
the main problem is about the phenom routing agent 
plzz if any body have any idea about how to simulate wsn in ns2 can u
help  


[ns] help with instalation

2011-08-16 Thread James

Hello,

I use ubuntu 10.4 LTS and i wanted to install ns2-allinone.
I have downloaded it from the official sources and i used this guide to
install it
http://wsnsimulators.blogspot.com/2010/06/how-to-install-ns2-with-ubuntu-1004-by.html

...
the ns is working fine.but whenever i try to use nam the only result
is command not found.

i have found related posts from this mail-list on the web but  none of
them helped

thank you in advance




[ns] help with installation

2011-08-16 Thread James

Hello,

I use ubuntu 10.4 LTS and i wanted to install ns2-allinone.
I have downloaded it from the official sources and i used this guide to
install it
http://wsnsimulators.blogspot.com/2010/06/how-to-install-ns2-with-ubuntu-1004-by.html

...
the ns is working fine.but whenever i try to use nam the only result
is command not found.

i have found related posts from this mail-list on the web but  none of
them helped

thank you in advance




[ns] Wireless mesh network simulation in ns2 2.34

2011-08-16 Thread umair ahmed

I want to know whether ns 2.34 support multiple interface and multiple radio 
for simulating wireless mesh network or there is some patch to be applied?And I 
wanna know how can I simulate routing in wireless mesh network in ns2 .?I've 
simulated manet routing ,is there is any sample script for wireless mesh 
network in ns2 example directory ,I went to the following 
link http://mohittahiliani.blogspot.com/2011/07/modified-aomdv-with-multiple-interface.htmlbut
 this is for version ns2.33 ,and there are some dsdv scrip as well ,but I'm 
using version 2.34.Please reply ,have asked many times previously .


Re: [ns] Agent creation problem

2011-08-16 Thread nicholas mbonimpa

Dear Fahimeh,

Thanks a lot for the correction.

Kind regards,

Nicholas Mbonimpa


On Tue, Aug 16, 2011 at 6:20 PM, Fahimeh Akbari fahimeh...@yahoo.comwrote:


 Dear loukman

 with thanks from Nicholas, I suggest you that modify makefile.in instead
 of makefile, according to Nicholas help. I attached you a .pdf file that is
 so usefull in creating a new agent and adding it to in NS. please read the
 needed changes  part of it that explains how to add your new agent to ns.
 be lucky.

 your sincerely: Fahimeh
 --
 *From:* nicholas mbonimpa nmboni...@gmail.com
 *To:* Fahimeh Akbari fahimeh...@yahoo.com
 *Cc:* Loukman NAJDI loukman.na...@utt.fr; ns-users@ISI.EDU 
 ns-users@isi.edu
 *Sent:* Tuesday, August 16, 2011 3:51 PM
 *Subject:* Re: [ns] Agent creation problem

 Hi there,

 As Fahimeh said, you've most probably not gone through all the necessary
 steps of adding a new agent.

 Most importantly, you need to modify the Makefile in the ns-2.34 (or your
 version of ns-2) directory and include tcp-Fack.o, then run make again to
 create an executable for your agent.

 I hope that will help.

 Kind regards,

 Nicholas Mbonimpa



 On Tue, Aug 16, 2011 at 11:20 AM, Fahimeh Akbari fahimeh...@yahoo.comwrote:


 Hi
 please explain your steps for defining your new agent and adding it to NS.

 Thanks



 
 From: Loukman NAJDI loukman.na...@utt.fr
 To: ns-users@ISI.EDU
 Sent: Tuesday, August 16, 2011 6:57 AM
 Subject: [ns] Agent creation problem


 Hello

 When i have created a new agent in ns2-2.34, the make depend and make
 options are passed succesfully, after that when itry to run my TCL
 code an error occur :

 ns:
 [code omitted because of length]
 : invalid command name Agent/TCP/Fack
 while executing
 Agent/TCP/Fack set ss-div4_ false

 any idea ?







Re: [ns] Agent creation problem

2011-08-16 Thread Loukman NAJDI

Thx Fahimeh and Nicholas

I have modified the Makefile.in, i have added tcp/tcp-fack.o, but i  
have another problem :

tcp/tcp-fack.o: In function `ScoreBoard::ScoreBoard(ScoreBoardNode*, int)':
tcp-fack.cc:(.text._ZN10ScoreBoardC1EP14ScoreBoardNodei[ScoreBoard::ScoreBoard(ScoreBoardNode*,
 int)]+0x8): undefined reference to `vtable for  
ScoreBoard'
collect2: ld returned 1 exit status
make: *** [ns] Erreur 1

And thx for the tutorial Fahimeh i will read it 2morrow.

Regards

Quoting nicholas mbonimpa nmboni...@gmail.com:

 Dear Fahimeh,

 Thanks a lot for the correction.

 Kind regards,

 Nicholas Mbonimpa


 On Tue, Aug 16, 2011 at 6:20 PM, Fahimeh Akbari fahimeh...@yahoo.comwrote:


 Dear loukman

 with thanks from Nicholas, I suggest you that modify makefile.in instead
 of makefile, according to Nicholas help. I attached you a .pdf file that is
 so usefull in creating a new agent and adding it to in NS. please read the
 needed changes  part of it that explains how to add your new agent to ns.
 be lucky.

 your sincerely: Fahimeh
 --
 *From:* nicholas mbonimpa nmboni...@gmail.com
 *To:* Fahimeh Akbari fahimeh...@yahoo.com
 *Cc:* Loukman NAJDI loukman.na...@utt.fr; ns-users@ISI.EDU 
 ns-users@isi.edu
 *Sent:* Tuesday, August 16, 2011 3:51 PM
 *Subject:* Re: [ns] Agent creation problem

 Hi there,

 As Fahimeh said, you've most probably not gone through all the necessary
 steps of adding a new agent.

 Most importantly, you need to modify the Makefile in the ns-2.34 (or your
 version of ns-2) directory and include tcp-Fack.o, then run make again to
 create an executable for your agent.

 I hope that will help.

 Kind regards,

 Nicholas Mbonimpa



 On Tue, Aug 16, 2011 at 11:20 AM, Fahimeh Akbari   
 fahimeh...@yahoo.comwrote:


 Hi
 please explain your steps for defining your new agent and adding it to NS.

 Thanks



 
 From: Loukman NAJDI loukman.na...@utt.fr
 To: ns-users@ISI.EDU
 Sent: Tuesday, August 16, 2011 6:57 AM
 Subject: [ns] Agent creation problem


 Hello

 When i have created a new agent in ns2-2.34, the make depend and make
 options are passed succesfully, after that when itry to run my TCL
 code an error occur :

 ns:
 [code omitted because of length]
 : invalid command name Agent/TCP/Fack
 while executing
 Agent/TCP/Fack set ss-div4_ false

 any idea ?












Re: [ns] help with installation

2011-08-16 Thread Amna Abdul Wahid

One more thing, the step 2.0 is not needed. SUPER USER one... So please
ignore that step. The final steps are


1. install ubuntu in windows from

2. download the ns all in one file
http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.34/
2.1.  cd to the unzipped ns-allinone folder

3. untar (extract here) the ns-allinone-version in your home folder

4. open a terminal and enter the command *sudo apt-get install
build-essential autoconf automake libxmu-dev*

5. ./install

6. sudo apt-get install nam

7. sudo apt-get install xgraph


By the way, I think ./Validate is supposed to verify nam installation as
well (the step mentioned in the installation guide you followed), so I
wonder what was the outcome of validate installation step for you.


HTH

On 17 August 2011 00:09, Amna Abdul Wahid a...@chescomm.net wrote:

 Hi James
 Here are the steps we followed:


 1. install ubuntu in windows from

 2. download the ns all in one file
 http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.34/

 2.0 login as super user, enter the command *su* and give password

 2.1.  cd to the unzipped ns-allinone folder

 3. untar (extract here) the ns-allinone-version in your home folder

 4. open a terminal and enter the command *sudo apt-get install
 build-essential autoconf automake libxmu-dev*

 5. ./install

 6. sudo apt-get install nam

 7. sudo apt-get install xgraph


 Note that ns simulations will be fine with this installation on ubuntu. But
 we couldn't change the ns-2 source code on ubuntu, because we faced the make
 file problem. So to change the ns-2 source (c code) we hd to switch to
 fedora





 On 16 August 2011 19:41, James mitsa...@gmail.com wrote:


 Hello,

 I use ubuntu 10.4 LTS and i wanted to install ns2-allinone.
 I have downloaded it from the official sources and i used this guide to
 install it

 http://wsnsimulators.blogspot.com/2010/06/how-to-install-ns2-with-ubuntu-1004-by.html

 ...
 the ns is working fine.but whenever i try to use nam the only result
 is command not found.

 i have found related posts from this mail-list on the web but  none of
 them helped

 thank you in advance





 --

 Regards,
 Amna Abdul Wahid




-- 

Regards,
Amna Abdul Wahid


[ns] Please Help

2011-08-16 Thread akwhale


i got this error message when installing ns2. please who knows the solutions. 



* Build Tclcl-1.0b11

loading cache ./config.cache
No .configure file found in current directory
Continuing with default options...
checking host system type... configure: error: can not guess host type; you
must specify one
tclcl-1.0b11 configuration failed! Exiting ...
Please check http://www.isi.edu/nsnam/ns/ns-problems.html
for common problems and bug fixes.



Please reply if u know the solution. i would be very grateful.

Thanks

-- 
View this message in context: 
http://old.nabble.com/Please-Help-tp32275975p32275975.html
Sent from the ns-users mailing list archive at Nabble.com.