LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 11-26-2014, 02:15 PM   #31
mary1001
Member
 
Registered: Jul 2014
Location: Iran
Posts: 76

Rep: Reputation: Disabled

why you say this?
i had added a new routing like AODV to ns2.
as i install ns2.35 in ubuntu12.04 , i use this ns2-install-instructions that i attach here and in this where i highlight ,i should add PATH text to .bashrc ,
only this i do.
Attached Files
File Type: pdf ns2.35 installation.gooooood.pdf (103.8 KB, 22 views)

Last edited by mary1001; 11-26-2014 at 02:17 PM.
 
Old 11-26-2014, 03:10 PM   #32
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #31 .

The old "year 1999 text" about "adding *PATHīs to .bashrc"
was meant for a "University Computer" where you had no
write permissions to /usr/.

When it's your computer, you can do :
$ cd ns-allinone-2.35/ns-2.35/ && sudo make install
('make install' will copy the executable 'ns' to /usr/local/bin/.)
Or you can do $ sudo cp ns-protocol-name /usr/local/bin/.
* Which you will have to do when using multiple ns2 versions →
You can only have one executable by name 'ns'.

The executable 'ns-<any-name>' is hard coded to know the location
of itīs libraries : ns-allinone-2.34/{ lib/*, bin/* }
I.e. adding a *PATH text to .bashrc makes no sense at all.

Xgraph : $ sudo apt-get install xgraph
Nam : If nam works →
$ cd ns-allinone-2.35/nam-*/ && sudo make install
.. Or use a valid nam package, post #2 here :
http://www.linuxquestions.org/questi...-4175524760/#2

About the ns2 instructions you can find on the Internet :
The most are written by young students using Linux and ns2 for the first time.
Mostly just a copy of the texts written by other young students.
And : Don't believe everything you can read on the Internet.

-
 
Old 11-28-2014, 05:17 AM   #33
mary1001
Member
 
Registered: Jul 2014
Location: Iran
Posts: 76

Rep: Reputation: Disabled
So now what should I do? Should I remove the path ?
 
Old 11-28-2014, 07:02 AM   #34
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #33 .

It's your choice. As long as you avoid using $ ns
or $ nam , an ns2 *PATH text in .bashrc makes no harm.

Read post #22 ...
/usr/local/bin/{ns, ns-orig, ns-mannasim, ns235-mannasim},
etc. etc.
 
Old 11-28-2014, 09:15 AM   #35
mary1001
Member
 
Registered: Jul 2014
Location: Iran
Posts: 76

Rep: Reputation: Disabled
But why I can run any scenario on wired node.thay are not any problem
 
  


Reply

Tags
mannasim, ns2, wsn


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ns2.33 intallation and path setting vahitha Fedora 29 11-22-2015 10:15 AM
want to install ns2.29.3 along with mannasim patch for ns2.29 jeevanpinto Linux - Software 4 10-02-2013 12:09 AM
How to install Mannasim on Ns2.33 Aska123 Linux - Wireless Networking 1 04-05-2013 03:50 AM
path in ns2 raoatta Linux - Networking 3 10-01-2008 02:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration