[ns] setdest not working (neeraj gupta)

mayank aggarwal mayankaggr at gmail.com
Thu Jun 12 15:23:22 PDT 2008


Hi,

I believe you are making a mistake in the notation for speed.

The new format is like the following:

./setdest -n -p -M -t -x -y

M-> for speed


Mayank
On Sun, Jun 8, 2008 at 8:00 PM, <ns-users-request at isi.edu> wrote:

> Send Ns-users mailing list submissions to
>        ns-users at isi.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://mailman.isi.edu/mailman/listinfo/ns-users
> or, via email, send a message with subject or body 'help' to
>        ns-users-request at isi.edu
>
> You can reach the person managing the list at
>        ns-users-owner at isi.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ns-users digest..."
>
>
> Today's Topics:
>
>   1.  ns-allinone-2.30 and 2.33 installation problems in linux
>      (crystal_maple)
>   2. setdest not working (neeraj  gupta)
>   3. A question reg TDMA MAC in ns2 (Sarvesh Kumar)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 7 Jun 2008 22:48:08 -0700 (PDT)
> From: crystal_maple <07120226 at bjtu.edu.cn>
> Subject: [ns]  ns-allinone-2.30 and 2.33 installation problems in
>        linux
> To: ns-users at ISI.EDU
> Message-ID: <17688498.post at talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> Dear all,
>   I have some problems when I installed ns2 in linux, I use redhat, and the
> kernel version is 2.4.21-20.EL,
> the gcc version is gcc-3.2.3
> it shows:
>
> /usr/ns/ns-allinone-2.30/tk8.4.13/generic/tk3d.c: In function
> `TkDebugBorder':
> /usr/ns/ns-allinone-2.30/tk8.4.13/generic/tk3d.c:1388: `borderPtr'
> undeclared (first use in this function)
> /usr/ns/ns-allinone-2.30/tk8.4.13/generic/tk3d.c:1391: invalid operands to
> binary *
> /usr/ns/ns-allinone-2.30/tk8.4.13/generic/tk3d.c:1391: syntax error before
> ')' token
> /usr/ns/ns-allinone-2.30/tk8.4.13/generic/tk3d.c:1394: request for member
> `borderTable' in something not a structure or union
> /usr/ns/ns-allinone-2.30/tk8.4.13/generic/tk3d.c:1394: request for member
> `borderTable' in something not a structure or union
> /usr/ns/ns-allinone-2.30/tk8.4.13/generic/tk3d.c:1396: syntax error before
> ')' token
> /usr/include/sys/stat.h: At top level:
> /usr/ns/ns-allinone-2.30/tk8.4.13/generic/tk3d.c:1134: storage size of
> `shiftTable' isn't known
> /usr/ns/ns-allinone-2.30/tk8.4.13/generic/tk3d.c:31: warning: `BorderInit'
> declared `static' but never defined
> /usr/ns/ns-allinone-2.30/tk8.4.13/generic/tk3d.c:36: warning: `Intersect'
> declared `static' but never defined
> /usr/ns/ns-allinone-2.30/tk8.4.13/generic/tk3d.c:39: warning: `ShiftLine'
> declared `static' but never defined
> {standard input}: Assembler messages:
> {standard input}:702: Error: symbol `dy' is already defined
> {standard input}:708: Error: symbol `dx' is already defined
> {standard input}:755: Error: symbol `q' is already defined
> {standard input}:761: Error: symbol `p' is already defined
> {standard input}:767: Error: symbol `q' is already defined
> {standard input}:773: Error: symbol `q' is already defined
> make: *** [tk3d.o] Error 1
> tk8.4.13 make failed! Exiting ...
>
> The similar problem occurred when I installed ns-allinone-2.33.
> Can anybody help me? Thanks very much.
> --
> View this message in context:
> http://www.nabble.com/ns-allinone-2.30-and-2.33-installation-problems-in-linux-tp17688498p17688498.html
> Sent from the ns-users mailing list archive at Nabble.com.
>
>
>
> ------------------------------
>
> Message: 2
> Date: 8 Jun 2008 13:31:10 -0000
> From: "neeraj  gupta" <neerajgupta37 at rediffmail.com>
> Subject: [ns] setdest not working
> To: ns-users at ISI.EDU
> Message-ID: <20080608133110.2413.qmail at f4mail-234-242.rediffmail.com>
> Content-Type: text/plain;       charset=iso-8859-1
>
>  ?
> hi all
>
> i am trying to genetrate the senario file using setdest but it is giving
> the error that asset(speed !=0) not meet. can you tell me the problem
>
> Neeraj Gupta
> Assistant Professor
> HOD, CSE & IT Department
> Hindu College of Engineering
> Sonepat
>
> ------------------------------
>
> Message: 3
> Date: Sun, 8 Jun 2008 19:40:26 +0100 (BST)
> From: Sarvesh Kumar <v.sarvesh at yahoo.co.in>
> Subject: [ns] A question reg TDMA MAC in ns2
> To: ns-users at ISI.EDU
> Message-ID: <337393.54527.qm at web8909.mail.in.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hello,
>
> I was trying to use the TDMA as my MAC.I set the
> slot_packet_len_ to 500 bytes.Using this value it
> calculated the slot duration as 2ms.
>
> I used UDP/CBR and my CBR packet size was 1000 bytes
> and I was sending at 8Kbps.So my packetsize is greater
> than the slot_packet_len_ but it is transmitted in one
> slot.How is that possible? What is the relationship
> between my packetsize and the slot_packet_len_?
>
> I appreciate your replies.
>
> Thanks,
> Sarvesh
>
>
>
>      Explore your hobbies and interests. Go to
> http://in.promos.yahoo.com/groups/
>
>
>
> ------------------------------
>
> _______________________________________________
> Ns-users mailing list
> Ns-users at isi.edu
> http://mailman.isi.edu/mailman/listinfo/ns-users
>
>
> End of Ns-users Digest, Vol 54, Issue 8
> ***************************************
>



-- 
Regards
Mayank Aggarwal
www.ece.osu.edu/~aggarwam <http://www.ece.osu.edu/%7Eaggarwam>
614-893-1108



-- 
Regards
Mayank Aggarwal
www.ece.osu.edu/~aggarwam
614-893-1108


More information about the Ns-users mailing list