[ns] Installation Problem - Please Help

2006-02-03 Thread raja priya

Dear all,
  I have installed Red Hat Enterprise Linux As in my system.
  I downloaded the ns-allinone-2.28.tat.gz.
  While installing the all in one, the system said a lot of  errors in Xgraph 
but continued since it is an optional component.
  Tcl8.4.5 was installed successfully.
  While installing Tk8.4.5 I got the following message and  error: 
  tcl8.4.5 installation succeeded.
  
  * Build Tk8.4.5
  
  make: *** No rule to make target  
`/ns-allinone-2.28/tk8.4.5/unix/Makefile.in', needed by `Makefile'.  Stop.
  loading cache ./config.cache
  checking for Tcl configuration... (cached)  found 
/ns-allinone-2.28/tcl8.4.5/unix/tclConfig.sh
  checking for existence of /ns-allinone-2.28/tcl8.4.5/unix/tclConfig.sh... 
 file not found
  configure: error:  /ns-allinone-2.28/tcl8.4.5/unix/tclConfig.sh is for 
Tcl .
  Tk 8.4.5 needs Tcl 8.4.
  Use --with-tcl= option to indicate location  of tclConfig.sh file for Tcl 
8.4.
  tk8.3.2 configuration failed! Exiting ...
  Tk is not part of the ns project.  Please see www.Scriptics.com
  to see if they have a fix for your platform.
  
  
---
  As I am new to Linux I really dont understand what the error  is and dont 
know what to do
  Anybody please help me in fixing this problem
   
  Thanks in Advance
  S.Rajapriya
   
   


-
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!


Re: [ns] Please help : Probelm in AODV protocol

2006-02-03 Thread Hailun Tan


Check ns/tcl/lib/ns-lib.tcl... you will find out where this error message
comes from and how to fix it!!
>
> Hi everybody
>I am doing modifications to AODV protocol.  I have added new packet
> types along with AODV_HELLO, AODV_RREQ etc...  when I am sending a packet,
> I
> am receiving an error as below:
>
> format_eaodv: invalid AODV packet type
>
> I haven't used this phrase in any of the files i have created... and not
> understanding from where I am getting this error message  please
> help...
> When we schedule a packet, what happens internally ?  which and all the
> functions are called ? from where i am receiving this error message and
> how
> can i solve this problem
>
> please help
>
> Thanks in advance
>
> Regards
> Anupama
>




--
This email and any attachments may be confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.



Re: [ns] OLSR patch for current ns 2.29?

2006-02-03 Thread Francisco J. Ros

Hi,

Those parameters are part of the auxiliary functioning of OLSR, but our 
implementation only supports the core functioning (plus link layer feedback). 
Therefore, you'd need to change the code to add this functionality.

Regards,
fran

On Thursday 02 February 2006 17:53, Eduard GV wrote:
> Thanks for the link!
>
> I read in the documentation that certain parameters can be easily set
> directly from TCL scripts (e.g. Hello and TC Intervals). I would like
> to modify TCRedundancy and MPRCoverage and I'm afraid they are "hard
> coded".
>
> Could you please tell me if I will have to modify source code and
> recompile everytime I want to change those values?
>
> I'm not a NS expert, so if you could answer my question...  :)
>
>
> Thanks in advance.
>
> 2006/1/31, Francisco J. Ros <[EMAIL PROTECTED]>:
> > Hi,
> >
> > You can try this one: http://masimum.dif.um.es/?Software:UM-OLSR
> >
> > Regards,
> > fran
> >
> > On Tuesday 31 January 2006 15:52, Eduard GV wrote:
> > > Hi,
> > >
> > > I need to run some simulations of OLSR ad-hoc routing protocol.
> > > AFAIK, ns 2.29 currently supports DSDV, DSR TORA and AODV routing
> > > agents in mobile networking and not OLSR. I also know that there are
> > > implementations that can be compiled under older versions of ns-2
> > > (e.g. http://hipercom.inria.fr/olsr/olsrpatch.diff.gz for ns version
> > > 2.1b7a). So...
> > >
> > > Could anybody please tell me how to run OLSR simulations for current ns
> > > version?
> > >
> > >
> > > Thanks.



[ns] ns 2.27 validation error

2006-02-03 Thread Pubali Banerjee

