Re: [ns] make clean, make depend, make do not take effect

2007-10-26 Thread Usman Ashraf

Hi,
Here are my two cents, perhaps one of the following could be the problem:

1. Perhaps you are not executing the make/make clean commands in the right 
directory, you have to do it 
in /ns-whatever/ns-2.31 directory or
2. You are not calling the right protocol in your tcl script file e.g. you made 
some changes in TORA.cc but 
 you are calling AODV in your tcl script file.

Hope that helps.


- Original Message 
From: bilge kartal [EMAIL PROTECTED]
To: minisivakumar vellore [EMAIL PROTECTED]
Cc: ns-users@ISI.EDU
Sent: Friday, October 26, 2007 10:46:37 AM
Subject: Re: [ns] make clean, make depend, make do not take effect


Hi,

I had same problem before. I m using same version but under XP via Cygwin. I
m not sure this help.
you should be under the  ns-2.31 directory. And then

./configure
./make clean
./make

Good luck

Bilge

On 10/25/07, minisivakumar vellore [EMAIL PROTECTED] wrote:


 Hi all
 I am using ns-2.31 under linux environment.
 I made some changes to .cc files in the ns2 directory (introduced or
 remove=
 d some printf statements).
 But my changes do not take effect at all.
 I've tried the following
 (i) make clean, make depend, make
 (ii) make distclean, ./configure, make
 (iii) make clean, ./install, ./configure, make
 (iv) make distclean, ./install (then setting the library paths again),
 ./co=
 nfigure, make

 I run my tcl script by giving the command as ./ns xxx.tcl
 I am not sure why my changes don't take effect. If someone has any
 pointers=
 please let me know.

 PS: I do not get any errors for any of the commands.

 _
 Are you ready for Windows Live Messenger Beta 8.5 ? Get the latest for
 free today!
 http://entertainment.sympatico.msn.ca/WindowsLiveMessenger


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[ns] catch $self cmd $args ret error means

2007-10-26 Thread poonam mehta

set ns [new Simulator]

#Open the nam trace file
set nf [open out.nam w]
$ns namtrace-all $nf

#Open the Trace file
set tf [open out.tr w]
$ns trace-all $tf

#Define a 'finish' procedure
proc finish {} {
global ns nf tf
$ns flush-trace
#Close the trace file
close $nf
#Close the Trace file
close $tf
#Execute nam on the trace file
exec nam out.nam 
exit 0
}

#set ip nodes and mpls nodes

set node0 [$ns node]
set node1 [$ns node]
$ns node-config -MPLS ON
set LSR2  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR3  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR4  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR5  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR6  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR7  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR8  [$ns mpls-node]
$ns node-config -MPLS OFF
set node9 [$ns node]
set node10 [$ns node]



#connect nodes

$ns duplex-link $node0 $LSR2 1Mb 10ms DropTail
$ns duplex-link $node1 $LSR3 1Mb 10ms DropTail
$ns duplex-link $LSR2  $LSR3 1Mb 10ms DropTail
$ns duplex-link $LSR3  $LSR4 1Mb 10ms DropTail
$ns duplex-link $LSR4  $LSR8 1Mb 10ms DropTail
$ns duplex-link $LSR2  $LSR5 1Mb 10ms DropTail
$ns duplex-link $LSR5  $LSR6 1Mb 10ms DropTail
$ns duplex-link $LSR5  $LSR4 1Mb 10ms DropTail
$ns duplex-link $LSR6  $LSR7 1Mb 10ms DropTail
$ns duplex-link $LSR6  $LSR8 1Mb 10ms DropTail
$ns duplex-link $LSR7  $LSR8 1Mb 10ms DropTail
$ns duplex-link $LSR7  $node9   1Mb 10ms DropTail
$ns duplex-link $LSR8  $node10  1Mb 10ms DropTail


$ns duplex-link-op $node0 $LSR2 orient right
$ns duplex-link-op $node1 $LSR3 orient right
$ns duplex-link-op $LSR2  $LSR3 orient down
$ns duplex-link-op $LSR3  $LSR4 orient right
$ns duplex-link-op $LSR4  $LSR8 orient right
$ns duplex-link-op $LSR2  $LSR5 orient right
$ns duplex-link-op $LSR5  $LSR6 orient right
$ns duplex-link-op $LSR5  $LSR4 orient down
$ns duplex-link-op $LSR6  $LSR7 orient
right-down
$ns duplex-link-op $LSR6  $LSR8 orient down
$ns duplex-link-op $LSR7  $LSR8 orient left-down
$ns duplex-link-op $LSR7  $node9 orient right
$ns duplex-link-op $LSR8  $node10 orient right



# Adjust loop length to address all LSRs (MPLS nodes).

for {set i 2} {$i  9} {incr i} {
for {set j [expr $i+1]} {$j  9} {incr j} {
 set a LSR$i
 set b LSR$j
 eval $ns LDP-peer $$a $$b
}
}

[$LSR2 get-module MPLS] enable-control-driven
[$LSR3 get-module MPLS] enable-control-driven
[$LSR4 get-module MPLS] enable-control-driven
[$LSR5 get-module MPLS] enable-control-driven
[$LSR6 get-module MPLS] enable-control-driven
[$LSR7 get-module MPLS] enable-control-driven
[$LSR8 get-module MPLS] enable-control-driven


$ns configure-ldp-on-all-mpls-nodes
$ns enable-control-driven

$ns ldp-request-colorblue
$ns ldp-mapping-colorred
$ns ldp-withdraw-color   magenta
$ns ldp-release-colororange
$ns ldp-notification-color  yellow





set udp0 [new Agent/UDP]
$ns attach-agent $node0 $udp0
set cbr0 [new Application/Traffic/CBR]
$cbr0 attach-agent $udp0

set udp1 [new Agent/UDP]
$ns attach-agent $node1 $udp1
$udp1 set class_ 1
set cbr1 [new Application/Traffic/CBR]
$cbr1 attach-agent $udp1

set null0 [new Agent/Null]
$ns attach-agent $node9 $null0

set null1 [new Agent/Null]
$ns attach-agent $node10 $null1

$ns connect $udp0 $null0
$ns connect $udp1 $null1

$ns at 0.1 $cbr0 start
$ns at 0.1 $cbr1 start

set tcp [new Agent/TCP]
$tcp set class_ 2
set sink [new Agent/TCPSink]
$ns attach-agent $node0 $tcp
$ns attach-agent $node9 $sink
$ns connect $tcp $sink

set tcp [new Agent/TCP]
$tcp set class_ 2
set sink [new Agent/TCPSink]
$ns attach-agent $node1 $tcp
$ns attach-agent $node10 $sink
$ns connect $tcp $sink


#connect src and dst
#$ns connect $node0 $node9
#$ns connect $node1 $node10

$ns at 0.1 $node0 start
$ns at 0.1 $node1 start

$ns at 0.2 [$LSR7 get-module MPLS] ldp-trigger-by-withdraw 9 -1
$ns at 0.2 [$LSR8 get-module MPLS] ldp-trigger-by-withdraw 10 -1

$ns at 0.3 [$LSR2 get-module MPLS] flow-aggregation9 -1 6 -1
$ns at 0.3 [$LSR2 get-module MPLS] flow-aggregation10 -1 6 -1
$ns at 0.5 [$LSR6 get-module MPLS] ldp-trigger-by-withdraw 6 -1
$ns at 0.7 $node1 stop

$ns at 0.7 $LSR2 make-explicit-route  7
5_4_8_6_73000
$ns at 0.9 $LSR2 flow-erlsp-install   9 -1 3000
$ns at 1.1 $LSR2 ldp-trigger-by-release   3000
$ns at 1.2  $LSR4 make-explicit-route8  4_5_6_8
3500
$ns at 1.3  $LSR2 make-explicit-route7 2_3_4_3500_7
3600
$ns at 1.4  $LSR2 flow-erlsp-install 9  -1 3600
$ns at 1.6  $LSR2 ldp-trigger-by-release  3600
$ns at 1.7  $LSR4 ldp-trigger-by-release  3500
$ns at 1.8 $LSR2 enable-data-driven
$ns at 2.0 $node0 stop


$ns run
(_o3 cmd line 1)
invoked from within
_o3 cmd configure-ldp-on-all-mpls-nodes
invoked from within

Re: [ns] make clean, make depend, make do not take effect

2007-10-26 Thread dzib1

Hi,

try make clean, make, sudo make install from /ns-whatever/ns-2.31 
directory

Filip

Hi,
Here are my two cents, perhaps one of the following could be the problem:

1. Perhaps you are not executing the make/make clean commands in the right 
directory, you have to do it 
in /ns-whatever/ns-2.31 directory or
2. You are not calling the right protocol in your tcl script file e.g. you 
made some changes in TORA.cc but 
 you are calling AODV in your tcl script file.

