Linux - SoftwareThis 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.
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.
Dear knudfl
I am sorry, Dear I install ns2.33 with ubuntu 12.4 with out any problems and I maked the patch for OLSR protocol after search for the steps from here. but now I don't have the awk for OLSR protocol
please can you send it to me
thanks so much
---------- Post added 06-02-14 at 08:30 AM ----------
Dear knudfl
I am sorry, Dear I install ns2.33 with ubuntu 12.4 with out any problems and I maked the patch for OLSR protocol after search for the steps from here. but now I don't have the awk for OLSR protocol
Dear knudfl
I am sorry, Dear I install ns2.33 with ubuntu 12.4 with out any problems and I maked the patch for OLSR protocol after search for the steps from here. but now I don't have the awk for OLSR protocol
please can you send it to me
thanks so much
---------- Post added 06-02-14 at 08:30 AM ----------
Dear knudfl
I am sorry, Dear I install ns2.33 with ubuntu 12.4 with out any problems and I maked the patch for OLSR protocol after search for the steps from here. but now I don't have the awk for OLSR protocol
please can you send it to me
thanks so much
Please read the LQ Rules; you hijacked another thread with a non-related question, then posted this same question FOUR TIMES. Also, we are NOT going to email you things...we will be happy to help you with questions/problems, but providing free, personalized one-on-one email tech support isn't going to happen.
Dear TB0ne
Thanks for your help but the awk is not work please can you send another one if you have
Sara83:
First, please read the guidelines for "How to ask a smart question". Just saying "is not work", tells us ABSOLUTELY NOTHING about what problem(s) you had. Since you don't tell us what the problem is, how do you expect anyone to be able to help you fix it?
Second, please do not ask people to look things up for you. Google can give you the results you want, as knudfl kindly pointed out. I easily found links to what you were looking for, as did he. Nothing prevented you from finding the same results.
Dear TB0ne
When I need to calculate the awk for olsr I have this problem, and the same problem with the aodv
ht@hts:~/Desktop/result for three protocols/resulte olsr$ gawk -f throughput.awk outa.tr
gawk: throughput.awk:481: (FILENAME=outa.tr FNR=2) fatal: division by zero attempted
Dear TB0ne
When I need to calculate the awk for olsr I have this problem, and the same problem with the aodv
ht@hts:~/Desktop/result for three protocols/resulte olsr$ gawk -f throughput.awk outa.tr
gawk: throughput.awk:481: (FILENAME=outa.tr FNR=2) fatal: division by zero attempted
Please, go back and re-read what was told to you by myself and knudfl.
Knudfl gave you a link to 68 scripts...did you try them, as instructed? Did you perform the obvious step of looking at the contents of that script? From the message, it seems very clear that one of the variables you're trying to work with doesn't have data in it...hence the "zero" contents. It tells you the line the error is on. Did you look at it?
Really?? You tried ALL 68 scripts, and NONE of them worked???? Did you look at the scripts, the errors, and try to determine where the error was? What errors did you get on all 68 of those scripts???
ht@hts:~/Desktop/result for three protocols/resulte olsr$ gawk -f throughput.awk outa.tr
gawk: throughput.awk:481: (FILENAME=outa.tr FNR=2) fatal: division by zero attempted
ht@hts:~/Desktop/result for three protocols/resulte olsr$ gawk -f throughput.awk outa.tr
gawk: throughput.awk:481: (FILENAME=outa.tr FNR=2) fatal: division by zero attempted
Right; that's the one you posted first. Are you saying you get the EXACT SAME ERROR on all 68 different scripts?? And again, have you actually LOOKED AT the script?? Specifically, as told to you before, line 481, where the error is? It's telling you exactly where the error is; again, you are getting that error because one of the variables you're feeding it is zero. Meaning you haven't made the changes necessary for it to run with your system, or have an error.
YOU will have to look at that script, and correct the error.
YOU need to look at the script, on line 481, AS THE ERROR MESSAGE TELLS YOU
Since you don't POST THE SCRIPT, how do you expect us to be able to fix it for you?
You need to TRY THE OTHER 68 scripts, as you were asked to before.
We are NOT going to fix/recode your scripts for you. You actually have to show some effort of your own. I highly doubt that you tried all 68 of the other scripts, and at this point, you have shown ZERO effort of your own to even fix the one you have. Which, incidentally, someone else had to look up for you.
Again, the error is on line 481 of that script; you haven't posted that script, the relevant lines, or told us what is being referenced there, or if you made the necessary changes to the script in order for it to work with your system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.