[ns] How to modify NS to get an Estimation of the node available bandwith

2009-04-13 Thread oudidi kamal


 
 
Hi 
 
My question is:
 how to modify NS to get an estimation of the available 
bandwith of node  (any simple implementation)
 

I am implementing a new OLSR protocol  (based on QoS) in NS2 and want to make 
use of this in my protocol
 
  
Please do let me know on this.


  


Re: [ns] ns-2.33 on Solaris 10.

2009-04-13 Thread Atiqur Rahman

Well, the problem is solved (solution link: 
http://groups.google.com/group/sunUnix/browse_thread/thread/5645f39cfcffb201). 




From: Atiqur Rahman 
To: ns-users@isi.edu
Sent: Monday, April 13, 2009 18:26:31
Subject: ns-2.33 on Solaris 10.


I am trying to install ns-2.33 on my Solaris Box. All dependencies are install 
succesfully.
But when installing ns it gives the following error during compilation:

g++ -c -Wall  -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG 
-DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_13 -DHAVE_OTCL_H 
-DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H  -DHAVE_CONFIG_H 
-DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE 
-Drng_test  -I. -I. -I/export/ar/Resources/NS/ns-allinone-2.33/tclcl-1.19 
-I/export/ar/Resources/NS/ns-allinone-2.33/otcl-1.13 
-I/export/ar/Resources/NS/ns-allinone-2.33/include 
-I/export/ar/Resources/NS/ns-allinone-2.33/include -I/usr/include/pcap -I./tcp 
-I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile 
-I./trace -I./routing -I./tools -I./classifier -I./mcast 
-I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr 
-I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv 
-I./satellite -I./wpan -o mobile/mip-reg.o mobile/mip-reg.cc
mobile/mip-reg.cc: In member function `void MIPMHAgent::reg()':
mobile/mip-reg.cc:429: error: `MIN' undeclared (first use this function)
mobile/mip-reg.cc:429: error: (Each undeclared identifier is reported only once 
for each function it appears in.)
make: *** [mobile/mip-reg.o] Error 1
Ns make failed!


MD5 checksum of the downloaded file, ns-allinone-2.33.tar.gz
  59e886fdc7d9ca0a2d5c1b312a4fc2f0

System information:
 
Solaris 10 update 6, Intel (x86)


# gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure 
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as 
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ 
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)


Please help me resolving this issue or refer another version which can be 
successfully compiled on Solaris x86. Tell me if anymore info is required.

 

 Atiqur Rahman
(Student)
Computer Science and Engineering,
University of Dhaka,
Dhaka-1000.

Site(beta): http://atique.0fees.net
 


 New Email names for you!  
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!


  New Email addresses available on Yahoo!
Get the Email name you've always wanted on the new @ymail and @rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/


[ns] Execting NSwireless.exe in fedora 8

2009-04-13 Thread qute rose

Hi!
I have downloaded NSwireless.exe to analyze wireless trace files. Can anyone 
tell me how to run it on Linux fedora 8?
Thanks 


  


Re: [ns] error while building NIST extension

2009-04-13 Thread Richard Rouil

Mariem,

The new compilers do not like to see the class name in the include files. To
fix it, just remove the "Mac802_11::" in the definition of the calFreq
function. You may have to do that in other files as well.

Richard.

-Original Message-
From: ns-users-boun...@isi.edu [mailto:ns-users-boun...@isi.edu] On Behalf
Of Mariem Thaalbi
Sent: Sunday, April 12, 2009 6:47 PM
To: ns-users@ISI.EDU
Subject: [ns] error while building NIST extension


 Hello,
I'm building the mobility extension NIST of NS 2.29.2, under ubuntu 8.10,
but i had this error while the compilation (./configure ; make clean ;
make):  In file included from mac/mac-802_11.cc:63:
mac/mac-802_11.h:620: error: extra qualification 'Mac802_11::' on member
'calFreq'
make: *** [mac/mac-802_11.o] Error 1
 Please help me




Re: [ns] how to improve maodv

2009-04-13 Thread Sidney Doria

This is a difficult problem.

The origin TCP problems in MANETs (with any routing protocol,
multicast or not) is the interpretation of facts by TCP. TCP has the
sliding windows technology which reduces the amount of data sent to
the destination each time it not receives ACKs as expected. So, in a
wireless network there are frequent collisions and packet losses by
the nature of the transmission, and TCP interprets them as congestion,
reducing the sliding windows (and the performance).

Nitin Vaidya wrote a classic paper about this problem. I suggest you
read this paper, so you must give some inspiration.

Sidney Doria
UFCG / BRAZIL


> 2009/4/13 vaishali mandhare :
>>
>> Hi all,
>> I am m-tech. student and doing my project in ad-hoc routing.I was implement=
>> ed one paper"performance comparision of tcp and cbr in maodv".I want to imp=
>> rove or extend maodv which affect the perfomance of tcp and cbr, but i cant=
>> know which technique exist and which i use.Please help me regarding this .=
>> Waiting for your valuable replay.
>>
>> vaishu
>>
>>
>>      Add more friends to your messenger and enjoy! Go to 
>> http://messenger.yahoo.com/invite/
>>
>
>
>
 --
Sidney Doria
Redes ad hoc móveis
Doutorado em Computação
UFCG
Brasil

"Nessa jornada, o conhecimento será o seu escudo..."
(Mestre dos Magos no episódio do grimoire de ouro)



[ns] Fw: Error in routing protocol

2009-04-13 Thread Pop Barbie



--- On Mon, 4/13/09, Pop Barbie  wrote:

From: Pop Barbie 
Subject: [ns] Error in routing protocol
To: ns-users@ISI.EDU
Date: Monday, April 13, 2009, 2:16 AM


I got an error while running my code

My code includes three link of same distance and I'm using routing protocol DV

when I run the code I got the following error:
ns: _o222 unknown-flow 13 10 0:
(_o222 cmd line 1)
invoked from within
"_o222 cmd unknon-flow 13 10 0"
"catch "$self cmd $args" ret"
invoked from within 
if[catch "$self cmd $args" ret] {
set cls [$self info class]
global errorinfo
set savedinfo $errorinfo
error "error when calling class $cls: $args" $.."
(procedure "_o222" line 2)
(SplitObject unknown line 2)
invoked from within 
"_o222 unknown flow 13 10 0"


but when I take out the routing protocol command the NAM window opens but there 
is no traffic flow...

Please help me in this error I'm using ns2.31



      



  


[ns] Error in routing protocol

2009-04-13 Thread Pop Barbie

I got an error while running my code

My code includes three link of same distance and I'm using routing protocol DV

when I run the code I got the following error:
ns: _o222 unknown-flow 13 10 0:
(_o222 cmd line 1)
invoked from within
"_o222 cmd unknon-flow 13 10 0"
"catch "$self cmd $args" ret"
invoked from within 
if[catch "$self cmd $args" ret] {
set cls [$self info class]
global errorinfo
set savedinfo $errorinfo
error "error when calling class $cls: $args" $.."
(procedure "_o222" line 2)
(SplitObject unknown line 2)
invoked from within 
"_o222 unknown flow 13 10 0"


but when I take out the routing protocol command the NAM window opens but there 
is no traffic flow...

Please help me in this error I'm using ns2.31



  


[ns] Fwd: transmission power control

2009-04-13 Thread Ojwang

-- Forwarded message --
From: Ojwang 
Date: Sun, Apr 12, 2009 at 7:39 PM
Subject: transmission power control
To: ns-users@isi.edu, ns-users-requ...@isi.edu


Hi all,
Anybody who has any code (modifications to ns2 source codes) for
transmission power control in a wireless network or any idea where I can get
help. I was trying to do in .tcl but getting same results.Any help will be
appreciated.
-- 
Kind Regards


Ojwang DO





-- 
Kind Regards


Ojwang DO



[ns] using mac802.11.cc

2009-04-13 Thread mm

Hi everyone

I need to make some changes in mac-802.11.cc. I have written a simulation
code with simulation time of 20 seconds. for first 10 seconds I need to use
original mac-80211.cc without any modification. then for next 10 seconds it
must uses my modified 801.11mac.cc.

can u please tell me how i should do this?

thank you very much


[ns] problem while running zrp.tcl

2009-04-13 Thread ANSHUL JAIN

i have run a zrp.tcl file and the simulation after running for 60 seconds
give the error as

Error in SEND_NEXT_HOP routine - [hdrz->routeindex_ > hdrz->numentries_-2]

i hav made some changes to zrp code but to no use if anyone has used a
zrp.tcl file with no errors plz mail it to me...