Hope that helps.


- Original Message 
From: bilge kartal [EMAIL PROTECTED]
To: minisivakumar vellore [EMAIL PROTECTED]
Cc: ns-users@ISI.EDU
Sent: Friday, October 26, 2007 10:46:37 AM
Subject: Re: [ns] make clean, make depend, make do not take effect


Hi,

I had same problem before. I m using same version but under XP via Cygwin. I
m not sure this help.
you should be under the  ns-2.31 directory. And then

./configure
./make clean
./make

Good luck

Bilge

On 10/25/07, minisivakumar vellore [EMAIL PROTECTED] wrote:


 Hi all
 I am using ns-2.31 under linux environment.
 I made some changes to .cc files in the ns2 directory (introduced or
 remove=
 d some printf statements).
 But my changes do not take effect at all.
 I've tried the following
 (i) make clean, make depend, make
 (ii) make distclean, ./configure, make
 (iii) make clean, ./install, ./configure, make
 (iv) make distclean, ./install (then setting the library paths again),
 ./co=
 nfigure, make

 I run my tcl script by giving the command as ./ns xxx.tcl
 I am not sure why my changes don't take effect. If someone has any
 pointers=
 please let me know.

 PS: I do not get any errors for any of the commands.

 _
 Are you ready for Windows Live Messenger Beta 8.5 ? Get the latest for
 free today!
 http://entertainment.sympatico.msn.ca/WindowsLiveMessenger


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com




[ns] error error when calling class $cls: $args $... , , , , means???

2007-10-26 Thread poonam mehta

set ns [new Simulator]

#Open the nam trace file
set nf [open out.nam w]
$ns namtrace-all $nf

#Open the Trace file
set tf [open out.tr w]
$ns trace-all $tf

#Define a 'finish' procedure
proc finish {} {
global ns nf tf
$ns flush-trace
#Close the trace file
close $nf
#Close the Trace file
close $tf
#Execute nam on the trace file
exec nam out.nam 
exit 0
}

#set ip nodes and mpls nodes

set node0 [$ns node]
set node1 [$ns node]
$ns node-config -MPLS ON
set LSR2  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR3  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR4  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR5  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR6  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR7  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR8  [$ns mpls-node]
$ns node-config -MPLS OFF
set node9 [$ns node]
set node10 [$ns node]



#connect nodes

$ns duplex-link $node0 $LSR2 1Mb 10ms DropTail
$ns duplex-link $node1 $LSR3 1Mb 10ms DropTail
$ns duplex-link $LSR2  $LSR3 1Mb 10ms DropTail
$ns duplex-link $LSR3  $LSR4 1Mb 10ms DropTail
$ns duplex-link $LSR4  $LSR8 1Mb 10ms DropTail
$ns duplex-link $LSR2  $LSR5 1Mb 10ms DropTail
$ns duplex-link $LSR5  $LSR6 1Mb 10ms DropTail
$ns duplex-link $LSR5  $LSR4 1Mb 10ms DropTail
$ns duplex-link $LSR6  $LSR7 1Mb 10ms DropTail
$ns duplex-link $LSR6  $LSR8 1Mb 10ms DropTail
$ns duplex-link $LSR7  $LSR8 1Mb 10ms DropTail
$ns duplex-link $LSR7  $node9   1Mb 10ms DropTail
$ns duplex-link $LSR8  $node10  1Mb 10ms DropTail


$ns duplex-link-op $node0 $LSR2 orient right
$ns duplex-link-op $node1 $LSR3 orient right
$ns duplex-link-op $LSR2  $LSR3 orient down
$ns duplex-link-op $LSR3  $LSR4 orient right
$ns duplex-link-op $LSR4  $LSR8 orient right
$ns duplex-link-op $LSR2  $LSR5 orient right
$ns duplex-link-op $LSR5  $LSR6 orient right
$ns duplex-link-op $LSR5  $LSR4 orient down
$ns duplex-link-op $LSR6  $LSR7 orient
right-down
$ns duplex-link-op $LSR6  $LSR8 orient down
$ns duplex-link-op $LSR7  $LSR8 orient left-down
$ns duplex-link-op $LSR7  $node9 orient right
$ns duplex-link-op $LSR8  $node10 orient right



# Adjust loop length to address all LSRs (MPLS nodes).

for {set i 2} {$i  9} {incr i} {
for {set j [expr $i+1]} {$j  9} {incr j} {
 set a LSR$i
 set b LSR$j
 eval $ns LDP-peer $$a $$b
}
}