I am new to ns. I have to run ns 2.27 because I have inherited some old code  
that will work on this version only.  
 
I am using FreeBSD and gcc 3.4.4. (I have installed the gcc patch).  
  
I have managed to build ns but when I do a ./validate-full, some of the tests  
fail. The error message follows.   
  
  
Is this a know bug in  version 2.27?  
  
Has anybody seen this error about the SplitObject unknown before?  
  
Please give me  hand if you can.  
  
Thanks much,  
  
-Pubali.  
  
  
  
  
  
  
  
The following is the error message:  
> ./test-all-full QUIET  
Tests: full close twoway twoway1 twowayrandom delack iw=4 droppedsyn  
droppedfirstseg droppedsecondseg simul-open simul-close droppednearfin  
droppedlastseg droppedretransmit droppednearretransmit droppedfastrexmit ecn1  
ecn2 droppedfin smallpkts telnet telnet2 SSR SSR2 tsopt winlimited  
Running test full:  
./../ns test-suite-full.tcl full QUIET  
Test output agrees with reference output  
Running test close:  
./../ns test-suite-full.tcl close QUIET  
Test output agrees with reference output  
Running test twoway:  
./../ns test-suite-full.tcl twoway QUIET  
ns: _o91 recv 536:  
(_o91 cmd line 1)  
invoked from within  
"_o91 cmd recv 536"  
invoked from within  
"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 "_o91" line 2)  
(SplitObject unknown line 2)  
invoked from within  
"_o91 recv 536"  
Running test twoway1:  
./../ns test-suite-full.tcl twoway1 QUIET  
ns: _o91 recv 536:  
(_o91 cmd line 1)  
invoked from within  
"_o91 cmd recv 536"  
invoked from within  
"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 "_o91" line 2)  
(SplitObject unknown line 2)  
invoked from within  
"_o91 recv 536"  
Running test twowayrandom:  
./../ns test-suite-full.tcl twowayrandom QUIET  
second TCP starting at time 1  
ns: _o91 recv 536:  
(_o91 cmd line 1)  
invoked from within  
"_o91 cmd recv 536"  
invoked from within  
"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 "_o91" line 2)  
(SplitObject unknown line 2)  
invoked from within  
"_o91 recv 536"  
Running test delack:  
./../ns test-suite-full.tcl delack QUIET  
Test output agrees with reference output  
Running test iw=4:  
./../ns test-suite-full.tcl iw=4 QUIET  
Test output agrees with reference output  
Running test droppedsyn:  
./../ns test-suite-full.tcl droppedsyn QUIET  
Test output agrees with reference output  
Running test droppedfirstseg:  
./../ns test-suite-full.tcl droppedfirstseg QUIET  
Test output agrees with reference output  
Running test droppedsecondseg:  
./../ns test-suite-full.tcl droppedsecondseg QUIET  
Test output agrees with reference output  
Running test simul-open:  
./../ns test-suite-full.tcl simul-open QUIET  
ns: _o96 recv 536:  
(_o96 cmd line 1)  
invoked from within  
"_o96 cmd recv 536"  
invoked from within  
"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 "_o96" line 2)  
(SplitObject unknown line 2)  
invoked from within  
"_o96 recv 536"  
Running test simul-close:  
./../ns test-suite-full.tcl simul-close QUIET  
0.805440: FullTcp(_o87): recv'd pkt in CLOSED state:  [0:0.0>3.0] (hlen:40,  
dlen:0, seq:0, ack:-1, flags:0xa (), salen:0, reason:0x0)  
ns: _o90 recv 536:  
(_o90 cmd line 1)  
invoked from within  
"_o90 cmd recv 536"  
invoked from within  
"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 "_o90" line 2)  
(SplitObject unknown line 2)  
invoked from within  
"_o90 recv 536"  
Running test droppednearfin:  
./../ns test-suite-full.tcl droppednearfin QUIET  
Test output agrees with reference output  
Running test droppedlastseg:  
./../ns test-suite-full.tcl droppedlastseg QUIET  
Test output agrees with reference output  
Running test droppedretransmit:  
./../ns test-suite-full.tcl droppedretransmit QUIET  
Test output agrees with reference output  
Running test droppednearretransmit:  
./../ns test-suite-full.tcl droppednearretransmit QUIET  
Test output agrees with reference output  
Runn

