Hi,

obviously this NS isn't the simulator. Use which command to locate
where is the command NS:

"which ns"

the output must be a path to that ns executable.

This will help you to find this alien NS.

Anyway, you must put the correct path to NS (simulator) in your PATH variable.

Ask google for a tutorial about how to change PATH variable in Linux. It's easy.

Put the folder of NS in first place, so when you type NS, the correct
NS will be executed.

Sidney Doria
Brazil

2008/11/24 rtluser <[EMAIL PROTECTED]>:
>
>
> Hi,
> Im a totaly newbie on linux and a couple a days ago i installed ubuntu in
> order to use ns2 (Network simulator)
>
> I used a the tutorials i found on the net,and didn't get any errors during
> the installation.
> When i wrote 'ns' in the terminal i get this :
>
> 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 ...]]  server [name ...]]
>
> The guide says i should see a '%' instead of '$'...
>
> When i try to run a tcl file using the command 'ns example1.tcl'
> I got this :
> Nameserver not running
> example1.tcl NS record not found, try again
>
> Did you come up with this problem?
>
> Thanks in advance'
> Avi
>
> P.S sorry for my english
>
>
> --
> View this message in context: 
> http://www.nabble.com/Problem-with-NS2-installation-tp20665635p20665635.html
> Sent from the ns-users mailing list archive at Nabble.com.
>
>



-- 
Sidney Doria
Redes ad hoc móveis
Mestrado em Computação
UFCG
Brasil

"Nessa jornada, o conhecimento será o seu escudo..."
(Mestre dos Magos no episódio do grimoire de ouro)

Reply via email to