Linux - NewbieThis 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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
My very first post here on this website. I am due an assignment soon and I'm assumed that i'll finish it off in the end never realizing that it would be a pain in the back.
Now, I'm wanting to do a performance comparison between AODV & OLSR and cover some basics metrics like throughput, jitter, eed, under NS2 and am using Ubuntu. Now, I found this software called 'NS2 Scenario Generator' who basically generates the tcl scripts for you which obviously would me amazing as I have very little knowledge in Programming but the only problem I'm having with this software is that it only does Proactive protocols, so it supports AODV but not OLSR.
So I'm really confused on what to do and how to do it?
And I wan't to be very open and honest, I have not got much time left to finish this off and this is like a big thing for me as if I don't do well in this assignment this will be the end of the world for me. Like literally.
So, I'm looking for some suggestions on how can I solve this problem?
I can understand that it is a lengthy process to go through from that but I barely got 2 weeks or so to get this done. I feel such an idiot that I left it all till the end. I have learned my lesson now seriously I'm so furious at this time.
As I said my assignment is not something nobody has ever done it before, as I can find numerous examples online meaning so much papers, articles published online who have already done this and are very similar to what I am doing but obviously none of of them explains on HOW TO DO IT? Meaning the whole process to get to that stage.
I mean from what I can understand is that I would do the AODV protocol experiments separate from the OLSR and then compare the output files received from each protocol by using xgraph, but I can't really seems to find an way to do this.
Also I have already been through the link you supplied, but nothing really matches there to my problem. Thanks anyway!
That's what I said to you in my previous post that there are many papers online like this but obviously, they don't give away the tcl scripts or any information on how this example was conducted. I have about 100's of links like this but none of them would explain on how to do it.
And, I don't want to just copy paste somebody else's work for the sake of my assignment. I really wan't to do it on my own and then know how to do it and obviously emend it according to my requirements. That's why I posted this on this forum to see if anybody knows the steps involved for this assignment.
I do "/.configure" it comes up with this:
checking for init.tcl... ../lib/tcl8.5
checking for http.tcl... ../lib/tcl8.5/http1.0
checking Tcl http.tcl library... yes
checking for tclsh8.4.19... no
checking for tclsh8.4... /usr/bin/tclsh8.4
configure: error: Installation of tcl seems incomplete or can't be found automatically.
Please correct the problem by telling configure where tcl is
using the argument --with-tcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tcl=no.
Can anyone please tell me how to get my way round it? Thanks
`ns-2.35' : You will have to be lucky to use "./configure'.
I.e. ns-2.35 has a less advanced build system than ns-2.26 ..ns-2.34 .
The safe way is to go to the top directory, and do "./install".
** There is an Ubuntu example here, post #11 : http://www.linuxquestions.org/questi...4175490225/#11 →
→ Start from scratch (tar xvf ns-allinone-2.35.tar.gz) ,,,
or do a 'make distclean' in ns-allinone-2.35/ns-2.35/ .
When the um-olsr/ olsr/ is in place, and the patching has been done,
change to the topdirectory "ns-allinone-2.35/" and use :
$ export CC=gcc-4.4 CXX=g++-4.4 && ./install
? Any questions ? Then please specify your OS :
a) $ uname -m <Enter>
b) The name and version of your OS.
I have successfully managed to get OLSR working in NS2.
Now, the situation is, I have a tcl file for AODV & a tcl file for OLSR, which both seems to be working fine. As I can get 2 output files from both Protocols, 1 is ".tr" file and another is ".nam" file.
Also, I have also got some awk scripts for Jitter, Throughout, PDR and etc.
Now, I'm absolutely confused on what to do and how to do?
Would anyone be able to tell me the steps I have to do in order to finish off with this assignment please?
Thanks, Also, some list of commands would be really really appreciated.
Somehow after reading through a good number of threads, links and everything I have managed to get 70% of this assignment done. But now I'm stuck on calculating Jitter.
When I use the awk script for calculating Jitter, it terminals prints me this:
# flow flowType src dst time jitter1 jitter2 jitter3 jitter4
Now, I'm not able to understand why it's doing this, where as when I run all other Awk scripts for Throughput, Delay and etc etc, I get a value which I then use to make graphs but when I'm running the awk script for Jitter I get this.
Does anyone know what this is and why I'm getting it?
Thanks for all your support, just need to get this sorted out and that will be pretty much with this.
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
# 9 .
Assume $ awk -f instantJitter.awk out.tr
# flow flowType src dst time jitter1 jitter2 jitter3 jitter4
Now, I'm not able to understand why it's doing this
You can find out "why" when you read the awk script :
The script will print the 8 coloms, flow .. .. jitter1 jitter2 jitter3 jitter4,
.. and use those coloms to print any output. ( If any output at all.)
I didn't find an olsr example that showed any "jitter output" with any awk script.
A good jitter example (LTE) :
A) $ ns-lte eyana.tcl B) $ awk -f instantJitter2009.awk out.tr
... Or B1) $ awk -f instantJitter2009.awk out.tr > y-jitter.txt
... to save the 5,000 lines jitter text ( 450 kB ! ).