[ns] insert numbers in nodes

2009-08-07 Thread S.M. Fahim Al-Faruqui

Dear ns users,

I want to insert some numbers to the fixed wirelss nodes.

Those numbers can be generated by the random function from ns. Those numbers
can be stored in an array I guess. Later I want to search those numbers by
hashing function.

How can I create these scenario ??
What code do I need to write for this in tcl script ??

I am using AODV for my experiment in ns 2.33.
If that hashing function need to be done in AODV files, then please help me
how can I do that in AODV? WHich file(s) do I need to modify/add for coding?
Any suggession for these coding (for hashing implementation) ??

Please someone help me on the problem.

Thanks in advance.


Re: [ns] NS2 Optical links

2009-08-07 Thread Carlos Magno Baptista Lopes


NS users: 
I´m a new NS user and I install the NS2 current release (2.34) on Ubuntu 
9.04 and works well. Now I start my study to implement all-optical network in 
NS2 (links, nodes, etc). 
I verify that the last update of OWns was 2001 and this version has been 
implemented in ns-allinone-2.1b6, and has been tested on RedHat Linux 6.x 7.x. 
I have some questions: 
1) The OWns works in 2.34 version? 
2) The last OWns verson is 0.9. Is there a new OWns version ? 
3) Is there another optical module for NS2 ?  
  
Thanks a lot for any help 
  
cmagno 


  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com


[ns] rxTotPower in wpan802.15.4

2009-08-07 Thread Ravit Sachasiri

Hi,

Can someone tell me how the rxTotPower is calculated for 802.15.4 mac also,
why sometimes it is lesser than the receive power of the specific packet?

Thanks.

Ravit


Re: [ns] installation problem

2009-08-07 Thread BilalAKhan


Dear Paramveer Sran,

I am uploading the installation manual for your help. If u need any more
help, please mail me at bila...@hotmail.co.uk

Regards,

Bilal A. Khan
http://www.nabble.com/file/p24861386/NS-2%2BInstallation%2BGuide.pdf
NS-2+Installation+Guide.pdf 

paramveer sran wrote:
> 
> 
> i have downloaded ns-allinone-2.34.tar.gz. i m using windows.there r a
> no. of folders, but i don't know how can i install this, which folders
> i should click to install. i want to use ns 2 for simulating the MANET
> routing protocols
> help me
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/installation-problem-tp24841737p24861386.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] ns-2.28 Installation Error:extra qualification 'SctpAgent::' on member 'DumpSendBuffer'

2009-08-07 Thread Bringo Shawn

Hello.
I am installing ns-2.28 on fedora 9. I faced the error:
./sctp/sctp.h:630: error: extraqualification 'SctpAgent::' on member 
'DumpSendBuffer'
make: *** [trace/trace.o] Error 1
I found a solution posted at  
http://mailman.isi.edu/pipermail/ns-users/2006-September/057325.html. The 
solution was to remove the extra qualifier i.e 'SctpAgent::', but then make 
gave some other error in the file god.h, so I removed it's extra qualifier too 
that was probably vertor:: and again executed the make command and now there 
are the following errors:
...
./common/packet.h:256: warning: deprecated conversion from string constant to 
‘char*’
./common/packet.h:258: warning: deprecated conversion from string constant to 
‘char*’
queue/cbq.cc: At global scope:
queue/cbq.cc:112: error: ISO C++ forbids declaration of ‘CBQueue’ with no type
queue/cbq.cc:112: error: expected ‘;’ before ‘*’ token
queue/cbq.cc: In member function ‘virtual int CBQueue::insert_class(CBQClass*)’:
queue/cbq.cc:488: error: ‘class CBQClass’ has no member named ‘cbq_’
queue/cbq.cc: In constructor ‘CBQClass::CBQClass()’:
queue/cbq.cc:805: error: class ‘CBQClass’ does not have any field named ‘cbq_’
queue/cbq.cc: In member function ‘virtual void CBQClass::recv(Packet*, 
Handler*)’:
queue/cbq.cc:850: error: ‘cbq_’ was not declared in this scope
queue/cbq.cc:856: error: ‘cbq_’ was not declared in this scope
queue/cbq.cc: In member function ‘void CBQClass::update(Packet*, double)’:
queue/cbq.cc:873: error: ‘cbq_’ was not declared in this scope
queue/cbq.cc: In member function ‘int CBQClass::desc_with_demand()’:
queue/cbq.cc:928: error: ‘cbq_’ was not declared in this scope
queue/cbq.cc: In member function ‘void CBQClass::newallot(double)’:
queue/cbq.cc:975: error: ‘cbq_’ was not declared in this scope
queue/cbq.cc: In member function ‘virtual int CBQClass::command(int, const 
char* const*)’:
queue/cbq.cc:1002: error: ‘cbq_’ was not declared in this scope
make: *** [queue/cbq.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
[r...@localhost ns-allinone-2.28]# 

Please help me. Thanks in advance.