LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-13-2011, 08:12 AM   #1
raji27
LQ Newbie
 
Registered: Sep 2011
Posts: 13

Rep: Reputation: Disabled
NS2 simulator in manet


I've added a malicious node based on http://elmurod.net/?p=196 i've recompiled the aodv code, i get the following error while compiling the tcl file. In the tcl file i've just added 3 mobile nodes along with malicious node.

SORTING LISTS ...DONE!
ns: _o35 hacker:
(_o35 cmd line 1)
invoked from within
"_o35 cmd hacker"
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 "_o35" line 2)
(SplitObject unknown line 2)
invoked from within
"_o35 hacker"


pls help me in correcting this error.! else just clarify me what the error is..
 
Old 06-07-2012, 03:00 AM   #2
ttungl
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: Disabled
I got the same problem but on the o_215 error! did you resolve this problem yet? please discuss with me through my email at ttungl [at] gmail [dot] com. Thank you very much. Best regards.
 
Old 06-07-2012, 04:49 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Ref. http://elmurod.net/?p=196
Have you looked at the correspondence below the tutorial text ? ?

There are some edits ( to the tcl file ) :

Quote:
""smartnode on January 16, 2010 at 3:18 pm said:

Shen, Mehdi sorry guys. I have made mistake here, which I have fixed.

You must add following code ... ""
.

Last edited by colucix; 06-07-2012 at 02:01 PM. Reason: Added QUOTE tags in order to make this post more intelligible. If you don't mind, knudfl.
 
Old 06-07-2012, 02:04 PM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by ttungl View Post
I got the same problem but on the o_215 error! did you resolve this problem yet? please discuss with me through my email at ttungl [at] gmail [dot] com. Thank you very much. Best regards.
Why not discuss the main topic here, instead?! You know... LinuxQuestions is a place for sharing knowledge about Linux...
 
Old 02-23-2013, 01:50 PM   #5
mhd_abd
LQ Newbie
 
Registered: Feb 2013
Posts: 4

Rep: Reputation: Disabled
i take the following errors :
num_nodes is set 7
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Starting Simulation...
ns: _o53 hacker:
(_o53 cmd line 1)
invoked from within
"_o53 cmd hacker"
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 "_o53" line 2)
(SplitObject unknown line 2)
invoked from within


plz ,who can help me?
 
Old 02-23-2013, 03:23 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post # 5, @mhd_abd : Welcome to LQ.

Sorry, much more information is required to answer.
Your error could be caused by any 'ns' / any file.tcl .

Which file.tcl is it about ? ?
Which version of ns-2.xx ?
And : Is the "ns" in question patched for a specific protocol ?

-
 
Old 02-24-2013, 09:03 AM   #7
mhd_abd
LQ Newbie
 
Registered: Feb 2013
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Post # 5, @mhd_abd : Welcome to LQ.

Sorry, much more information is required to answer.
Your error could be caused by any 'ns' / any file.tcl .

Which file.tcl is it about ? ?
Which version of ns-2.xx ?
And : Is the "ns" in question patched for a specific protocol ?

-
thanks sir for replay.
my ns "wireless.tcl" file.
ns version is 2.34.
if you need i can send my "wireless.tcl" file.
 
Old 02-24-2013, 09:44 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 7 : Is it ns-2.34/tcl/ex/wireless.tcl ? ?

If it's a modified "wireless.tcl" :
Please attach the file as wireless.tcl.txt
Attachments : The 'paper clip' tool in the 'Advanced Editor'.

-
 
  


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
NS2 Simulator raji27 Linux - Software 7 03-28-2012 03:05 PM
NS2 simulator raji27 Linux - Software 1 09-12-2011 06:34 PM
searching for ns2 codes based on MANET sukrutha Linux - Newbie 1 06-18-2011 03:03 PM
ns-2 simulator implementing a manet routing protocol myrto Programming 1 07-09-2007 03:27 PM
NS2 - network simulator liquid.o Linux - Networking 0 11-24-2006 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:59 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
Open Source Consulting | Domain Registration