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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
12-05-2014, 11:20 AM
|
#1
|
Member
Registered: Jul 2014
Location: Iran
Posts: 76
Rep:
|
run a scenario in ns2
hi
i run a scenario in ns2 ,but i dont know it run completly or no!! i put some words in the end of the scenario to displayed when the scenario finish,but it does not display. the output after running the scenario is this:
num_nodes is set 40
INITIALIZE THE LIST xListHead
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
i attach the scenario here
|
|
|
12-05-2014, 12:11 PM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
.. it does not display : Please install a valid nam package :
$ sudo apt-get remove nam
... and remove any nam you may have on your OS,
i.e. 'nam' executable´s and nam-1.**/ folders.
Nam packages that will work, post #2 here ...
http://www.linuxquestions.org/questi...-4175524760/#2
Note : A file.tcl must be attached as file.tcl.txt,
and a unique file name must be used, like sm3-mary1001.tcl.txt
About your file : No issues here, the nam window opens OK.
-
|
|
|
12-05-2014, 12:36 PM
|
#3
|
Member
Registered: Jul 2014
Location: Iran
Posts: 76
Original Poster
Rep:
|
yes yes my nam has an error, when i run nam command in terminal it has this error : Segmentation fault
what should i do?
|
|
|
12-05-2014, 12:45 PM
|
#4
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
← #3 .
Segmentation fault :
That's the error from all the faulty Ubuntu nam packages.
It's old news :
No valid nam packages for any later Ubuntu versions for many months.
Solution :
Install a proper package for your OS → Read post #2.
Any doubts : Specify your OS →
a) Please show the output from the command $ uname -m
b) $ cat /etc/issue
-
Last edited by knudfl; 12-05-2014 at 12:50 PM.
|
|
|
12-05-2014, 12:53 PM
|
#5
|
Member
Registered: Jul 2014
Location: Iran
Posts: 76
Original Poster
Rep:
|
my os is linux mint 17.1
the output :
HP-PC ex # uname -m
x86_64
HP-PC ex # cat /etc/version
cat: /etc/version: No such file or directory
HP-PC ex #
|
|
|
12-05-2014, 01:01 PM
|
#6
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
← #5 . OK, Mint 17.1 - 64bits.
Released a few days ago. Mint 17.1 = Ubuntu 14.04.
You can use the package nam_1.15-10-ubuntu14_amd64.deb :
1) $ sudo apt-get remove nam
2) Download the new package, click the package,
and your 'Package Installer' will install it.
-
|
|
|
12-05-2014, 11:39 PM
|
#7
|
Member
Registered: Jul 2014
Location: Iran
Posts: 76
Original Poster
Rep:
|
thank you so much, my problem solved with your guideness, thanksssssss
|
|
|
01-24-2015, 12:50 PM
|
#8
|
Member
Registered: Jul 2014
Location: Iran
Posts: 76
Original Poster
Rep:
|
hi
can anyone send me a scenario like the one in #1 (sm.tcl) ?
wireless with more than 30 nodes and aodv routing....
i want to know if the problem is with my scenario !!!
|
|
|
01-24-2015, 04:34 PM
|
#9
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
← #8 .
The file in post #1 is not a scenario file. Is a simulation file.
AODV with > 30 nodes : Please see this example → →
http://enggedu.com/ns2_simulator/ns2...ffic/index.php
= Aodv-enggedu.tcl : Can be expanded to more than 30 nodes.
My test (-example) is with 33 nodes : Aodv-enggedu-33.tcl
-
|
|
|
All times are GMT -5. The time now is 05:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|