[ns] MIH on NS help

2011-04-07 Thread RamiHach


Dear All,
I would like to get help on how I can intercept the messages sent form L2
layer to MIHF and how I can intercept the messages sent from the MIHF to MIH
Users like link_detect, link_going_down, link_up, etc.. also how I can send
the command message from the MIH User to register events and gather
information


I think this is a TCL code  I dont know how to do it in programming 
please if you can help
-- 
View this message in context: 
http://old.nabble.com/MIH-on-NS-help-tp31339875p31339875.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] compiling .cc file

2011-04-07 Thread Sudhanshu Pant

HI
i am a newbie in ns2 and i need a simple example of how to use .cc and .tcl
file simultaneously
like i need a simple .cc file which contain a simple class n its method
should be self defined (eg. to print the nodes coordinates or just hello
world)
and these methods should be called from tcl file
also i need to know how to compile the created .cc file (actually i need the
full procedure).
i m using ns2.34

-- 
Thanks and Regards
Sudhanshu Pant
M. Tech. NITH
Hamirpur, H.P.


[ns] cmu wireless extension

2011-04-07 Thread salahedin rehan

Hi,

I am trying to install cmu extension 1.1.2 but I dont know the steps to do so,  
I read from cmu extension pdf that I have to do the following:

1. cp ../ns-2/configure configure-2
2. sh configure-2
3. make depend; make

However, I am getting this: 5. cp: can not stat  ns-2/configure: No such file 
or directory, and I am sure that the directory is right and there is a file 
named configure. I need this extension, so please do reply.

Thanks a lot,


[ns] [NS-ANS] Re: Add the GPSR protocol in NS : Can't declare AGENT/GPSR

2011-04-07 Thread Teerawat@UBC

Hi,

If you would like to add a new module into NS2, please read

http://www.ns2ultimate.com/post/454001969/including-new-modules-into-ns-2


If you would like to add a new  C++ class,  please read the series of blog 
posts indicated below:

http://www.ns2ultimate.com/post/648508440/c-and-otcl-linkage-why-two-languages

Best Wishes,

Teerawat Issariyakul
http://www.ns2ultimate.com/
http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417
http://twitter.com/T_Bear
http://www.t-issariyakul.blogspot.com
http://www.ece.ubc.ca/~teerawat



On Apr 7, 2011, at 3:17 PM, Zakia Khalfallah wrote:

 
 
 
 
 
 
 
 
 
 
 Hi Friends. I'm runing GPSR protocol on NS2 (linux). 
 I add in ns-agent.tcl these commands to declare GPSR agent :
 
 Agent/GPSR instproc init args {
$self next $args }   
 ...Agent/GPSR set sport_  0
 Agent/GPSR set dport_ 0
 
 when i just run the command ns, it shows me this error : 
 [code
 omitted beacuse of length]: invalid command name Agent/GPSR while 
 executingAgent/GPSR instproc init args {$self next $args}.
 Brievly, ns can't understand the Agent/GPSR. How and in wich file can i 
 declare this agent/
 Any one can help me ? I'm blocked :(
 Thank you .Cordially
 
 
 




Re: [ns] NIST-MIH found problem?!!!

2011-04-07 Thread Fahimeh Akbari







From: Fahimeh Akbari fahimeh...@yahoo.com
To: ns isi.edu ns-users@isi.edu
Sent: Thu, April 7, 2011 4:51:33 PM
Subject: NIST-MIH found problem?!!!


hello every-body
I need to simulate a network mobility scenario with NIST-MIH but i can't find 
it's package. how can i find and download it?
please help me!!
fahimeh akbari