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.
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.
I want to run LTE simulations, NS-3 supports it. but for me I'm more familiar with NS-2.
so I read about patch which can solve the issue, so please can anyone answer my questions...
1- this patch is only for ns-2.33 ? (mine is 2.32)
2- can u please tell me how to install this patch (in details)
3- this patch works with both (32 bit & 64 bit)Ubuntu?
4- which version of Ubuntu is better to run LTE model?
5- Any body tried this patch on CentOS?
any help will be very appreciated.
thx a lot.
Distribution: pclos2015, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Welcome to LQ.
(3) Generally : All ns2 is for a 32bits OS.
However, most versions ns-2.26 .. ns-2.35 will work with a 64bits OS.
But always with an inferior validate result.
Some of the extra added protocols (patches) will work with 64bits →
→ → Not LTE . Conclusion : Use a 32bits OS.
(1+3) LTE has so far only been tested with ns-2.33 .
** Some editing must be done to port LTE to a later version.
About ns-2.32 :
You can have as many versions of ns-allinone-2.xx as you want,
installed at the same time. But : Do not add any *PATH text to .bashrc :
Never required !
(4) Any 32bits Ubuntu version will work with LTE.
(5) No doubt that LTE will also work with the 32bits CentOS 6.5 .
then i put it in new document called: tk-8.4-lastevent.patch
then I put this file in a new folder which I renamed it to:
after this I apllied the patch and thats what I've got:
~/ns-2/ns-2.33/allinone/tk8.4.18$ patch -p0 < tk-8.4-lastevent.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|--- generic/tk.h.orig 2008-02-06 16:31:40.000000000 +0100
|+++ generic/tk.h 2008-07-24 08:21:46.000000000 +0200
File to patch:
so plz .... any help to avoid this error ?
thx a lot
also I read that I have to install subversion and libapache2-svn....
as I understood, this step comes befor patching step...
but also I got this error when I run this command: apt-get install subversion
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
so any idea for this error & the previous one ?
thanks a lot
3) Put the patch into the directory: ns-allinone-2.33/tk8.4.18/
4) Follow the next instructions
patch -p0 < tk-8.4-lastevent.patch
cd ns-2.33/ && mv ns ns233 && make clean && mv Makefile Makefile.org
svn checkout http://lte-model.googlecode.com/svn/trunk/ lte-model-read-only