[ns] Re : installation problem (./install)

2008-08-20 Thread Nour

Hi everyone
About the problem of NS installation . It was due to the version 2.28. But as 
soon as i installed the version 2.33, it's resolved. And i even tried the first 
example.
Now i'm gonna read how to write a script.

Thank you for your help




- Message d'origine 
De : Nour <[EMAIL PROTECTED]>
À : ns-users@isi.edu
Envoyé le : Mercredi, 20 Août 2008, 10h01mn 48s
Objet : installation problem (.\install) [resent]






- Message d'origine 
De : Nour <[EMAIL PROTECTED]>
À : ns-users@isi.edu
Envoyé le : Mercredi, 20 Août 2008, 9h33mn 07s
Objet : installation problem (.\install)


Hello Everyone

I tried to install NS [version 2.28] under windows. I followed all the 
instructions of how to install cygwin and how to extract NS files to a 
directory reachable from Cygwin.

But when i write the command " .\install" in the shell, this message appears : 
" no such file or directory "

Thank you for your help
Nour81


 Envoyé avec Yahoo! Mail.
Une boite mail plus intelligente. 

 Envoyé avec Yahoo! Mail.
Une boite mail plus intelligente. 


  
_ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr

[ns] question regarding "rtproto manual"

2008-08-20 Thread Rafiq Shaikh

Hi All,

I am trying to add manual route entry to the node_(3) as below:
$ns rtproto Manual
$node_(3) add-route-to-adj-node -default $node_(1)

It gives me an error as below. I am new to NS-2 so can't understand what this 
means:
(_o68 cmd line 1)
invoked from within
"_o68 cmd add-route-to-adj-node -default _o32"
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 "_o68" line 2)
(SplitObject unknown line 2)
invoked from within
"$node_(3) add-route-to-adj-node -default $node_(1)"
(file "./cp-1" line 11)
invoked from within
"source.orig ./cp-1"
("uplevel" body line 1)
invoked from within
"uplevel source.orig [list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source $val(cp)"
(file "w.tcl" line 117)


I think I typed the command as mentioned in the NS-2 manual.
Any idea why this error is coming?

Regards,
-Rafiq.



  



[ns] sending packet with unicast node address in wireless mac

2008-08-20 Thread reza mohammadi



hello
i design new mac protocol and i implement in wireless topology
but in first packet sennding (RTS) destination address is -1 and -1 is br
oadcast mac address. how i can send packet with unicat node address my output 
is shown below
my simulation time is 5 minutes but in first packet sending below result occure
when i implemetn my protocol only one packet exchange occurany body can help me?
best regards
hdr_src,src=0
hdr_type
hdr_dst ,, dts=-1
hdr_src,src=0
hdr_type
hdr_dst ,, dts=-1
ns: finish: X connection to :0.0 broken (explicit kill or server shutdown).



  



  


[ns] Code for link level recovery of Base Station

2008-08-20 Thread मंदार

Dear ns users,

I am working on wired-cum-wireless scenario.
In this i have to do link level recovery when packet is dropped between base
station and wireless node.
So, Please help me in this regard and send me the code for link level
recovery for base station. and tell me in which file the code is there for
base station in NS-2.29.
I am very much thankful to you.

Thanking You,

Regards
Mandar.


[ns] Implementing a New Manet Unicast Routing Protocol in NS2

2008-08-20 Thread Maurizio Bellemo

Hi all,

I'm trying to simulate a MANET in order to test an efficient flooding
technique (broadcast). I took the code in this article, without using the
routing part, because I don't need. I want only to flood the network with
control information. I wrote a little simulation to test the algorithm. Two
nodes flooding packets. The problem is I get a segmentation fault and I
don't know why.
I attach the simulation file and the algorithm of the article changed.

Thank you a lot
Best Regards
Maurizio


[ns] how i can adjust specific node address in wireless mac

2008-08-20 Thread reza mohammadi

hello
i design new mac protocol and i implement in wireless topology
but in first packet sennding (RTS) destination address is -1 and -1 is=A0br=
oadcast mac address. how i can send packet to specific node=20
my output is shown below
my simulation time is =A05=A0 minutes=A0 but in first packet sending below =
result occure
any body can help me?
best regards
hdr_src,src=0
hdr_type
hdr_dst ,, dts=-1
hdr_src,src=0
hdr_type
hdr_dst ,, dts=-1
ns: finish: X connection to :0.0 broken (explicit kill or server shutdown).



  


Re: [ns] installation problem (.\install) [resent]

2008-08-20 Thread Mats Folke

Hi!

Try "./install" not ".\install".

Best wishes,
Mats Folke

Nour wrote:
> - Message d'origine 
> De : Nour <[EMAIL PROTECTED]>
> À : ns-users@isi.edu
> Envoyé le : Mercredi, 20 Août 2008, 9h33mn 07s
> Objet : installation problem (.\install)
> 
> 
> Hello Everyone
> 
> I tried to install NS [version 2.28] under windows. I followed all
> the instructions of how to install cygwin and how to extract NS files
> to a directory reachable from Cygwin.  
> 
> But when i write the command " .\install" in the shell, this message
> appears : " no such file or directory " 
> 
> Thank you for your help
> Nour81
> 
> 
>  Envoyé avec Yahoo! Mail.
> Une boite mail plus intelligente.
> 
> 
>  
> _
> Envoyez avec Yahoo! Mail. Une boite mail plus intelligente
> http://mail.yahoo.fr 



-- 
Mats Folke, M.Sc., Tech.lic
Research Engineer

Ericsson AB Office: +46 8 7571385
Ericsson Research   Fax: +46 920 99621
P.O. Box 920Mobile: +46 76 1271385
SE-971 28 Luleå



[ns] General Procedure for static build??

2008-08-20 Thread xing y

Subject: General Procedure for static build??
To: ns-users@isi.edu


Hi

I am looking for a standard procedure for making a static ns build so that i
can run the ns on any
other linux machine with same configuration without installing the
ns-allinone.

I tried configure --enable-static and changing STATIC flag in Makefile.

Please suggest a standard way of doing it.

Thanks
Xing.


[ns] installation problem (.\install) [resent]

2008-08-20 Thread Nour





- Message d'origine 
De : Nour <[EMAIL PROTECTED]>
À : ns-users@isi.edu
Envoyé le : Mercredi, 20 Août 2008, 9h33mn 07s
Objet : installation problem (.\install)


Hello Everyone

I tried to install NS [version 2.28] under windows. I followed all the 
instructions of how to install cygwin and how to extract NS files to a 
directory reachable from Cygwin.

But when i write the command " .\install" in the shell, this message appears : 
" no such file or directory "

Thank you for your help
Nour81


 Envoyé avec Yahoo! Mail.
Une boite mail plus intelligente. 


  
_ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr

[ns] Implemtation of switch contribute

2008-08-20 Thread amj ns2

-- Forwarded message --
From: amj ns2 <[EMAIL PROTECTED]>
Date: Fri, Aug 15, 2008 at 12:13 PM
Subject: Implemtation of switch contribute
To: ns-users@isi.edu


I have implemented  Switch In NS2 from some reference about how to fabric
switch
and then I implemented in ns2-31 i want contribute of my code of switch .
thank you for help
i prefered any contribute please send me in my email : [EMAIL PROTECTED]
and I thank anyone help me .
thank you
the files is attached in message