[$LSR2 get-module MPLS] enable-control-driven
[$LSR3 get-module MPLS] enable-control-driven
[$LSR4 get-module MPLS] enable-control-driven
[$LSR5 get-module MPLS] enable-control-driven
[$LSR6 get-module MPLS] enable-control-driven
[$LSR7 get-module MPLS] enable-control-driven
[$LSR8 get-module MPLS] enable-control-driven


$ns configure-ldp-on-all-mpls-nodes
$ns enable-control-driven

$ns ldp-request-colorblue
$ns ldp-mapping-colorred
$ns ldp-withdraw-color   magenta
$ns ldp-release-colororange
$ns ldp-notification-color  yellow





set udp0 [new Agent/UDP]
$ns attach-agent $node0 $udp0
set cbr0 [new Application/Traffic/CBR]
$cbr0 attach-agent $udp0

set udp1 [new Agent/UDP]
$ns attach-agent $node1 $udp1
$udp1 set class_ 1
set cbr1 [new Application/Traffic/CBR]
$cbr1 attach-agent $udp1

set null0 [new Agent/Null]
$ns attach-agent $node9 $null0

set null1 [new Agent/Null]
$ns attach-agent $node10 $null1

$ns connect $udp0 $null0
$ns connect $udp1 $null1

$ns at 0.1 $cbr0 start
$ns at 0.1 $cbr1 start

set tcp [new Agent/TCP]
$tcp set class_ 2
set sink [new Agent/TCPSink]
$ns attach-agent $node0 $tcp
$ns attach-agent $node9 $sink
$ns connect $tcp $sink

set tcp [new Agent/TCP]
$tcp set class_ 2
set sink [new Agent/TCPSink]
$ns attach-agent $node1 $tcp
$ns attach-agent $node10 $sink
$ns connect $tcp $sink


#connect src and dst
#$ns connect $node0 $node9
#$ns connect $node1 $node10

$ns at 0.1 $node0 start
$ns at 0.1 $node1 start

$ns at 0.2 [$LSR7 get-module MPLS] ldp-trigger-by-withdraw 9 -1
$ns at 0.2 [$LSR8 get-module MPLS] ldp-trigger-by-withdraw 10 -1

$ns at 0.3 [$LSR2 get-module MPLS] flow-aggregation9 -1 6 -1
$ns at 0.3 [$LSR2 get-module MPLS] flow-aggregation10 -1 6 -1
$ns at 0.5 [$LSR6 get-module MPLS] ldp-trigger-by-withdraw 6 -1
$ns at 0.7 $node1 stop

$ns at 0.7 $LSR2 make-explicit-route  7
5_4_8_6_73000
$ns at 0.9 $LSR2 flow-erlsp-install   9 -1 3000
$ns at 1.1 $LSR2 ldp-trigger-by-release   3000
$ns at 1.2  $LSR4 make-explicit-route8  4_5_6_8
3500
$ns at 1.3  $LSR2 make-explicit-route7 2_3_4_3500_7
3600
$ns at 1.4  $LSR2 flow-erlsp-install 9  -1 3600
$ns at 1.6  $LSR2 ldp-trigger-by-release  3600
$ns at 1.7  $LSR4 ldp-trigger-by-release  3500
$ns at 1.8 $LSR2 enable-data-driven
$ns at 2.0 $node0 stop


$ns run


[ns] Stop Wait over UDP

2007-10-26 Thread Jamal Toutouh

Hello all,

I am trying to develo an Application agent which implements
StopWait protocol, and send a packet with a given size.

Can someone help me??
Is there some code or example that I could see before starting 
writing the C++ code??

Thank you
 

Jamal Toutouh El Alamin
NEO Group - Networking and Emerging Optimization
University of Malaga

Phone: (+34) 952 13 33 03

Addres:
E.T.S Ingenieria Informatica
Complejo Tecnologico, Lab. 3.3.4b
Campus de Teatinos
29071 Malaga, Spain
-




   

Sé un Mejor Amante del Cine 
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
http://advision.webevents.yahoo.com/reto/entretenimiento.html


[ns] core network

2007-10-26 Thread Brenda Lindsay Williams

Can you pls help me...
I'm working on VoIP core networks...
I'm basically connecting 4 WAN models via an edge network to the core...
The core consist of only routers whose function is to route voice packets
amoongst the WANs...
can you pls give me an idea of what my tcl script will look like
I need to know how to configure the core for packet transmission amongst the
4 WAN models I'm working with...
I'm investigating Quality of Service (QoS) at the core area
Attached to this message is a diagrammatic representation of my model
Thanks

