[ns] trace file format of GPSR

2007-09-11 Thread Rupesh Kumar

Hi all,
 I trying to extend the GPSR protocol, the format of the trace file
generated is different from the usual trace file of the ns. So if anyone
have idea or experience to work on GPSR, please help.

first trace file format is :
V -t * -v 1.0a5 -a 0
A -t * -n 1 -p 0 -o 0x -c 31 -a 1
A -t * -h 1 -m 2147483647 -s 0
+ -t 0.008877640 -s 82 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
- -t 0.008877640 -s 82 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
h -t 0.008877640 -s 82 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
+ -t 0.00937 -s 8 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
- -t 0.00937 -s 8 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
h -t 0.00937 -s 8 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
r -t 0.010085707 -s 72 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085707 -s 81 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085707 -s 92 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085707 -s 83 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085734 -s 91 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085734 -s 71 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085734 -s 73 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085734 -s 93 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085774 -s 62 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085774 -s 80 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085774 -s 84 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010176954 -s 7 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
r -t 0.010176954 -s 18 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
r -t 0.010176954 -s 9 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
r -t 0.010176981 -s 17 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
r -t 0.010176981 -s 19 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
r -t 0.010177020 -s 6 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
r -t 0.010177020 -s 28 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
+ -t 0.014387618 -s 81 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 2 -k RTR


Second trace file format:
M 0.0 97 (140.00, 180.00, 0.00), (0.00, 0.00), 0.00
M 0.0 98 (160.00, 180.00, 0.00), (0.00, 0.00), 0.00
M 0.0 99 (180.00, 180.00, 0.00), (0.00, 0.00), 0.00
s 0.008877640 _82_ RTR  --- 0 gpsr 29 [0 0 0 0] --- [82:255 -1:255 32 0]

s 0.00937 _8_ RTR  --- 1 gpsr 29 [0 0 0 0] --- [8:255 -1:255 32 0]
r 0.010085707 _72_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085707 _81_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085707 _92_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085707 _83_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085734 _91_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085734 _71_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085734 _73_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085734 _93_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085774 _62_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085774 _80_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]


regards
Rupesh Kumar




Rupesh Kumar
M.Tech(CSE)


[ns] installaton problem

2007-09-11 Thread safaa Saad_Eldine

Hello,i have a problem with installing ns2.26 on Linux Fedora Cora 6 and this 
error is the result  error near unexpected token `)'./configure: line 5718: `   
  0SF*)'tcl8.3.2 configuration failed! Existing ...Tcl is not part of 
the ns project. Please see www.scriptics.comto see if they have a fix for your 
platform.please i nead help!thanks.
_
Gear up for Halo® 3 with free downloads and an exclusive offer. It’s our way of 
saying thanks for using Windows Live™.
http://gethalo3gear.com?ocid=SeptemberWLHalo3_WLHMTxt_2


Re: [ns] How to add new C++ classes to NS-2 2.31?

2007-09-11 Thread Samer Bali

You should add it to Makefile.in under OBJ_CC (as I remember). Then you run
configure then make.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Ghada Al-Mashaqbeh
Sent: Dienstag, 11. September 2007 20:21
To: ns-users@ISI.EDU
Subject: Re: [ns] How to add new C++ classes to NS-2 2.31?



Do I must add the line mobile/Ricean.o to the Makefile or the Makefile.in
then run configure then make in the ns2 directory?

Is this method correct?

Thanx



Ye YiBin wrote:
> 
> 
> You may need this page:
> http://www.isi.edu/nsnam/ns/tutorial/nsnew.html
> 
> Is that Ricean.h and Ricean.cc?
> Try to add "mobile/Ricean.o" around Line235 on Makefile in ns directory.
> Paste your error messages here if it doesn't work.
> 
> On 9/11/07, Ghada Al-Mashaqbeh <[EMAIL PROTECTED]> wrote:
>>
>>
>> Dear all,
>>
>> I am new to NS-2, and frankly I am still in the learning phase to use it
>> in
>> my Master Thesis, I am trying to include the .cc and .h classes of the
>> Ricean propagation model within the simulator. I am working under windows
>> (using Cygwin), and I have no .o file of the classes, I have put the
>> classes
>> in the mobile directory in ns, but when I am trying to compile them, a
>> list
>> of errors appears since many of the included classes (such as
>> wireless_phy.h) is not exist in mobile directory. Then how can I include
>> this class with ns-2? I have tried ./install (reinstall ns-2), also I
>> have
>> tried to run configure then make, but nothing work, and still there is no
>> .o
>> file generated nor NS-2 has added the new class.
>>
>> Please can anybody help me and give me simple instruction to that under
>> windows ASAP?
>>
>> Thanx
>>
>> --
>> View this message in context:
>>
http://www.nabble.com/How-to-add-new-C%2B%2B-classes-to-NS-2-2.31--tf4416581
.html#a12597152
>> Sent from the ns-users mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Regards
> -Ye
> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/How-to-add-new-C%2B%2B-classes-to-NS-2-2.31--tf4416581
.html#a12620738
Sent from the ns-users mailing list archive at Nabble.com.




[ns] How can I design a WAN in NS-2?

2007-09-11 Thread Brenda Lindsay Williams

I was wondering how to depict a WAN in NS-2 and what topology I can use...
I'm particular about routing in such a network in the event that a link goes
down..
Can someone pls give me an idea so I know what my tcl script will look
like...
Thanks.

