Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
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.
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.
I am using Ubuntu 12.04 64bit machine and ns-2.35 on virtual machine
I am getting error while running my modified AODV code
I had done modification and placed all modified code in folder named iaodv at the location same as aodv
I am attaching following things
1. two image of error which I am getting while running tcl file.
2. tcl file that i am trying to execute.
2. all modification that i have done in one zip file named IAODV here.
I am using Ubuntu 12.04 64bit machine and ns-2.35 on virtual machine
I am getting error while running my modified AODV code I had done modification and placed all modified code in folder named iaodv at the location same as aodv I am attaching following things
1. two image of error which I am getting while running tcl file.
2. tcl file that i am trying to execute.
2. all modification that i have done in one zip file named IAODV here.
This dovetails nicely with the several other threads you've opened about AODV and modifying it:
Sorry, we're not going to download your code and fix it for you. Post a SPECIFIC question, and we can try to help, but based on the screen shots, it seems as if it's the same errors you've seen before...so, apply the same solutions you've been given before. YOU wrote this code, didn't you?? Which means you should be able to debug it...again, we're not going to download it and fix it for you. We've given you guidance, links, and instructions..now, you have to apply those things.
No sir I have not been guided to solve the error whose image i had shown, so do guide me for this, so i can work my own way
Sorry, you HAVE been 'guided' before...see the three links in my first reply, and ANY of the advice knudfl gave you in your OTHER threads about AODV. You have everything you need, but aren't applying any of it. Each error is going to be different, and requires you to THINK about the solution. Again, as you were told before, we haven't seen your code..and we are not going to download it and debug it for you.
Sorry, you HAVE been 'guided' before...see the three links in my first reply, and ANY of the advice knudfl gave you in your OTHER threads about AODV. You have everything you need, but aren't applying any of it. Each error is going to be different, and requires you to THINK about the solution. Again, as you were told before, we haven't seen your code..and we are not going to download it and debug it for you.
SIR by seeing my this post you should agree that i had tried possible solution and then after i am looking for solution on this forum and i am glad i am getting response also
SIR by seeing my this post you should agree that i had tried possible solution and then after i am looking for solution on this forum and i am glad i am getting response also
Oh? Why should I agree to this?? Your posts have shown next to ZERO effort on your part, since you've started asking about NS2.
You have NOT "tried possible solution"...since you've been handed it several times, but just don't seem to understand it. You have been asked to tell us which solution(s) you've tried, from what web links, but haven't, and keep posting, asking us to fix your code.
AGAIN: we are not going to debug your code for you. YOU wrote it, and should be able to follow the documentation (which you have ALSO been pointed to, but either haven't read or understood), to fix your issues. Unless you put effort into this, it won't get done. We aren't going to look things up for you, or write/fix your code for you, but will be VERY happy to help you once you show us what effort you've put forth.
Oh? Why should I agree to this?? Your posts have shown next to ZERO effort on your part, since you've started asking about NS2.
You have NOT "tried possible solution"...since you've been handed it several times, but just don't seem to understand it. You have been asked to tell us which solution(s) you've tried, from what web links, but haven't, and keep posting, asking us to fix your code.
AGAIN: we are not going to debug your code for you. YOU wrote it, and should be able to follow the documentation (which you have ALSO been pointed to, but either haven't read or understood), to fix your issues. Unless you put effort into this, it won't get done. We aren't going to look things up for you, or write/fix your code for you, but will be VERY happy to help you once you show us what effort you've put forth.
Sir after showing this image also you are saying that i am not trying its strange for me , you tell me what should i post to get you assured, even i am uploaded my modified tcl file.
Sir after showing this image also you are saying that i am not trying its strange for me , you tell me what should i post to get you assured,
If you don't understand, I don't know how to make it more clear. TELL US what you have tried. Despite being repeatedly asked, all you say is "I tried possible solutions"...but STILL don't tell us what they were, post a link to them, tell us what step(s) you tried, etc.
You have posted three different threads about AODV, and how to modify it, and add new protocols; ALL were/are things you can easily find the answer to with a brief search. This tells us you have NOT searched. You were handed links to documentation, sample code, and given steps...yet CONTINUE to ask what is (essentially), the same question. We can only point you to answers...we can't make you understand them. Unless YOU, PERSONALLY, start to learn from what you were told, there is no point in posting.
Quote:
even i am uploaded my modified tcl file.
And we have told you several times now that we WILL NOT download your code and fix it for you. You have been shown the documentation and given answers. It is now up to you to APPLY that knowledge.
Black images will not be read : No images with text, please.
* I guess you know how to copy / paste a text.
-
Following error is produced when i run tcl file using my new protocol named IAODV
Code:
(_o14 cmd line 1)
invoked from within
"_o14 cmd addr"
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 "_o14" line 2)
(SplitObject unknown line 2)
invoked from within
"_o14 addr"
("eval" body line 1)
invoked from within
"eval $node addr $args"
("default" arm line 2)
invoked from within
"switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 "$node start-dsr"
}
AODV {
set ragent [$self cre..."
(procedure "_o3" line 14)
(Simulator create-wireless-node line 14)
invoked from within
"_o3 create-wireless-node"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o3" line 23)
(Simulator node line 23)
invoked from within
"$ns_ node"
("for" body line 2)
invoked from within
"for {set i 0} {$i < $val(nn)} {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 0 ;# disable random motion
}"
(file "vanetiaodv.tcl" line 59)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.