Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i have installed ns 2.33 and added the patch mobiwan-1.patch on ubuntu 10.04, when i tried to run some simple script for mobile ipv6, i got the following. please anybody help me.
Code:
manju@manju-desktop:~/Desktop$ ns simple_mobileipv6.tcl
couldn't read file "BASEDIR/ns-allinone-2.26/ns-2.26/tcl/lib/proc-mipv6-config.tcl": no such file or directory
while executing
"source.orig BASEDIR/ns-allinone-2.26/ns-2.26/tcl/lib/proc-mipv6-config.tcl"
("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 BASEDIR/ns-allinone-2.26/ns-2.26/tcl/lib/proc-mipv6-config.tcl"
(procedure "main" line 6)
invoked from within
"main"
(file "simple_mobileipv6.tcl" line 161)
Last edited by manjunath11; 11-07-2010 at 10:58 AM.
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,308
Rep:
Received by email, from @manjunath11 :
I have installed ns.2.33 on ubuntu 10.04 and added the patch mobiwan-1,
I am getting error when i try run simple tcl , i think its because of
the patch mobiwan, please help me.
Code:
manju@manju-desktop:~/Desktop$ ns 1.tcl
can't read "EnableHierRt_": no such variable
(Object set line 1)
invoked from within
"Simulator set EnableHierRt_"
(procedure "_o10" line 10)
(Node attach line 10)
invoked from within
"$node attach $agent"
(procedure "_o3" line 2)
(Simulator attach-agent line 2)
invoked from within
"$ns attach-agent $n0 $udp0"
(file "1.tcl" line 28)
What is 1.tcl ? Please attach the file, or provide a link to its location.
..
Hi sir I have executed the code but I get the same errors
Code:
manju@manju-desktop:~/Desktop$ ns 1.tcl.txt
can't read "EnableHierRt_": no such variable
(Object set line 1)
invoked from within
"Simulator set EnableHierRt_"
(procedure "_o10" line 10)
(Node attach line 10)
invoked from within
"$node attach $agent"
(procedure "_o3" line 2)
(Simulator attach-agent line 2)
invoked from within
"$ns attach-agent $n1 $tcp"
(file "1.tcl.txt" line 35)
manju@manju-desktop:~/Desktop$ ns 4.tcl
can't read "EnableHierRt_": no such variable
(Object set line 1)
invoked from within
"Simulator set EnableHierRt_"
(procedure "_o10" line 10)
(Node attach line 10)
invoked from within
"$node attach $agent"
(procedure "_o3" line 2)
(Simulator attach-agent line 2)
invoked from within
"$ns attach-agent $n1 $tcp"
(file "4.tcl" line 35)
Please check the errors.. Actually I added mobiwan1 patch to the NS2.33. May be the errors are due to the patch.
Can you send a simple tcl script for mipv6 to run on NS2.33 consisting of Mobiwan1
Last edited by manjunath11; 11-07-2010 at 01:10 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.