Regards,

Brenda


Re: [ns] How to add new C++ classes to NS-2 2.31?

2007-09-11 Thread Ghada Al-Mashaqbeh


Do I must add the line mobile/Ricean.o to the Makefile or the Makefile.in
then run configure then make in the ns2 directory?

Is this method correct?

Thanx



Ye YiBin wrote:
> 
> 
> You may need this page:
> http://www.isi.edu/nsnam/ns/tutorial/nsnew.html
> 
> Is that Ricean.h and Ricean.cc?
> Try to add "mobile/Ricean.o" around Line235 on Makefile in ns directory.
> Paste your error messages here if it doesn't work.
> 
> On 9/11/07, Ghada Al-Mashaqbeh <[EMAIL PROTECTED]> wrote:
>>
>>
>> Dear all,
>>
>> I am new to NS-2, and frankly I am still in the learning phase to use it
>> in
>> my Master Thesis, I am trying to include the .cc and .h classes of the
>> Ricean propagation model within the simulator. I am working under windows
>> (using Cygwin), and I have no .o file of the classes, I have put the
>> classes
>> in the mobile directory in ns, but when I am trying to compile them, a
>> list
>> of errors appears since many of the included classes (such as
>> wireless_phy.h) is not exist in mobile directory. Then how can I include
>> this class with ns-2? I have tried ./install (reinstall ns-2), also I
>> have
>> tried to run configure then make, but nothing work, and still there is no
>> .o
>> file generated nor NS-2 has added the new class.
>>
>> Please can anybody help me and give me simple instruction to that under
>> windows ASAP?
>>
>> Thanx
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-add-new-C%2B%2B-classes-to-NS-2-2.31--tf4416581.html#a12597152
>> Sent from the ns-users mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Regards
> -Ye
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-add-new-C%2B%2B-classes-to-NS-2-2.31--tf4416581.html#a12620738
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] How to add new C++ classes to NS-2 2.31?

2007-09-11 Thread Ghada Al-Mashaqbeh

Hi, 
   
  I have did this where I have added this line to the Makefile, then I opened 
cygwin and enetred the ns directory where I run configure then make, the 
Makefile were modified by the configure command. My question, the Makefile was 
changed were the line which I have added have disappeared, can I follow the 
same procedure for future additions and modifications?
   
  Thanx

Leonard Tracy <[EMAIL PROTECTED]> wrote:
  ricean.o is created by adding the line mobile/ricean.o to the Makefile.

Leonard


  On 9/10/07, Ghada Al-Mashaqbeh < [EMAIL PROTECTED]> wrote:  

OK! how to create Ricean.o? I have told u before that when I compile it with 
gcc many errors appears that said many required classes (included in
Ricean.h) are not found in mobile directory, how can I do that under windows
(using cygwin)?

Thanx.

Ghada


Ye YiBin wrote: 
>
>
> You may need this page:
> http://www.isi.edu/nsnam/ns/tutorial/nsnew.html
>
> Is that Ricean.h and Ricean.cc?
> Try to add "mobile/Ricean.o" around Line235 on Makefile in ns directory. 
> Paste your error messages here if it doesn't work.
>
> On 9/11/07, Ghada Al-Mashaqbeh <[EMAIL PROTECTED]> wrote:
>>
>>
>> Dear all, 
>>
>> I am new to NS-2, and frankly I am still in the learning phase to use it
>> in
>> my Master Thesis, I am trying to include the .cc and .h classes of the
>> Ricean propagation model within the simulator. I am working under windows 
>> (using Cygwin), and I have no .o file of the classes, I have put the
>> classes
>> in the mobile directory in ns, but when I am trying to compile them, a
>> list
>> of errors appears since many of the included classes (such as 
>> wireless_phy.h) is not exist in mobile directory. Then how can I include
>> this class with ns-2? I have tried ./install (reinstall ns-2), also I
>> have
>> tried to run configure then make, but nothing work, and still there is no 
>> .o
>> file generated nor NS-2 has added the new class.
>>
>> Please can anybody help me and give me simple instruction to that under
>> windows ASAP?
>>
>> Thanx 
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-add-new-C%2B%2B-classes-to-NS-2-2.31--tf4416581.html#a12597152
>>  
>> Sent from the ns-users mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Regards
> -Ye
>
>
>

--
View this message in context: 
http://www.nabble.com/How-to-add-new-C%2B%2B-classes-to-NS-2-2.31--tf4416581.html#a12607902
 
Sent from the ns-users mailing list archive at Nabble.com.





   
-
Pinpoint customers who are looking for what you sell. 


[ns] node x is not defined.

2007-09-11 Thread uknown noname

hello..
i've made a bit changes in ..tcl/ex/wireless.tcl. when i run ns its look 
working fine and creating the output file. but when i run nam, there is no 
simulation, and at the terminal,shows:

node 4 is not defined... node 4 is not defined... node 6 is not defined... node 
7 is not defined... node 7 is not defined... node 8 is not defined... node 5 is 
not defined... node 5 is not defined... node 6 is not defined...

I already creating scenario files for mobility simulations using setdest and 
declare it at Default Script Options - (set opt(sc)). 

Does anybody has idea what are the error is?


My system :
FC 6
2.6.18-1.2869.fc6
ns2.30
   
-
Luggage? GPS? Comic books? 
Check out fitting  gifts for grads at Yahoo! Search.