Brenda


[ns] _o3 cmd configure-ldp-on-all-mpls-nodes error means

2007-10-26 Thread poonam mehta

set ns [new Simulator]

#Open the nam trace file
set nf [open out.nam w]
$ns namtrace-all $nf

#Open the Trace file
set tf [open out.tr w]
$ns trace-all $tf

#Define a 'finish' procedure
proc finish {} {
global ns nf tf
$ns flush-trace
#Close the trace file
close $nf
#Close the Trace file
close $tf
#Execute nam on the trace file
exec nam out.nam 
exit 0
}

#set ip nodes and mpls nodes

set node0 [$ns node]
set node1 [$ns node]
$ns node-config -MPLS ON
set LSR2  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR3  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR4  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR5  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR6  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR7  [$ns mpls-node]
$ns node-config -MPLS ON
set LSR8  [$ns mpls-node]
$ns node-config -MPLS OFF
set node9 [$ns node]
set node10 [$ns node]



#connect nodes

$ns duplex-link $node0 $LSR2 1Mb 10ms DropTail
$ns duplex-link $node1 $LSR3 1Mb 10ms DropTail
$ns duplex-link $LSR2  $LSR3 1Mb 10ms DropTail
$ns duplex-link $LSR3  $LSR4 1Mb 10ms DropTail
$ns duplex-link $LSR4  $LSR8 1Mb 10ms DropTail
$ns duplex-link $LSR2  $LSR5 1Mb 10ms DropTail
$ns duplex-link $LSR5  $LSR6 1Mb 10ms DropTail
$ns duplex-link $LSR5  $LSR4 1Mb 10ms DropTail
$ns duplex-link $LSR6  $LSR7 1Mb 10ms DropTail
$ns duplex-link $LSR6  $LSR8 1Mb 10ms DropTail
$ns duplex-link $LSR7  $LSR8 1Mb 10ms DropTail
$ns duplex-link $LSR7  $node9   1Mb 10ms DropTail
$ns duplex-link $LSR8  $node10  1Mb 10ms DropTail


$ns duplex-link-op $node0 $LSR2 orient right
$ns duplex-link-op $node1 $LSR3 orient right
$ns duplex-link-op $LSR2  $LSR3 orient down
$ns duplex-link-op $LSR3  $LSR4 orient right
$ns duplex-link-op $LSR4  $LSR8 orient right
$ns duplex-link-op $LSR2  $LSR5 orient right
$ns duplex-link-op $LSR5  $LSR6 orient right
$ns duplex-link-op $LSR5  $LSR4 orient down
$ns duplex-link-op $LSR6  $LSR7 orient
right-down
$ns duplex-link-op $LSR6  $LSR8 orient down
$ns duplex-link-op $LSR7  $LSR8 orient left-down
$ns duplex-link-op $LSR7  $node9 orient right
$ns duplex-link-op $LSR8  $node10 orient right



# Adjust loop length to address all LSRs (MPLS nodes).

for {set i 2} {$i  9} {incr i} {
for {set j [expr $i+1]} {$j  9} {incr j} {
 set a LSR$i
 set b LSR$j
 eval $ns LDP-peer $$a $$b
}
}

[$LSR2 get-module MPLS] enable-control-driven
[$LSR3 get-module MPLS] enable-control-driven
[$LSR4 get-module MPLS] enable-control-driven
[$LSR5 get-module MPLS] enable-control-driven
[$LSR6 get-module MPLS] enable-control-driven
[$LSR7 get-module MPLS] enable-control-driven
[$LSR8 get-module MPLS] enable-control-driven


$ns configure-ldp-on-all-mpls-nodes
$ns enable-control-driven

$ns ldp-request-colorblue
$ns ldp-mapping-colorred
$ns ldp-withdraw-color   magenta
$ns ldp-release-colororange
$ns ldp-notification-color  yellow





set udp0 [new Agent/UDP]
$ns attach-agent $node0 $udp0
set cbr0 [new Application/Traffic/CBR]
$cbr0 attach-agent $udp0

set udp1 [new Agent/UDP]
$ns attach-agent $node1 $udp1
$udp1 set class_ 1
set cbr1 [new Application/Traffic/CBR]
$cbr1 attach-agent $udp1

set null0 [new Agent/Null]
$ns attach-agent $node9 $null0

