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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-13-2011, 08:12 AM
|
#1
|
LQ Newbie
Registered: Sep 2011
Posts: 13
Rep:
|
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..
|
|
|
06-07-2012, 03:00 AM
|
#2
|
LQ Newbie
Registered: Jun 2009
Posts: 3
Rep:
|
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.
|
|
|
06-07-2012, 04:49 AM
|
#3
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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.
|
|
|
06-07-2012, 02:04 PM
|
#4
|
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509
|
Quote:
Originally Posted by ttungl
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...
|
|
|
02-23-2013, 01:50 PM
|
#5
|
LQ Newbie
Registered: Feb 2013
Posts: 4
Rep:
|
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?
|
|
|
02-23-2013, 03:23 PM
|
#6
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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 ?
-
|
|
|
02-24-2013, 09:03 AM
|
#7
|
LQ Newbie
Registered: Feb 2013
Posts: 4
Rep:
|
Quote:
Originally Posted by knudfl
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.
|
|
|
02-24-2013, 09:44 AM
|
#8
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 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'.
-
|
|
|
All times are GMT -5. The time now is 04:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|