Re: [ns] help with trace file

2006-02-03 Thread Mohammad Zubair Ahmad

This is a rather helpful link about trace formats.

http://k-lug.org/~griswold/NS2/ns2-trace-formats.html  

Zubair


On Fri, 03 Feb 2006 Sita S.Krishnakumar wrote :
>
>Hello,
>I am trying to collect some data from the ns-2 trace file to tabulate
>results. I am using the new wireless trace format. I have agent, router
>and mac trace set to ON in my tcl file. I am using AODV as my routing
>protocol.
>However, I do not see any MAC address information or packet ID or unique
>ID that I can use to calculate throughput, delay etc. Sample trace is as
>follows:
>
>s -t 46.0 -Hs 50 -Hd -2 -Ni 50 -Nx 0.00 -Ny 50.00 -Nz 0.00 -Ne
>198.231428 -Nl AGT -Nw ---  [0.00 0 0] -Is 50.0 -Id 51.0 -It tcp -Il 40
>-If 2 -Ii 1 -Iv 32 -Pn tcp -Ps 0 -Pa 0 -Pf 0 -Po 0
>r -t 46.0 -Hs 50 -Hd -2 -Ni 50 -Nx 0.00 -Ny 50.00 -Nz 0.00 -Ne
>198.231428 -Nl RTR -Nw ---  [0.00 0 0] -Is 50.0 -Id 51.0 -It tcp -Il 40
>-If 2 -Ii 1 -Iv 32 -Pn tcp -Ps 0 -Pa 0 -Pf 0 -Po 0
>s -t 46.0 -Hs 50 -Hd -2 -Ni 50 -Nx 0.00 -Ny 50.00 -Nz 0.00 -Ne
>198.231428 -Nl RTR -Nw ---  [0.00 0 0] -Is 50.255 -Id -1.255 -It AODV -Il
>48 -If 0 -Ii 0 -Iv 30 -P aodv -Pt 0x2 -Ph 1 -Pb 3 -Pd 51 -Pds 0 -Ps 50
>-Pss 8 -Pc REQUEST
>s -t 46.04532 -Hs 7 -Hd -2 -Ni 7 -Nx 1.00 -Ny 100.00 -Nz 0.00 -Ne
>198.137611 -Nl MAC -Nw ---  [0.12 7 50]
>
>Any help appreciated.
>Thanks,
>Sita
>


Mohammad Zubair Ahmad
PhD Student, Computer Engineering
University of Central Florida,
Orlando, FL 32826


[ns] adding a MAC protocol for satellite comm.

2006-02-03 Thread maryam beigi

I  want to add a new MAC protocol for satellite comm. there are two ways : 
1-deriving a new mac from class mac , and, 2- using agents.
  First of all i need to know if I can develop this new protocol with agents, 
using satellite node-config?! Because if I implement MAC layer with agents, I 
don t know what to do with "-mactype" in node-config. well I should ask does it 
even work?
  or I should  use "mac" class to develop a new protocol and simulate a 
satellite configuration at the application level with my new mac?
   
  second the new mac is very similar to 802.16.
  Is there a 802.16 MAC layer development for ns2 or simply a 802.16 C code, I 
can find?
  If anybody has worked on such a field or is familier, please help.
  thanks
   



Maryam Beigi


-
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!


[ns] 802.16 in ns2

2006-02-03 Thread swapna

hi all,
   
  I am looking for a simulation model for IEEE 802.16 (WiMax) in ns2. If anyone 
knows please give me some links. Thank you very much.
   
   regards
   prasanna


-
 Jiyo cricket on Yahoo! India cricket


[ns] Please help : Probelm in AODV protocol

2006-02-03 Thread A Anupama

Hi everybody
   I am doing modifications to AODV protocol.  I have added new packet
types along with AODV_HELLO, AODV_RREQ etc...  when I am sending a packet, I
am receiving an error as below:

format_eaodv: invalid AODV packet type

I haven't used this phrase in any of the files i have created... and not
understanding from where I am getting this error message  please help...
When we schedule a packet, what happens internally ?  which and all the
functions are called ? from where i am receiving this error message and how
can i solve this problem

please help

Thanks in advance

Regards
Anupama


[ns] new PHY layer implementation

2006-02-03 Thread Samer Bali

Hello every body,

I am very happy to find that ZigBee MAC (with a narrowband physical layer) is 
implemented in ns-2.28. But there is no code that deals with an UWB physical 
layer. In my research I want to use IEEE 802.15.4a channel model based on Ultra 
Wide Band (UWB). This is where things become messy; the interference model in 
ns-2 of ZigBee is not adapted for a wideband channel. It is written for a 
narrowband channel with the assumption that only one nodes transmit at the same 
time. This what I want to change. Basically, I want to craete a code that does 
the following: (1) take into account the fact that you can have several 
transmission at the same time and (2) offer several rates.
Now taking into account the fact that several packet can be on the channel at 
the same time, when a packet is received at a destination, the BER is 
calculated (to be precise, packet error rate is calculated given PPM modulation 
and a channel code and the BER function table) and then a coin is tossed in 
order to accept or reject the packet.
ZigBee PHY layer is defined in (p802_15_4phy.{h, cc}) while the MAC layer is 
defined in (p802_15_4mac.{h, cc}). I found that I should make changes to the 
(p802_15_4phy.{h, cc}) files to calculate the BER, check if the packet is 
properly received and if yes, give it to the MAC layer.

MY QUESTIONS ARE:

Do you agree with what is said above? If Yes, Which functions should I modify 
to do so? Or do you have some code that is available to the public?

I appreciate your help in advance. 

Best Regards,
Samer Bali
**   
M.Sc.-EE. Samer Bali

Institut für Kommunikationstechnik
(ehemals: Institut für Allgemeine Nachrichtentechnik)
Universität Hannover
Appelstrasse 9A
D-30167 Hannover

Tel: +49-511-762-2841
Fax: +49-511-762-3030
Email: [EMAIL PROTECTED]


[ns] R: help with trace file

2006-02-03 Thread Marco Fiore

Sita,

have a look to the ns-manual, and you'll find all infos on 
tracefiles format.

Regards,

Marco Fiore

>Messaggio originale
>Da: [EMAIL PROTECTED]
>Data: 3-feb-2006 4.45 AM
>A: "ns list"
>Ogg: [ns] help with trace file
>
>
>Hello,
>I am trying 
to collect some data from the ns-2 trace file to tabulate
>results. I 
am using the new wireless trace format. I have agent, router
>and mac 
trace set to ON in my tcl file. I am using AODV as my routing
>protocol.
>However, I do not see any MAC address information or packet 
ID or unique
>ID that I can use to calculate throughput, delay etc. 
Sample trace is as
>follows:
>
>s -t 46.0 -Hs 50 -Hd -2 -Ni 50 -
Nx 0.00 -Ny 50.00 -Nz 0.00 -Ne
>198.231428 -Nl AGT -Nw ---  [0.00 0 0] -
Is 50.0 -Id 51.0 -It tcp -Il 40
>-If 2 -Ii 1 -Iv 32 -Pn tcp -Ps 0 -Pa 0 
-Pf 0 -Po 0
>r -t 46.0 -Hs 50 -Hd -2 -Ni 50 -Nx 0.00 -Ny 50.00 -
Nz 0.00 -Ne
>198.231428 -Nl RTR -Nw ---  [0.00 0 0] -Is 50.0 -Id 51.0 -
It tcp -Il 40
>-If 2 -Ii 1 -Iv 32 -Pn tcp -Ps 0 -Pa 0 -Pf 0 -Po 0
>s -t 
46.0 -Hs 50 -Hd -2 -Ni 50 -Nx 0.00 -Ny 50.00 -Nz 0.00 -Ne
>198.
231428 -Nl RTR -Nw ---  [0.00 0 0] -Is 50.255 -Id -1.255 -It AODV -Il
>48 -If 0 -Ii 0 -Iv 30 -P aodv -Pt 0x2 -Ph 1 -Pb 3 -Pd 51 -Pds 0 -Ps 50
>-Pss 8 -Pc REQUEST
>s -t 46.04532 -Hs 7 -Hd -2 -Ni 7 -Nx 1.00 -Ny 
100.00 -Nz 0.00 -Ne
>198.137611 -Nl MAC -Nw ---  [0.12 7 50]
>
>Any 
help appreciated.
>Thanks,
>Sita
>
>