LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with the installation of NS-2 Simulator (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-the-installation-of-ns-2-simulator-769437/)

pavan_p 11-16-2009 09:33 AM

problem with the installation of NS-2 Simulator
 
Hi friends i m not d regular user of Ubantu. But for my main project perpose i installed NS-2 on my system in ubantu 8.04. All as went correct but finally when i type

prudhvi@prudhvi-desktop:~/ns-allinone-2.34/ns-2.34$ ns
Usage: host [-v] [-a] [-t querytype] [options] name [server]
Listing: host [-v] [-a] [-t querytype] [options] -l zone [server]
Hostcount: host [-v] [options] -H [-D] [-E] [-G] zone
Check soa: host [-v] [options] -C zone
Addrcheck: host [-v] [options] -A host
Listing options: [-L level] [-S] [-A] [-p] [-P prefserver] [-N skipzone]
Common options: [-d] [-f|-F file] [-I chars] [-i|-n] [-q] [-Q] [-T] [-Z]
Other options: [-c class] [-e] [-m] [-o] [-r] [-R] [-s secs] [-u] [-w]
Special options: [-O srcaddr] [-j minport] [-J maxport]
Extended usage: [-x [name ...]] [-X server [name ...]]

can any help me here. i m stucked up here.

TB0ne 11-16-2009 10:27 AM

Quote:

Originally Posted by pavan_p (Post 3758754)
Hi friends i m not d regular user of Ubantu. But for my main project perpose i installed NS-2 on my system in ubantu 8.04. All as went correct but finally when i type

prudhvi@prudhvi-desktop:~/ns-allinone-2.34/ns-2.34$ ns
Usage: host [-v] [-a] [-t querytype] [options] name [server]
Listing: host [-v] [-a] [-t querytype] [options] -l zone [server]
Hostcount: host [-v] [options] -H [-D] [-E] [-G] zone
Check soa: host [-v] [options] -C zone
Addrcheck: host [-v] [options] -A host
Listing options: [-L level] [-S] [-A] [-p] [-P prefserver] [-N skipzone]
Common options: [-d] [-f|-F file] [-I chars] [-i|-n] [-q] [-Q] [-T] [-Z]
Other options: [-c class] [-e] [-m] [-o] [-r] [-R] [-s secs] [-u] [-w]
Special options: [-O srcaddr] [-j minport] [-J maxport]
Extended usage: [-x [name ...]] [-X server [name ...]]

can any help me here. i m stucked up here.

This is the same question you posted in your other thread.

And I'm not sure why you're "stucked up"...read the messages. You're typing in "ns", and it needs options. It's telling you what the options are, so put them in. Read the documentation and man pages that came with ns-2

Based on a small bit of Google searching, the latest is NS-3.

knudfl 11-16-2009 11:30 AM

Welcome to LQ.

May be read some documentation in "the other thread"
http://www.linuxquestions.org/questi...tu-8.1-757641/
> > post # 2

Using ' ns ' for a start : ' ns "example".tcl '.
Some files will then open the " nam console ".
.. and may be require you to hit the play button ( > ).
Some other will create a file ' nam.out ' only,
.. to be run with ' nam nam.out '.

The basic examples : see post # 4 , in "the other thread"
( they are from the ns / nam tutorial ).
And you have 468 files.tcl in ns-allinone-2.34/ns-2.34/tcl/
.. also to be used with ' ns <file>.tcl '.
.....

Also please use the LQ Search :
"Main Menu" > Search → Tag Name = ns2
.....
.....

P.S. : @ TB0ne : NS-3 is a very different beast, not an ns2 update.
.....


All times are GMT -5. The time now is 09:19 AM.