[ns] error in installing ns2-TCP Linux
rizkarina indah
rizkarina at gmail.com
Thu Jul 2 11:06:48 PDT 2009
hi
i tried to install NS2-TCP Linux implementation in ns-allinone2.29 with
patch ns-linux-ver2.patch. I ran it in slackware 9.1
I have succes while installed it, there was no error occur. But when i tried
to run the script contains "Agent/TCL/Linux", error occured.
the error is :
root at darkstar:~/ns-allinone-2.29/ns-2.29# ns /mnt/plesdis/vegas/vegas.tcl
invalid command name "Agent/TCP/Linux"
while executing
"Agent/TCP/Linux create _o58 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new Agent/TCP/Linux"
("for" body line 8)
invoked from within
"for {set i 1} {$i <=3} {incr i 1} {
#Create the sending nodes,the receiving nodes.
set bs($i) [$ns node]
$ns duplex-link $bs($i) $router_snd 100..."
(file "/mnt/plesdis/vegas/vegas.tcl" line 10)
the script contains the new implementation of TCP Congeston Control
algorithm made for ns-2 (ex TCP Veno, TCP Westwood, TCP Vegas)
What should I do? Which part of the configuration files in NS should be
edited?
thanks.
More information about the Ns-users
mailing list