LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-09-2013, 10:08 AM   #1
chenil
LQ Newbie
 
Registered: Apr 2013
Posts: 21

Rep: Reputation: Disabled
setdest error in NS-2.34


hi...
I was trying to use setdest for generating random moments in NS-2.34 on Ubuntu 10.10

Output is:

~/ns-allinone-2.34/ns-2.34/indep-utils/cmu-scen-gen/setdest$ setdest -n 50 p 100 M 5 t 200 x 800 y 800 >scen-50-5

usage:

<original 1999 CMU version (version 1)>
setdest -v <1> -n <nodes> -p <pause time> -M <max speed>
-t <simulation time> -x <max X> -y <max Y>

OR
<modified 2003 U.Michigan version (version 2)>
setdest -v <2> -n <nodes> -s <speed type> -m <min speed> -M <max speed>
-t <simulation time> -P <pause type> -p <pause time> -x <max X> -y <max Y>
(Refer to the script files make-scen.csh and make-scen-steadystate.csh for detail.)

it is generating scen-50-5 file but itz empty...
Please tell me where i am going wrong?
 
Old 05-09-2013, 11:15 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,286

Rep: Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164Reputation: 3164
You have some illegal hyphens ( - )
Quote:
setdest -n 50 –p 100 –M 5 –t 200 –x 800 –y 800 >scen-50-5
Must be :
Code:
setdest -n 50 -p 100 -M 5 -t 200 -x 800 -y 800 > scen-50-5
... Then "scen-50-5" ~150 kB, is created.

-

Last edited by knudfl; 05-09-2013 at 11:22 AM.
 
1 members found this post helpful.
  


Reply

Tags
setdest


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
[SOLVED] Setdest Command not found in NS2.33 vishalpolara Linux - Newbie 4 01-12-2013 02:50 AM
Error 502 : Display Fatal Error Message, Error pushing image, dbpaCT failed! HaloCheng Linux - Newbie 1 09-12-2012 12:02 PM
how to access setdest function in ns2 naren123.k Programming 1 04-26-2011 03:39 PM
[SOLVED] php5 ./configure error: (FILENAME=- FNR=27) fatal error: internal error richinsc Linux - Software 2 07-08-2010 09:20 AM
Sendmail: eocket wedge , 504 error , dsn error, mail relay connection error djcs Debian 0 03-03-2009 12:41 AM


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