set null1 [new Agent/Null]
$ns attach-agent $node10 $null1

$ns connect $udp0 $null0
$ns connect $udp1 $null1

$ns at 0.1 $cbr0 start
$ns at 0.1 $cbr1 start

set tcp [new Agent/TCP]
$tcp set class_ 2
set sink [new Agent/TCPSink]
$ns attach-agent $node0 $tcp
$ns attach-agent $node9 $sink
$ns connect $tcp $sink

set tcp [new Agent/TCP]
$tcp set class_ 2
set sink [new Agent/TCPSink]
$ns attach-agent $node1 $tcp
$ns attach-agent $node10 $sink
$ns connect $tcp $sink


#connect src and dst
#$ns connect $node0 $node9
#$ns connect $node1 $node10

$ns at 0.1 $node0 start
$ns at 0.1 $node1 start

$ns at 0.2 [$LSR7 get-module MPLS] ldp-trigger-by-withdraw 9 -1
$ns at 0.2 [$LSR8 get-module MPLS] ldp-trigger-by-withdraw 10 -1

$ns at 0.3 [$LSR2 get-module MPLS] flow-aggregation9 -1 6 -1
$ns at 0.3 [$LSR2 get-module MPLS] flow-aggregation10 -1 6 -1
$ns at 0.5 [$LSR6 get-module MPLS] ldp-trigger-by-withdraw 6 -1
$ns at 0.7 $node1 stop

$ns at 0.7 $LSR2 make-explicit-route  7
5_4_8_6_73000
$ns at 0.9 $LSR2 flow-erlsp-install   9 -1 3000
$ns at 1.1 $LSR2 ldp-trigger-by-release   3000
$ns at 1.2  $LSR4 make-explicit-route8  4_5_6_8
3500
$ns at 1.3  $LSR2 make-explicit-route7 2_3_4_3500_7
3600
$ns at 1.4  $LSR2 flow-erlsp-install 9  -1 3600
$ns at 1.6  $LSR2 ldp-trigger-by-release  3600
$ns at 1.7  $LSR4 ldp-trigger-by-release  3500
$ns at 1.8 $LSR2 enable-data-driven
$ns at 2.0 $node0 stop


$ns run


[ns] urgent help regarding installing ns2.28

2007-10-26 Thread harpreet

  
 

 
   
hi
i am trying to load ns-allinone-2.28 on my fedora core-4 linux..but this gives 
me problem while making ns2 shows some file named xpcs something missing or 
this can't find these files. 

and then i tried to load this on current version of cygwin this loaded alright 
gives no problem but when every i tried to put ns command this gives me 
bash: ns command not found
error. i tried to put all ld_libraries path and tcl_libraries path in my bashrc 
path in /home/user/.bashrc but this gives me more error and doesn't work even 
after that. if anybody using latest cygwin for ns2 please help me how to solve 
this problem. if possible please give your bashrc file and where and how to 
make change in bashrc..

anybody got any info regarding loading this on fedora core4 or changes in 
bashrc file please help me... i need this urgently.. 

 


[ns] Question About using evalvid

2007-10-26 Thread panahe pejman

Dear Friends:
  I have a question about using evalvid pack. After execute ./MP4Box
 -hint -mtu 1024 -fps 30 -add a01.m4v a01.mp4 command to produce .mp4 file
 when running ./mp4trace -f -s 192.168.0.2 12346 a01.mp4  st_a01 , to
 send a hinted mp4-file per RTP/UDP to a specified destination host the
 pointed file (st_a01) is empty. i am using smallko method to integrate
 evalvid in ns.
  Anyone can help me solve the problem? I mention that i'm using ns
 2.30 with visual c++ ver 6.0 in a single pc.
  Thank you in advance:
  pejman panahi.
 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: [ns] run examples in ns2

2007-10-26 Thread WangYaogong

you should add relevant directories to the environment variables, otherwise 
bash could not locate where ns is.

 Date: Fri, 26 Oct 2007 09:32:49 -0700 From: [EMAIL PROTECTED] To: 
 ns-users@ISI.EDU Subject: [ns] run examples in ns2   Hello ns-users,  I 
 m installing ns 2.27 on Windows XP. When i run examples in Xwin, ns 
 example1.tcl, it always says: bash: ns: command not found. Why?  Thanks!  
 Best regards,  Min Meng
_
Windows Live Custom Domain,您的免费电子邮局。
https://domains.live.com/default.aspx