You are not running the simulation from somewhere
where your environment variables for ns are not properly initialized
according to the NS-2. Init.tcl is one of the primary files executed during
the start of a simulation. Verify that you are executing the file from the
appropriate shell environment.

This can also happen if you are trying to run ns through ddd from KDE, but
you start ddd from KDE while you have installed ns in your home dir (in this
case the X environment does not automatically initializes your Shell
variables).

Or, finally, you might have incorrectly installed ns. Was the installation
carried out
smoothly? No errors reported? However, I suppose that you had no errors
regarding this
part, but I mention it anyway.

-Fk

On 1/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Send Ns-users mailing list submissions to
>         ns-users@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
>         [EMAIL PROTECTED]
>
> You can reach the person managing the list at
>         [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ns-users digest..."
>
>
> Today's Topics:
>
>    1. kindly help me  with these simulations (Ashutosh Srivastava)
>    2. NS 2.29 in X86_64 (Suse 10.0) ([EMAIL PROTECTED])
>    3. Maintaining and Updating vector table (mahesh l)
>    4. qospf extention for ns-2.29 (Fatemeh Karimirad)
>    5. error while running tcl file (anusherin)
>    6. Re: how to reduce the signal range for a mobile node
>       (Hajer FERJANI)
>
>
>
> ---------- Forwarded message ----------
> From: Ashutosh Srivastava <[EMAIL PROTECTED]>
> To: ns-users@ISI.EDU
> Date: Fri, 20 Jan 2006 20:40:35 +0000 (GMT)
> Subject: [ns] kindly help me with these simulations
>
>         dear all ,
>
>   Please go through this scenario that I am supposed to simulate (it is an
> excerpt from a paper) . I have already underlined the part I am unable to
> have under simulate .Please go through the whole mail and kindly send in
> your inputs .I have already mailed about this topic even earlier but could
> not get through ,due to lack of any sort of input .
>
>
>   
> ----------------------------------------------------------------------------------------
>   The DSR implementation built in to NS-2 version 2.1b9 was used as a
> base, and some slight modifications were made to simulate the sinkhole
> attacker node. The simulation environment was composed of 20 wireless nodes,
> each with a transmission radius of 250m. At the start of each simulation,
> the nodes were given random placements in a 1000m x 1000m area, and a random
> movement pattern was generated, which the nodes adhered to, using CMU's
> setdest program, which is included with NS-2.
>     The program generates node movement files using the random
>   waypoint algorithm, in which nodes choose a random point
>   within the area boundaries, and proceed towards it at a
>   randomly chosen constant velocity. When the node arrives at its
>   destination, it pauses for some interval, and then repeats the
>   process. Constant bit rate traffic patterns were also generated at
>   the start of each simulation, using the cbrgen.tcl program that is
>   included with NS-2.
>   A total of 23,710 simulations were run. Of these, 19,797 of
>   them were normal, cooperative DSR networks with no sinkhole
>   attacker, and 3,913 of them were with a single sinkhole attacker
>   identified as node 20. In the simulation, the sinkhole attacker
>   ran the same DSR code as the other nodes. However, in
>   addition to the normal behavior, a new behavior was triggered
>   by a timer that normally goes off every 0.03 seconds to check
>   the DSR send buffer – the normal purpose of this is to flush
>   packets that have been queued for asynchronous transmission.
>   In the case of the attacker, this timer would cause 18 bogus
>   route request messages to be sent, in rapid succession, with the purpose
> of redirecting all routes leading to a particular target node, starting with
> node 1. The target node would then be incremented. After the timer had fired
> 18 times, the attacker would have made an effort to redirect all routes in
> the network to itself, and the target node would be reset to 1.
>
>   For these
>   messages, the attacker node used sequence numbers starting at 9999,
> incrementing the sequence number each time a message was sent.
>
>
>
>
>
>
>
>
>                    I am supposed to simulate the Sinkhole attack (made on
> Ad-Hoc Networks) . As i am quite new to  ns-2 programming I am unable to do
> so .The main problem is that how do we create routing tables for the
> different nodes in the ad-hoc network (or Mobile Network)          and then
> how can we represent the sending of information from a compromised node that
> it has the shortest route for a number of nodes . Kindly helpme
>   out as I am stuck badly here .Any sort of inputs are welcome .I am also
> including a definition of the sinkhole attacks at the bottom .
>                                                                               
>   Expecting  a
> quick relief .........
>
>
>
>
>     Sinkhole attacks
>   By carrying out a sinkhole attack, a compromised node tries to attract
> the data to itself from all neighboring nodes. Since this would give access
> to all data to this node, the sinkhole attack is the basis for many other
> attacks likes eavesdropping or data alteration. Sinkhole attacks make use of
> the loopholes in routing algorithms of ad hoc networks and present
> themselves to adjacent nodes as the most attractive partner in a multihop
> route. Even though by definition nodes on the network layer of an ad hoc
> network are equal, sinkhole attacks might be very effective on application
> level, where nodes may have different roles. This means, that as stated  the
> effect of sinkhole attacks on networks with centralized entities can be
> especially grave, because by impersonating the centralized node or its
> neighbors, the adversary can get access to the biggest part of the data
> flowing through the network.
>
>
>
> Send instant messages to your online friends http://in.messenger.yahoo.com
>
>
>
> ---------- Forwarded message ----------
> From: [EMAIL PROTECTED]
> To: ns-users@ISI.EDU
> Date: Fri, 20 Jan 2006 21:30:51 -0200
> Subject: [ns] NS 2.29 in X86_64 (Suse 10.0)
>
> Hello,
>
> I installed Suse Linux 10.0 (uname -a gives Linux linux
> 2.6.13-15.7-default #1 x86_64 x86_64 x86_64 GNU/Linux) in a Turion 64
> processor.
> Googling the mailing list I found some usefull tips I translated in the
> patch bellow, including my own contribution.
>
> After ./validate, I got the following:
> validate overall report: some tests failed:
>      ./test-all-tcpHighspeed ./test-all-srm ./test-all-smac-multihop
> ./test-all-hier-routing ./test-all-algo-routing ./test-all-mcast
> ./test-all-vc ./test-all-session ./test-all-mixmode ./test-all-red
> ./test-all-cbq ./test-all-webcache ./test-all-mcache ./test-all-plm
> ./test-all-wireless-tdma ./test-all-xcp
>
> Maybe, the errors listed above come from my modifications. I don't know,
> but the patch could help someone as a starting point.
>
> Thanks,
>
> Marcos
>
>
> -------------------------------------------------------------------------------------------
>
> *diff -Naur ns-allinone-2.29-orig/install ns-allinone-2.29/install*
> *--- ns-allinone-2.29-orig/install      2005-10-22 15:34:47.000000000-0200*
> *+++ ns-allinone-2.29/install   2006-01-20 15:56:37.000000000 -0200*
> @@ -468,7 +468,7 @@
> blame='Please check http://www.isi.edu/nsnam/ns/ns-problems.html
> for common problems and bug fixes.'
> if  [ "${test_cygwin}" = "true" ]; then
> -        ./configure --x-libraries=/usr/X11R6/lib
> --x-includes=/usr/X11R6/include || die "otcl-$OTCLVER configuration
> failed!
> Exiting ...";
> +        ./configure --x-libraries=/usr/X11R6/lib64
> --x-includes=/usr/X11R6/include || die "otcl-$OTCLVER configuration
> failed!
> Exiting ...";
> else
>          ./configure || die "otcl-$OTCLVER configuration failed! Exiting
> ...";
> fi
> @@ -493,7 +493,7 @@
> cd ./tclcl-$TCLCLVER
>
> if  [ "${test_cygwin}" = "true" ]; then
> -        ./configure --x-libraries=/usr/X11R6/lib
> --x-includes=/usr/X11R6/include || die "tclcl-$TCLCLVER configuration
> failed!
> Exiting ...";
> +        ./configure --x-libraries=/usr/X11R6/lib64
> --x-includes=/usr/X11R6/include || die "tclcl-$TCLCLVER configuration
> failed!
> Exiting ...";
> else
>          ./configure || die "tclcl-$TCLCLVER configuration failed! Exiting
> ..."
> fi
> @@ -522,7 +522,7 @@
> fi
>
> if  [ "${test_cygwin}" = "true" ]; then
> -        ./configure --x-libraries=/usr/X11R6/lib
> --x-includes=/usr/X11R6/include || die "Ns configuration failed! Exiting
> ...";
> +        ./configure --x-libraries=/usr/X11R6/lib64
> --x-includes=/usr/X11R6/include || die "Ns configuration failed! Exiting
> ...";
> else
>          ./configure || die "Ns configuration failed! Exiting ...";
> fi
> @@ -547,7 +547,7 @@
> cd ./nam-$NAMVER
>
> if  [ "${test_cygwin}" = "true" ]; then
> -        ./configure --x-libraries=/usr/X11R6/lib
> --x-includes=/usr/X11R6/include --with-tclcl=$CUR_PATH/tclcl-$TCLCLVER  ||
> die
> "Nam configuration failed! Exiting ...";
> +        ./configure --x-libraries=/usr/X11R6/lib64
> --x-includes=/usr/X11R6/include --with-tclcl=$CUR_PATH/tclcl-$TCLCLVER  ||
> die
> "Nam configuration failed! Exiting ...";
> else
>          ./configure --with-tclcl=$CUR_PATH/tclcl-$TCLCLVER  || die "Nam
> configuration failed! Exiting ...";
> fi
> *diff -Naur ns-allinone-2.29-orig/nam-1.11/conf/configure.in.x11
> ns-allinone-2.29/nam-1.11/conf/configure.in.x11*
> *--- ns-allinone-2.29-orig/nam-1.11/conf/configure.in.x11       2004-12-17
> 13:14:20.000000000 -0200*
> *+++ ns-allinone-2.29/nam-1.11/conf/configure.in.x11    2006-01-20
> 15:56:37.000000000 -0200*
> @@ -3,6 +3,7 @@
>
> xlibdirs="\
>         /usr/openwin/lib \
> +       /usr/X11R6/lib64 \
>         /usr/X11R6/lib \
>         /usr/lib/X11R6 \
>         /usr/X11R5/lib \
> *diff -Naur ns-allinone-2.29-orig/nam-1.11/config.status
> ns-allinone-2.29/nam-1.11/config.status*
> *--- ns-allinone-2.29-orig/nam-1.11/config.status       2005-01-24 17:48:
> 25.000000000
> -0200*
> *+++ ns-allinone-2.29/nam-1.11/config.status    2006-01-20 15:56:
> 37.000000000
> -0200*
> @@ -77,7 +77,7 @@
> [EMAIL PROTECTED]@%gcc%g
> [EMAIL PROTECTED]@%c++%g
> [EMAIL PROTECTED]@%%g
> [EMAIL PROTECTED]@%-L/usr/X11R6/lib -lXext -lX11%g
> [EMAIL PROTECTED]@%-L/usr/X11R6/lib64 -lXext -lX11%g
> [EMAIL PROTECTED]@%$(TCL_84_LIBRARY_FILES)%g
> [EMAIL PROTECTED]@%/users/haldar/tcl8.4.5/bin/tclsh8.4%g
> [EMAIL PROTECTED]@%/users/haldar/tcl8.4.5/lib/tcl8.4%g
> *diff -Naur ns-allinone-2.29-orig/nam-1.11/config.sub
> ns-allinone-2.29/nam-1.11/config.sub*
> *--- ns-allinone-2.29-orig/nam-1.11/config.sub  2005-01-25 21:22:
> 43.000000000
> -0200*
> *+++ ns-allinone-2.29/nam-1.11/config.sub       2006-01-20 15:56:
> 37.000000000 -0200*
> @@ -267,7 +267,7 @@
>         | tahoe | thumb | tic4x | tic80 | tron \
>         | v850 | v850e \
>         | we32k \
> -       | x86 | xscale | xstormy16 | xtensa \
> +       | x86 | x86_64 | xscale | xstormy16 | xtensa \
>         | z8k)
>                 basic_machine=$basic_machine-unknown
>                 ;;
> @@ -1172,7 +1172,7 @@
>                 ;;
>         -qnx*)
>                 case $basic_machine in
> -                   x86-* | i*86-*)
> +                   x86-* | x86_64-* | i*86-*)
>                         ;;
>                     *)
>                         os=-nto$os
> *diff -Naur ns-allinone-2.29-orig/nam-1.11/configure
> ns-allinone-2.29/nam-1.11/configure*
> *--- ns-allinone-2.29-orig/nam-1.11/configure   2005-11-26 21:57:
> 36.000000000
> -0200*
> *+++ ns-allinone-2.29/nam-1.11/configure        2006-01-20 15:56:
> 37.000000000 -0200*
> @@ -4907,6 +4907,7 @@
>
> xlibdirs="\
>         /usr/openwin/lib \
> +       /usr/X11R6/lib64 \
>         /usr/X11R6/lib \
>         /usr/lib/X11R6 \
>         /usr/X11R5/lib \
> *diff -Naur ns-allinone-2.29-orig/nam-1.11/editview.cc
> ns-allinone-2.29/nam-1.11/editview.cc*
> *--- ns-allinone-2.29-orig/nam-1.11/editview.cc 2003-10-11 19:56:
> 49.000000000
> -0300*
> *+++ ns-allinone-2.29/nam-1.11/editview.cc      2006-01-20 15:58:
> 28.000000000 -0200*
> @@ -66,7 +66,7 @@
>         }
>         char str[256];
>         model_ = m;
> -       sprintf(str, "def%-u", (int)this);
> +       sprintf(str, "def%-u", (long int)this);
>         defTag_ = new Tag(str);
>         model_->add_tag(defTag_);
>         editing_stage_ = NONE;
> @@ -89,7 +89,7 @@
>         }
>
>         model_ = m;
> -       sprintf(str, "def%-u", (int)this);
> +       sprintf(str, "def%-u", (long int)this);
>         defTag_ = new Tag(name);
>         model_->add_tag(defTag_);
>         editing_stage_ = NONE;
> *diff -Naur ns-allinone-2.29-orig/nam-1.11/group.cc
> ns-allinone-2.29/nam-1.11/group.cc*
> *--- ns-allinone-2.29-orig/nam-1.11/group.cc    2001-04-17 21:14:
> 15.000000000
> -0300*
> *+++ ns-allinone-2.29/nam-1.11/group.cc 2006-01-20 15:58:04.000000000-0200*
> @@ -81,7 +81,7 @@
>         for (he = Tcl_FirstHashEntry(nodeHash_, &hs);
>              he != NULL;
>              he = Tcl_NextHashEntry(&hs), i++)
> -               mbrs[i] = (int) Tcl_GetHashValue(he);
> +               mbrs[i] = (long int) Tcl_GetHashValue(he);
> }
>
> void Group::draw(View * nv, double now) {
> *diff -Naur ns-allinone-2.29-orig/nam-1.11/netmodel.cc
> ns-allinone-2.29/nam-1.11/netmodel.cc*
> *--- ns-allinone-2.29-orig/nam-1.11/netmodel.cc 2003-10-11 19:56:
> 50.000000000
> -0300*
> *+++ ns-allinone-2.29/nam-1.11/netmodel.cc      2006-01-20 15:56:
> 37.000000000 -0200*
> @@ -308,7 +308,7 @@
>         Tcl_HashEntry *he = Tcl_FindHashEntry(addrHash_, (const char
> *)addr);
>         if (he == NULL)
>                 return -1;
> -       return (int)Tcl_GetHashValue(he);
> +       return (long int)Tcl_GetHashValue(he);
> }
>
> //----------------------------------------------------------------------
> @@ -2761,7 +2761,7 @@
>         Tcl_HashEntry *he = Tcl_FindHashEntry(objnameHash_, n);
>         if (he == NULL)
>                 return -1;
> -       return (int)Tcl_GetHashValue(he);
> +       return (long int)Tcl_GetHashValue(he);
> #undef STATIC_NAMELEN
> }
>
> *diff -Naur ns-allinone-2.29-orig/ns-2.29/AllinOne/install
> ns-allinone-2.29/ns-2.29/AllinOne/install*
> *--- ns-allinone-2.29-orig/ns-2.29/AllinOne/install     2005-10-20
> 02:45:22.000000000 -0200*
> *+++ ns-allinone-2.29/ns-2.29/AllinOne/install  2006-01-20 15:56:
> 37.000000000
> -0200*
> @@ -468,7 +468,7 @@
> blame='Please check http://www.isi.edu/nsnam/ns/ns-problems.html
> for common problems and bug fixes.'
> if  [ "${test_cygwin}" = "true" ]; then
> -        ./configure --x-libraries=/usr/X11R6/lib
> --x-includes=/usr/X11R6/include || die "otcl-$OTCLVER configuration
> failed!
> Exiting ...";
> +        ./configure --x-libraries=/usr/X11R6/lib64
> --x-includes=/usr/X11R6/include || die "otcl-$OTCLVER configuration
> failed!
> Exiting ...";
> else
>          ./configure || die "otcl-$OTCLVER configuration failed! Exiting
> ...";
> fi
> @@ -493,7 +493,7 @@
> cd ./tclcl-$TCLCLVER
>
> if  [ "${test_cygwin}" = "true" ]; then
> -        ./configure --x-libraries=/usr/X11R6/lib
> --x-includes=/usr/X11R6/include || die "tclcl-$TCLCLVER configuration
> failed!
> Exiting ...";
> +        ./configure --x-libraries=/usr/X11R6/lib64
> --x-includes=/usr/X11R6/include || die "tclcl-$TCLCLVER configuration
> failed!
> Exiting ...";
> else
>          ./configure || die "tclcl-$TCLCLVER configuration failed! Exiting
> ..."
> fi
> @@ -522,7 +522,7 @@
> fi
>
> if  [ "${test_cygwin}" = "true" ]; then
> -        ./configure --x-libraries=/usr/X11R6/lib
> --x-includes=/usr/X11R6/include || die "Ns configuration failed! Exiting
> ...";
> +        ./configure --x-libraries=/usr/X11R6/lib64
> --x-includes=/usr/X11R6/include || die "Ns configuration failed! Exiting
> ...";
> else
>          ./configure || die "Ns configuration failed! Exiting ...";
> fi
> @@ -547,7 +547,7 @@
> cd ./nam-$NAMVER
>
> if  [ "${test_cygwin}" = "true" ]; then
> -        ./configure --x-libraries=/usr/X11R6/lib
> --x-includes=/usr/X11R6/include --with-tclcl=$CUR_PATH/tclcl-$TCLCLVER  ||
> die
> "Nam configuration failed! Exiting ...";
> +        ./configure --x-libraries=/usr/X11R6/lib64
> --x-includes=/usr/X11R6/include --with-tclcl=$CUR_PATH/tclcl-$TCLCLVER  ||
> die
> "Nam configuration failed! Exiting ...";
> else
>          ./configure --with-tclcl=$CUR_PATH/tclcl-$TCLCLVER  || die "Nam
> configuration failed! Exiting ...";
> fi
> *diff -Naur ns-allinone-2.29-orig/ns-2.29/conf/configure.in.x11
> ns-allinone-2.29/ns-2.29/conf/configure.in.x11*
> *--- ns-allinone-2.29-orig/ns-2.29/conf/configure.in.x11        2005-10-20
> 02:45:25.000000000 -0200*
> *+++ ns-allinone-2.29/ns-2.29/conf/configure.in.x11     2006-01-20
> 15:56:37.000000000 -0200*
> @@ -3,6 +3,7 @@
>
> xlibdirs="\
>         /usr/openwin/lib \
> +       /usr/X11R6/lib64 \
>         /usr/X11R6/lib \
>         /usr/lib/X11R6 \
>         /usr/X11R5/lib \
> *diff -Naur ns-allinone-2.29-orig/ns-2.29/config.sub
> ns-allinone-2.29/ns-2.29/config.sub*
> *--- ns-allinone-2.29-orig/ns-2.29/config.sub   2005-10-20 02:45:
> 22.000000000
> -0200*
> *+++ ns-allinone-2.29/ns-2.29/config.sub        2006-01-20 15:56:
> 37.000000000 -0200*
> @@ -272,7 +272,7 @@
>         | tahoe | thumb | tic4x | tic80 | tron \
>         | v850 | v850e \
>         | we32k \
> -       | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
> +       | x86 | x86_64 | xscale | xscalee[bl] | xstormy16 | xtensa \
>         | z8k)
>                 basic_machine=$basic_machine-unknown
>                 ;;
> @@ -1193,7 +1193,7 @@
>                 ;;
>         -qnx*)
>                 case $basic_machine in
> -                   x86-* | i*86-*)
> +                   x86-* | x86_64-* | i*86-*)
>                         ;;
>                     *)
>                         os=-nto$os
> *diff -Naur ns-allinone-2.29-orig/otcl-1.11/conf/configure.in.x11
> ns-allinone-2.29/otcl-1.11/conf/configure.in.x11*
> *--- ns-allinone-2.29-orig/otcl-1.11/conf/configure.in.x11      1997-03-15
> 22:59:46.000000000 -0300*
> *+++ ns-allinone-2.29/otcl-1.11/conf/configure.in.x11   2006-01-20
> 15:56:37.000000000 -0200*
> @@ -3,6 +3,7 @@
>
> xlibdirs="\
>         /usr/openwin/lib \
> +       /usr/X11R6/lib64 \
>         /usr/X11R6/lib \
>         /usr/lib/X11R6 \
>         /usr/X11R5/lib \
> *diff -Naur ns-allinone-2.29-orig/otcl-1.11/config.sub
> ns-allinone-2.29/otcl-1.11/config.sub*
> *--- ns-allinone-2.29-orig/otcl-1.11/config.sub 2005-09-27 02:03:
> 25.000000000
> -0300*
> *+++ ns-allinone-2.29/otcl-1.11/config.sub      2006-01-20 15:56:
> 37.000000000 -0200*
> @@ -272,7 +272,7 @@
>         | tahoe | thumb | tic4x | tic80 | tron \
>         | v850 | v850e \
>         | we32k \
> -       | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
> +       | x86 | x86_64 | xscale | xscalee[bl] | xstormy16 | xtensa \
>         | z8k)
>                 basic_machine=$basic_machine-unknown
>                 ;;
> @@ -1193,7 +1193,7 @@
>                 ;;
>         -qnx*)
>                 case $basic_machine in
> -                   x86-* | i*86-*)
> +                   x86-* | x86_64-* | i*86-*)
>                         ;;
>                     *)
>                         os=-nto$os
> *diff -Naur ns-allinone-2.29-orig/otcl-1.11/configure
> ns-allinone-2.29/otcl-1.11/configure*
> *--- ns-allinone-2.29-orig/otcl-1.11/configure  2005-11-26 21:58:
> 06.000000000
> -0200*
> *+++ ns-allinone-2.29/otcl-1.11/configure       2006-01-20 15:56:
> 37.000000000 -0200*
> @@ -5011,6 +5011,7 @@
>
> xlibdirs="\
>         /usr/openwin/lib \
> +       /usr/X11R6/lib64 \
>         /usr/X11R6/lib \
>         /usr/lib/X11R6 \
>         /usr/X11R5/lib \
> *diff -Naur ns-allinone-2.29-orig/tcl8.4.11/unix/tcl.m4
> ns-allinone-2.29/tcl8.4.11/unix/tcl.m4*
> *--- ns-allinone-2.29-orig/tcl8.4.11/unix/tcl.m4        2005-06-29 13:40:
> 33.000000000
> -0300*
> *+++ ns-allinone-2.29/tcl8.4.11/unix/tcl.m4     2006-01-20 15:56:
> 37.000000000 -0200*
> @@ -2190,7 +2190,7 @@
>      if test "$no_x" = yes; then
>         AC_MSG_CHECKING(for X11 libraries)
>         XLIBSW=nope
> -       dirs="/usr/unsupported/lib /usr/local/lib /usr/X386/lib
> /usr/X11R6/lib
> /usr/X11R5/lib /usr/lib/X11R5 /usr/lib/X11R4 /usr/openwin/lib /usr/X11/lib
> /usr/sww/X11/lib"
> +       dirs="/usr/unsupported/lib /usr/local/lib /usr/X386/lib
> /usr/X11R6/lib64
> /usr/X11R6/lib /usr/X11R5/lib /usr/lib/X11R5 /usr/lib/X11R4
> /usr/openwin/lib
> /usr/X11/lib /usr/sww/X11/lib"
>         for i in $dirs ; do
>             if test -r $i/libX11.a -o -r $i/libX11.so -o -r $i/libX11.sl;
> then
>                 AC_MSG_RESULT($i)
> *diff -Naur ns-allinone-2.29-orig/tclcl-1.17/conf/configure.in.x11
> ns-allinone-2.29/tclcl-1.17/conf/configure.in.x11*
> *--- ns-allinone-2.29-orig/tclcl-1.17/conf/configure.in.x11     2005-10-02
> 18:26:19.000000000 -0300*
> *+++ ns-allinone-2.29/tclcl-1.17/conf/configure.in.x11  2006-01-20
> 15:56:37.000000000 -0200*
> @@ -3,6 +3,7 @@
>
> xlibdirs="\
>         /usr/openwin/lib \
> +       /usr/X11R6/lib64 \
>         /usr/X11R6/lib \
>         /usr/lib/X11R6 \
>         /usr/X11R5/lib \
> *diff -Naur ns-allinone-2.29-orig/tclcl-1.17/config.sub
> ns-allinone-2.29/tclcl-1.17/config.sub*
> *--- ns-allinone-2.29-orig/tclcl-1.17/config.sub        2005-10-02 18:26:
> 19.000000000
> -0300*
> *+++ ns-allinone-2.29/tclcl-1.17/config.sub     2006-01-20 15:56:
> 37.000000000 -0200*
> @@ -272,7 +272,7 @@
>         | tahoe | thumb | tic4x | tic80 | tron \
>         | v850 | v850e \
>         | we32k \
> -       | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
> +       | x86 | x86_64 | xscale | xscalee[bl] | xstormy16 | xtensa \
>         | z8k)
>                 basic_machine=$basic_machine-unknown
>                 ;;
> @@ -1193,7 +1193,7 @@
>                 ;;
>         -qnx*)
>                 case $basic_machine in
> -                   x86-* | i*86-*)
> +                   x86-* | x86_64-* | i*86-*)
>                         ;;
>                     *)
>                         os=-nto$os
> *diff -Naur ns-allinone-2.29-orig/tclcl-1.17/configure
> ns-allinone-2.29/tclcl-1.17/configure*
> *--- ns-allinone-2.29-orig/tclcl-1.17/configure 2005-10-23 01:06:
> 26.000000000
> -0200*
> *+++ ns-allinone-2.29/tclcl-1.17/configure      2006-01-20 15:56:
> 37.000000000 -0200*
> @@ -6327,6 +6327,7 @@
>
> xlibdirs="\
>         /usr/openwin/lib \
> +       /usr/X11R6/lib64 \
>         /usr/X11R6/lib \
>         /usr/lib/X11R6 \
>         /usr/X11R5/lib \
> *diff -Naur ns-allinone-2.29-orig/tk8.4.11/unix/configure
> ns-allinone-2.29/tk8.4.11/unix/configure*
> *--- ns-allinone-2.29-orig/tk8.4.11/unix/configure      2005-06-29 13:43:
> 10.000000000
> -0300*
> *+++ ns-allinone-2.29/tk8.4.11/unix/configure   2006-01-20 15:56:
> 37.000000000
> -0200*
> @@ -4940,6 +4940,7 @@
> # Check X11 before X11Rn because it is often a symlink to the current
> release.
> for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
>      /usr/X11/lib          \
> +    /usr/X11R6/lib64      \
>      /usr/X11R6/lib        \
>      /usr/X11R5/lib        \
>      /usr/X11R4/lib        \
> @@ -5087,7 +5088,7 @@
>         echo $ac_n "checking for X11 libraries""... $ac_c" 1>&6
> echo "configure:5089: checking for X11 libraries" >&5
>         XLIBSW=nope
> -       dirs="/usr/unsupported/lib /usr/local/lib /usr/X386/lib
> /usr/X11R6/lib
> /usr/X11R5/lib /usr/lib/X11R5 /usr/lib/X11R4 /usr/openwin/lib /usr/X11/lib
> /usr/sww/X11/lib"
> +       dirs="/usr/unsupported/lib /usr/local/lib /usr/X386/lib
> /usr/X11R6/lib64
> /usr/X11R6/lib /usr/X11R5/lib /usr/lib/X11R5 /usr/lib/X11R4
> /usr/openwin/lib
> /usr/X11/lib /usr/sww/X11/lib"
>         for i in $dirs ; do
>             if test -r $i/libX11.a -o -r $i/libX11.so -o -r $i/libX11.sl;
> then
>                 echo "$ac_t""$i" 1>&6
> *diff -Naur ns-allinone-2.29-orig/tk8.4.11/unix/tcl.m4
> ns-allinone-2.29/tk8.4.11/unix/tcl.m4*
> *--- ns-allinone-2.29-orig/tk8.4.11/unix/tcl.m4 2005-06-29 13:43:
> 10.000000000
> -0300*
> *+++ ns-allinone-2.29/tk8.4.11/unix/tcl.m4      2006-01-20 15:56:
> 37.000000000 -0200*
> @@ -2190,7 +2190,7 @@
>      if test "$no_x" = yes; then
>         AC_MSG_CHECKING(for X11 libraries)
>         XLIBSW=nope
> -       dirs="/usr/unsupported/lib /usr/local/lib /usr/X386/lib
> /usr/X11R6/lib
> /usr/X11R5/lib /usr/lib/X11R5 /usr/lib/X11R4 /usr/openwin/lib /usr/X11/lib
> /usr/sww/X11/lib"
> +       dirs="/usr/unsupported/lib /usr/local/lib /usr/X386/lib
> /usr/X11R6/lib64
> /usr/X11R6/lib /usr/X11R5/lib /usr/lib/X11R5 /usr/lib/X11R4
> /usr/openwin/lib
> /usr/X11/lib /usr/sww/X11/lib"
>         for i in $dirs ; do
>             if test -r $i/libX11.a -o -r $i/libX11.so -o -r $i/libX11.sl;
> then
>                 AC_MSG_RESULT($i)
> *diff -Naur ns-allinone-2.29-orig/xgraph-12.1/configure
> ns-allinone-2.29/xgraph-12.1/configure*
> *--- ns-allinone-2.29-orig/xgraph-12.1/configure        2005-10-22 15:38:
> 54.000000000
> -0200*
> *+++ ns-allinone-2.29/xgraph-12.1/configure     2006-01-20 15:56:
> 37.000000000 -0200*
> @@ -1274,6 +1274,7 @@
> # Check X11 before X11Rn because it is often a symlink to the current
> release.
> for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
>      /usr/X11/lib          \
> +    /usr/X11R6/lib64      \
>      /usr/X11R6/lib        \
>      /usr/X11R5/lib        \
>      /usr/X11R4/lib        \
>
>
> ----- Finalizar mensagem encaminhada -----
>
>
>
>
> ------------------------------------------------------
> Mensagem enviada pelo Webmail da Faculdade de Ci�ncias
>
>
>
>
>
> ---------- Forwarded message ----------
> From: mahesh l <[EMAIL PROTECTED]>
> To: ns <ns-users@ISI.EDU>
> Date: Sat, 21 Jan 2006 04:28:19 +0000 (GMT)
> Subject: [ns] Maintaining and Updating vector table
>
> Hello ns-users,
>    I have a problem and hope somebody will help.
>
>   Problem- I want to maintain a table (path table)
> where each Node - keeps info for every other node i.e.
> next hop to reach that node and the least cost.
>
>   Now the problem is how should I create table for
> each node and update these tables with other node
> table.
>
>   i.e how can I create vector table and exchange
> vector information
>
>
>              Thank you
>
> Send instant messages to your online friends http://in.messenger.yahoo.com
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Fatemeh Karimirad <[EMAIL PROTECTED]>
> To: ns-users@ISI.EDU
> Date: Sat, 21 Jan 2006 03:43:43 -0800 (PST)
> Subject: [ns] qospf extention for ns-2.29
> Dear all,
> I have changed ns-2.1b8a qospf extention for ns-2.29,
> but when I type
> ns qosr-simple.tcl
> it says
> ns:
> [code omitted because of length]
> : invalid command name "Agent/QOSPF"
>     while executing
> "Agent/QOSPF set advertInterval 300"
>   can any one helps me?
> Regards,
> Fatemeh Karimirad
>
>
> [EMAIL PROTECTED] |(@RiMiR@|)
>
> ---------------------------------
> Yahoo! Photos
> Got holiday prints? See all the ways to get quality prints in your hands
> ASAP.
>
>
>
> ---------- Forwarded message ----------
> From: "anusherin" <[EMAIL PROTECTED]>
> To: ns-users@ISI.EDU
> Date: Sat, 21 Jan 2006 07:49:19 -0500 (EST)
> Subject: [ns] error while running tcl file
> Sirwhile i'm trying to run tcl file i got an error named  error in
> applicationinit.tcl not installed properly please help me to get rid of
> this error Thanks in advanceanu
>
> _______________________________________________
> No banners. No pop-ups. No kidding.
> Make My Way  your home on the Web - http://www.myway.com
>
>
>
>
> ---------- Forwarded message ----------
> From: Hajer FERJANI <[EMAIL PROTECTED]>
> To: Dheepa Rajendran <[EMAIL PROTECTED]>
> Date: Sat, 21 Jan 2006 19:00:03 +0100
> Subject: Re: [ns] how to reduce the signal range for a mobile node
> Hi Dheepa,
>
> One way of reducing the signal range is to set an appropriate value of
> the receiving threshold in the network interface (in your tcl script),
> i.e
>
> Phy/WirelessPhy set RXThresh_ <value>
>
> A separate C program is provided at
> ~ns/indep-utils/propagation/threshold.cc to compute the receiving
> threshold. You have to compiled it, then you can use the executable to
> compute the threshold as follows:
>
> threshold -m <propagation-model> [other-options] distance
>
> Ex:
>
> threshold -m Shadowing -r 0.95 50.
>
> Here the propagation model is Shadowing, the communication range is
> set to 50m, and 0.95 is the rate of correctly received packets.
>
> More details can be found in ns_manual.
>
>
> Hope this helps.
>
> Bye.
>
>
>
> On 1/20/06, Dheepa Rajendran <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> >      How to reduce the signal range for a Mobile node?
> > I went through antenna.cc and omniantenna.cc
> > and they have discussed about Gt_,Gr_,X_,Y_,Z_ and
> > some threshold values.....Which factor is used for
> > reducing the range?
> >
> > Thanks for ur suggestions
> >
> > Dheepa
> >
> >
> > Send instant messages to your online friends
> http://in.messenger.yahoo.com
> >
> >
>
>
>
>
> _______________________________________________
> Ns-users mailing list
> Ns-users@isi.edu
> http://mailman.isi.edu/mailman/listinfo/ns-users
>
>
>


--
Filippos N Kolovos

Software Systems Analyst & Engineer
M.Sc. (Eng.) in Data Communications

E-Mail: [EMAIL PROTECTED],
           [EMAIL PROTECTED],
           [EMAIL PROTECTED]
----------------------------------------------

Reply via email to