LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices

Reply
 
Search this Thread
Old 11-16-2009, 09:33 AM   #1
pavan_p
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
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.

Last edited by pavan_p; 11-16-2009 at 09:34 AM.
 
Old 11-16-2009, 10:27 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,077

Rep: Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713
Quote:
Originally Posted by pavan_p View Post
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.
 
Old 11-16-2009, 11:30 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,265

Rep: Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661Reputation: 2661
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.
.....

Last edited by knudfl; 11-16-2009 at 02:43 PM.
 
  


Reply

Tags
while


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
new simulator problem Nanda27 Linux - Newbie 38 05-24-2012 05:24 PM
ns2- network simulator problem vivekr Linux - Networking 5 02-16-2011 01:25 PM
Network Simulator installation suhas bharadwaj Linux - Networking 1 07-01-2009 02:07 AM
joystick problem with gl-117 flight simulator vaisarger Linux - Games 1 07-06-2006 05:12 AM
Problem with insatlling a Simulator-undefined symbol flock invinciblemk Linux - Software 0 03-23-2004 11:06 AM


All times are GMT -5. The time now is 08:48 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration