LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-22-2012, 08:37 AM   #1
simz
LQ Newbie
 
Registered: Apr 2012
Posts: 10

Rep: Reputation: Disabled
Unhappy mobiwan and ns-2.33 problems


helo everyone, i am new to this forum. my problem is that i patched mobiwan with ns-2.33 by following the instructions from:


http://techsolns4u.blogspot.in/2011/...on-in-ns2.html

after that when i tried to run my tcl script i faced an error like this:

"programs]$ ns multicast.tcl
can't read "EnableHierRt_": no such variable
(Object set line 1)
invoked from within
"Simulator set EnableHierRt_"
(procedure "_o38" line 10)
(Node attach line 10)
invoked from within
"$node attach $mctrl_"
(procedure "_o228" line 4)
(DM init line 4)
invoked from within
"_o228 init _o3 _o38"
(Class create line 1)
invoked from within
"DM create _o228 _o3 _o38"
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 $mproto $self $node"
(procedure "_o3" line 2)
(Simulator mrtproto-iifs line 2)
invoked from within
"$self mrtproto-iifs $mproto $Node_($n) """
(procedure "_o3" line 23)
(Simulator mrtproto line 23)
invoked from within
"$ns mrtproto $mproto"
invoked from within
"set mrthandle [$ns mrtproto $mproto]"
(file "multicast.tcl" line 50) "


even when i run any script for checking xgraph it generates the same error as :
"can't read "EnableHierRt_": no such variable"

please help me anybody . thank you in advance
 
Old 04-22-2012, 12:40 PM   #2
simz
LQ Newbie
 
Registered: Apr 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Mr. knudfl: please reply to my problem, i am still waiting. i reinstalled ns-2.33 on fedora-14 and when i run the tcl script i got an error :
"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"


please help me sir, i am waiting for your reply....
 
Old 04-25-2012, 03:54 AM   #3
simz
LQ Newbie
 
Registered: Apr 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
i installed mobiwan on ns-2.33
now when i run the simple-mipv6.tcl script an error is generated as below:


"[root@riaz tcl_scripts]# ns-mobiwan simple-mipv6.tcl
num_nodes is set 5
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl (except for MobiWAN simulations)
INITIALIZE THE LIST xListHead

>-------------------- NS Addressing --------------------<
Domains (domain_num) : 2
Clusters (cluster_num) : 1 5
Nodes (nodes_num) : 1 1 3 1 1 1
>-------------------------------------------------------<

Segmentation fault (core dumped)
[root@riaz tcl_scripts]#
"
please help... thanks
 
Old 05-02-2012, 09:11 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,697

Rep: Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291
Welcome to LQ.

Which version of Fedora are you using ? ?

Quote:
ns-mobiwan simple-mipv6.tcl
You are not supposed to use a mobiwan patched 'ns' for the default tcl files.
That 'ns' is for mobiwan files mostly.

Please save a copy of an unpatched 'ns' as e.g. ns233-orig
to use for all other tcl files.

.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ns-2.33 with mobiwan errors Riaz Khan Linux - Newbie 1 05-04-2012 05:34 AM
Mobiwan and NS 2.34 ? Augengrun Linux - Networking 16 04-01-2012 08:49 AM
Mobiwan for Ns2.33 bsyew Linux - Newbie 37 01-22-2012 05:16 AM
not able to run tcl for mobiwan manjunath11 Linux - Newbie 6 11-05-2010 03:18 AM
Problems, problems, problems. Lets start with the ES 1868 AudioDrive Kre8ive Linux - Newbie 1 08-06-2003 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration