On Sat, Oct 2, 2010 at 5:00 PM, <[email protected]> wrote:

> Send Ns-users mailing list submissions to
>        [email protected]
>
> 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. TCP Linux patch Problem (Ghassan Akrem)
>   2. Fwd: Installation of Ns-simulator under Fedora (karima moumane)
>   3. Re: counting congestion in a node (Ali Ghandour)
>   4. Fwd: Installation of Ns-simulator under Fedora (karima moumane)
>   5. Re: Fwd: Installation of Ns-simulator under Fedora
>      (??????? ?????????)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 1 Oct 2010 20:22:12 -0700 (PDT)
> From: Ghassan Akrem <[email protected]>
> Subject: [ns] TCP Linux patch Problem
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hi all
> ?
> I tried to patch TCP linux in my ns-2.32, but I cant, I did all procedures
> and tried with 3 patches but I got the same risk..
> Any one can help me to solve tat???..
> So, If I want to patch other TCP, Snoop, Westwood,Cubic.... How can I do
> that?
> ?
> Regards
> Ghassan
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 2 Oct 2010 07:59:57 +0200
> From: karima moumane <[email protected]>
> Subject: [ns] Fwd: Installation of Ns-simulator under Fedora
> To: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> ---------- Forwarded message ----------
> From: karima moumane <[email protected]>
> Date: 2010/10/2
> Subject: Installation of Ns-simulator under Fedora
> To: [email protected]
>
>
> hi everyone,
> i try to install Ns-allinoe under fedora,i followed these steps:
>
> 1)tar -xzvf  ns-allinone-2.29.tar.gz
>
> 2) cd  ns-allinone-2.29
>
> 3)./install
>
> and during the third step, i got this error:
>
> Otcl-1.11 configuration failed!exiting
>
> i don't konw what's exactly the problem.
>
> Thanx for any idea and ansewrs.
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 2 Oct 2010 11:23:55 +0300
> From: Ali Ghandour <[email protected]>
> Subject: Re: [ns] counting congestion in a node
> To: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Jeni,
>
> What do you mean by number of congestion?
> Regards,
>
> Ali Ghandour
>
>
> On 2 October 2010 03:00, <[email protected]> wrote:
>
> > Send Ns-users mailing list submissions to
> >        [email protected]
> >
> > 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. Re: Simulating the Internet (youssef baddi)
> >   2. counting congestion in a node (jeni martin)
> >   3. ns-2 FAQ ([email protected])
> >   4. probs in project (anand)
> >   5.  802.11 simulation (robertodb)
> >   6. Fw : Energy event nam (El hadi Cherkaoui)
> >   7. Re: Yahoo! Member Notification ([email protected])
> >
> >
> > ---------- Forwarded message ----------
> > From: youssef baddi <[email protected]>
> > To: [email protected]
> > Date: Fri, 1 Oct 2010 00:19:50 +0000
> > Subject: Re: [ns] Simulating the Internet
> > hi :
> >
> >  there are a lot of topology generator modeling the internet topology
> like
> > Inet Topology Generator.
> >
> >  but i suggest for you the GT-ITM that generate a sgb topology format
> that
> > you can convert in the tcl format with sgb2ns.
> >
> >  if you have any question you are welcome.
> >
> > --
> > cordialement
> > -------------------------------------------------------------------------
> >                       BADDI YOUSSEF
> >    Master de Recherche en G?nie Informatique
> >                     ENSIAS, RABAT
> >                Tel: +212 672 43 54 15
> >
> ---------------------------------------------------------------------------
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: jeni martin <[email protected]>
> > To: [email protected]
> > Date: Thu, 30 Sep 2010 21:54:08 -0700 (PDT)
> > Subject: [ns] counting congestion in a node
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Hi
> >
> > How can i count the number of congestion happened in a node?
> >
> >
> >
> >
> >
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: [email protected]
> > To: [email protected]
> > Date: Fri, 1 Oct 2010 00:30:10 -0700
> > Subject: [ns] ns-2 FAQ
> >            The Network Simulator ns-2: Frequently Asked Questions
> >
> > Note:  This FAQ is now available at the project wiki:
> > http://nsnam.isi.edu/nsnam/index.php/Ns_Users_FAQ
> >
> >   _The mailing is is now subscriber only---please see the FAQ entry on
> >   "How do I post to the mailing list? Why was my post rejected?" for
> >   details._
> >
> >     * _Where do I get ns?_
> >
> >       From the ns web site at http://www.isi.edu/nsnam/ns/ns.html and
> >       the download page http://www.isi.edu/nsnam/ns/ns-tests.html.
> >
> >     * _What platforms does ns run on and what kind of hardware do I
> >       need?_
> >
> >       Please see "where to start" on the building ns web page:
> >       http://www.isi.edu/nsnam/ns/ns-build.html#start.
> >
> >     * _What should I do if I have trouble downloading/extracting ns?_
> >
> >       This question is answered in detail at
> >       http://www.isi.edu/nsnam/ns/ns-problems.html#downloading.
> >
> >     * _What should I do if I encounter problems building ns?_
> >
> >       Check:
> >         1. the README that comes in the distribution (very brief),
> >         2. the "installation problems, bug fixes and help" web page
> >            http://www.isi.edu/nsnam/ns/ns-problems.html,
> >         3. the archives of the ns-users mailing list
> >            http://www.isi.edu/nsnam/ns/ns-lists.html,
> >         4. post a bug report (see below)
> >            http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi.
> >
> >     * _What do I do after I successfully build ns?_
> >
> >          + Put the path to your ns executable into your PATH environment
> >          + Put the path to your otcl into your LD_LIBRARY_PATH
> >            environment
> >          + Put the path to your tcl library into your TCL_LIBRARY
> >            environment
> >
> >     * _Where can I find documentation for ns?_
> >
> >       All documentation is linked from the main ns web page
> >       http://www.isi.edu/nsnam/ns/. Documentation includes a tutorial
> >       (originally from Marc Greis) and a reference manual (ns notes and
> >       documentation).
> >
> >     * _Words, words, words... that documentation is nice, but where are
> >       some sample scripts I can start from?_
> >
> >       Many sample scripts can be found in the ns distribution in
> >       ~ns-2/tcl/ex and ~ns-2/tcl/test.
> >
> >     * _What protocols does ns support?_
> >
> >       A lot! Almost all variants of TCP, several forms of multicast,
> >       wired networking, several ad hoc routing protocols and propagation
> >       models (but not cellular phones), data diffusion, satellite, and
> >       other stuff. See the documentation (described above) for details,
> >       or download ns and look.
> >
> >     * _How do I know that ns correctly implements these protocols?_
> >
> >       Ns has validation tests that cover many protocols, see
> >       http://www.isi.edu/nsnam/ns/ns-tests.html. However, ultimately
> >       users are responsible for verifying that ns is accurate for their
> >       purposes---since we cannot foresee all the ways ns may be used, we
> >       cannot test all cases with all inputs.
> >
> >     * _Are there any contributed/additional protocols not in the main
> >       distribution?_
> >
> >       Yes, please see the contributed code web page
> >       http://www.isi.edu/nsnam/ns/ns-contributed.html. The mailing list
> >       archives can also be helpful (see below).
> >
> >     * _How should I get started doing something (like implementing a new
> >       protocol or trying an experiment)?_
> >
> >       We recommend that you look through the tutorial (see
> >       documentation, above), then start with an example program that is
> >       most similar to yours (in the tutorial, or in tcl/ex or tcl/test
> >       in the distribution), and then start changing things.
> >
> >     * _What should I do to compile ns to reflect my changes if I've
> >       modified some .cc or .h files?_
> >
> >       go to ns directory and run "make" or "make depend; make"
> >
> >     * _How do I subscribe to the ns-users mailing list? How do I search
> >       old list archives? I can't take any more---how do I get off this
> >       list?_
> >
> >       To subscribe or unsubscribe, see
> >       http://www.isi.edu/nsnam/ns/ns-lists.html. The list archive is at
> >       http://www.isi.edu/nsnam/ns/ns-lists.html.
> >
> >     * _How do I post to the mailing list? Why was my post rejected?_
> >
> >       As of June 2004 the ns-users lists allow posts from _subscriber
> >       only_. If you're not a subscriber, your posts to the list will be
> >       rejected. (This is unfortunately necessary to dispose efficiently
> >       of spam; manual filtering is too expensive.) We realize that the
> >       list is high traffic, so if you wish to post to the list without
> >       receiving messages on it, please subscribe and select the _no-mail_
> >       option for your subscription.
> >
> >       For details about the mailing list including mailing-list specific
> >       FAQ (for example, what if you're subscribed but still can't post),
> >       please see http://www.isi.edu/nsnam/ns/ns-lists.html.
> >
> >     * _Did my post appear on the mailing list? (Or, why didn't my post
> >       appear on the mailing list?)_
> >
> >       See the http://www.isi.edu/nsnam/ns/ns-lists.html web page for
> >       help debugging mailing list problems.
> >
> >     * _What if I have a question that's not answered here?_
> >
> >       If you've checked the installation problems and bug fixes web page
> >       (http://www.isi.edu/nsnam/ns/ns-problems.html) and there's no
> >       answer to your question, you may want to file a bug report or post
> >       a question to the ns-user's mailing list.
> >
> >       First, you should check the archive of the list at
> >       http://www.isi.edu/nsnam/ns/ns-lists.html. Your question may
> >       already be answered there.
> >
> >       If not, you can post a bug report using the web form at
> >       http://www.isi.edu/cgi-bin/nsnam/reportbug.cgi.
> >
> >       If your question is NOT about ns implementation bugs, you may wish
> >       to post to the list. First you should subscribe. Subscription
> >       instructions are at http://www.isi.edu/nsnam/ns/ns-lists.html.
> >
> >       _Please note that mail sent to the list is publicly distributed
> >       and archived. _If you have concerns about your message being made
> >       public (spam harvesting of your address), please consider that
> >       _before_ posting. We cannot remove messages from reciepient's
> >       mailboxes or the public archive after they're posted.
> >
> >       When posting bug reports, please _always_ include information
> >       including at least (the bug report form includes spaces for
> >       these):
> >          + what version of ns you're using,
> >          + what operating system you're running on (not just Linux or
> >            Solaris, but RedHat version 7.0 or Solaris 2.4---send us the
> >            output of "uname -a"),
> >          + what specific behavior you see (if ns doesn't compile, what's
> >            the specific error; if TCP does something strange, what
> >            exactly did it do [send a pointer to a packet trace]),
> >          + what behavior you expected to see (if ns doesn't compile this
> >            is obvious, but if TCP does something strange, why is it
> >            strange, where is the TCP spec violated?),
> >          + pointers to your script detailed output files,
> >          + a statement that "yes, I've read the FAQ, ns-problems page,
> >            and manual and I couldn't find the answer there" (or a
> >            statement about why you didn't do that yet :-)
> >
> >       Soo-Hyun Choi observed from posts to the list: _Sometimes, I see
> >       this list is filled with the questions with: 1) asked many times
> >       before 2) hardly understandable what this guy is asking 3) too
> >       easy to find an answer over a few clicks over the Internet 4)
> >       soliciting to do their homework in a simple way by asking in this
> >       list 5) easily seekable an answer by contributing a couple of
> >       hours of reading the ns-manual 6) etc, etc. _
> >
> >       _As many of us in this list are doing an advanced degree, it would
> >       be suggested to read the following article in order to raise a
> >       useful/meaningful question in a smart way.
> >       
> > http://www.catb.org/~esr/faqs/smart-questions.html<http://www.catb.org/%7Eesr/faqs/smart-questions.html>
> <http://www.catb.org/%7Eesr/faqs/smart-questions.html>_
> >
> >       This is _very_ good advice, since asking the Right Question is
> >       very likely to get a good/helpful answer, while asking a question
> >       poorly. For example, think about how you would answer these two
> >       questions: _"Ns doesn't work for me, it crashes. Help."_ as
> >       compared to _"I get a segmentation fault when running test script
> >       test-suite-webcache on Mandrake 10 Linux. The backtrace is on my
> >       web page at www.someu.edu/~someone<http://www.someu.edu/%7Esomeone><
> http://www.someu.edu/%7Esomeone>.
> > It looks like it passes in the
> >       on-line test suites, but it fails for me. Am I doing something
> >       wrong?_
> >
> >       A reminder about mailing list etiquette:
> >          + Please check the web pages and list archives before posting
> >            your question.
> >          + Please keep the body of your post to simple ASCII, not HTML.
> >          + Please do _not_ send large attachments (if what you have is
> >            bigger than a few kilobytes, put it on a web page and send a
> >            URL)
> >          + Before posting a question like "did people see my post" or
> >            "the list seems down", please check the archives (you can
> >            answer this question more accurately by checking yourself
> >            rather than asking).
> >          + Please don't post subscribe/unsubscribe requests directly to
> >            the list, use the lists' information page. (see the web page
> >            mentioned above for details).
> >
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: anand <[email protected]>
> > To: [email protected]
> > Date: Fri, 1 Oct 2010 01:01:46 -0700
> > Subject: [ns] probs in project
> > is it posible to create a scenario in which a node can send and recive
> only
> > at 1 freq. at a time...means it can't send data packets simultaniously at
> > diff. freq. if yes plz tel me how..
> >
> >
> >
> > hey i m final year student i m having my project on sybil attack in manet
> > if
> > any 1 can have knowlde in this field plz help me out....is sybil attack
> > implimented erlier?? and is it posible to create a sybil free env. plz
> tell
> > me....
> >
> >
> > thnx anny
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: robertodb <[email protected]>
> > To: [email protected]
> > Date: Fri, 1 Oct 2010 03:42:13 -0700 (PDT)
> > Subject: [ns] 802.11 simulation
> >
> > I have to simulate a network with N 802.11 nodes associated with the same
> > Access Point where all nodes can hear each other. Every node has a CBR
> > source over UDP, except the node 1 with a CBR source over TCP, towards
> the
> > AP, while on the access point there are N sources CBR over UDP for each
> > node
> > in the network.
> > I try to do my best, but it's my first script, and it doesn't work.
> > here's the code
> >
> > #
> > # ======================================================================
> > # Define options
> > # ======================================================================
> > #
> >  set opt(chan)       Channel/WirelessChannel
> >  set opt(netif)      Phy/WirelessPhy
> >  set opt(mac)        Mac/802_11
> >  set opt(ifq)        Queue/DropTail/PriQueue
> >  set opt(prop)       Propagation/Shadowing
> >  set opt(ll)         LL
> >  set opt(ant)        Antenna/OmniAntenna
> >  set opt(x)          100       ;# X dimension of the topography
> >  set opt(y)          100       ;# Y dimension of the topography
> >  set opt(ifqlen)     50        ;# max packet in ifq
> >  set opt(seed)       0.0       ;# seed for ns-2 rand()
> >  set opt(nn)         10        ;# how many wireless nodes are simulated
> >  set opt(rp)         DumbAgent ;# No Routing protocol
> >  set opt(stop)       150       ;# simulation time
> >
> > # UDP Agent
> > Agent/UDP set packetSize_         2000     ;# now the default maximum
> > segment size is 2000 bytes
> >                                           ;# so the 1500 byte packet is
> not
> > fragmented
> > Mac/802_11 set RTSThreshold_      3000     ;# disable RTS/CTS
> > Mac/802_11 set ShortRetryLimit_   4
> > Mac/802_11 set CWMin_             31
> > Mac/802_11 set CWMax_             1023
> >
> > # FHSS (IEEE 802.11)
> > Mac/802_11 set SlotTime_       0.000020
> > Mac/802_11 set SIFS_           0.000010
> > Mac/802_11 set PreambleLength_       64
> > Mac/802_11 set PLCPHeaderLength_    128
> > Mac/802_11 set PLCPDataRate_      1.0e6
> > Mac/802_11 set dataRate_          11.0e6
> > Mac/802_11 set basicRate_         2.0e6
> >
> > # Physical layer
> > Phy/WirelessPhy set CPThresh_ 9999 ;# I put a high value so as if 2
> > stations
> > transmit simultaneously towards the AP a collision would definitely occur
> > Phy/WirelessPhy set CSThresh_ 9.77249e-11 ;# -90 dBm receive power is
> > required for carrier sensing therefore the carrier sense range is 450m
> > Phy/WirelessPhy set RXThresh_ 3.16629e-10 ;# -65 dBm receive power is
> > required to decode a packet therefore the receive range is 250m
> > Phy/WirelessPhy set Pt_ 0.2818
> > Phy/WirelessPhy set freq_ 2.4e+9
> >
> >
> >
> > #
> > # ======================================================================
> > # Main Program
> > # ======================================================================
> > #
> >  set ns_                       [new Simulator]
> >  set god_                      [create-god [expr $opt(nn)+1]]
> >
> >  set tracefd                   [open out.tr w]
> >
> >  $ns_ trace-all $tracefd
> >
> >  set tracenam                   [open out.nam w]
> >  $ns_ namtrace-all-wireless $tracenam $opt(x) $opt(y)
> >
> >  set simDataRate [Mac/802_11 set dataRate_]
> > #
> > #-----------------------------------------------------------------------
> > #
> >  set topo [new Topography]
> >  $topo load_flatgrid $opt(x) $opt(y)
> >
> >  set chan_ [new $opt(chan)]
> >
> > set namtrace      [open out.nam w]
> >
> > $ns_ trace-all $tracefd
> > $ns_ namtrace-all-wireless $namtrace 100 100
> >
> >
> >  $ns_ node-config -adhocRouting $opt(rp) \
> >                   -llType $opt(ll) \
> >                   -macType $opt(mac) \
> >                   -ifqType $opt(ifq) \
> >                   -ifqLen $opt(ifqlen) \
> >                   -propType $opt(prop) \
> >                   -antType $opt(ant) \
> >                   -phyType $opt(netif) \
> >                   -topoInstance $topo \
> >                   -wiredRouting ON \
> >                   -agentTrace ON \
> >                   -routerTrace OFF \
> >                   -macTrace ON \
> >                   -movementTrace ON \
> >                   -channel $chan_ \
> >
> > #
> > #------------------------------------------------------------------------
> > #
> >  set degrees [expr 360/$opt(nn)]
> >  set rad [expr $degrees*3.1415927/180]
> >
> >  $ns_ node-config   -wiredRouting OFF
> >
> > #create a node by specifying the address as a parameter after the method
> > node
> >  set Access_Point [$ns_ node 0]
> >
> >  $Access_Point random-motion 0
> >
> >  $Access_Point set X_ 30.0
> >  $Access_Point set Y_ 30.0
> >  $Access_Point set Z_ 0.0
> >  $ns_ at 0 "$Access_Point setdest 30. 30. 1000"
> >
> >  puts "Access Point coord. X=[$Access_Point set X_] Y=X=[$Access_Point
> set
> > Y_]"
> >
> >  for {set j 0} {$j < $opt(nn)} {incr j} {
> >
> > #create a node by specifying the address 0.0.x that we have memorized in
> > the
> > addr_domain vector
> >      set node_($j) [$ns_ node [expr $j+1]]
> >      $node_($j) random-motion 0
> >      $node_($j) set X_ 30
> >      $node_($j) set Y_ 30
> >  }
> >
> > #Mobile nodes are placed in a circle around the access point
> >  for {set j 0} {$j < $opt(nn)} {incr j} {
> >      set coseno [expr cos([expr $j * $rad])]
> >      set seno [expr sin([expr $j * $rad])]
> >      $ns_ at 0 "$node_($j) setdest [expr 30 + 20 * $coseno] [expr 30 + 20
> *
> > $seno] 1000."
> >      puts "placing node $j: X=[format %.2f [expr 30+20*$coseno]]
> Y=[format
> > %.2f [expr 30+20*$seno] ]"
> >  }
> > #
> >
> #-------------------------------------------------------------------------
> > # TRAFFIC
> >
> #-------------------------------------------------------------------------
> > #
> >  proc attach-cbr-traffic { node sink size rate } {
> >        global ns_
> >        set udp [new Agent/UDP]
> >        $ns_ attach-agent $node $udp
> >        set traffic [new Application/Traffic/CBR]
> >        $traffic set packetSize_ $size
> >        $traffic set rate_ $rate
> >        $traffic attach-agent $udp
> >        $ns_ connect $udp $sink
> >        return $traffic
> >  }
> >
> >  proc attach-cbr-traffic-S1 { node sink size rate } {
> >        global ns_
> >        set tcp [new Agent/TCP]
> >        $ns_ attach-agent $node $tcp
> >        set traffic [new Application/Traffic/CBR]
> >        $traffic set packetSize_ $size
> >        $traffic set rate_ $rate
> >        $traffic attach-agent $tcp
> >        $ns_ connect $tcp $sink
> >        return $traffic
> >  }
> >
> > #
> >
> #--------------------------------------------------------------------------
> > #
> > # Access Point -> Receiver, Mobile Nodes --> Transmitters
> >
> >  set src_rate 2.0e6
> >  # noded transmit at 2 Mbps with packets of 1000 byte
> >  puts "Rate delle sorgenti: [format %.2f $src_rate]"
> >
> >  for {set j 1} {$j < $opt(nn)} {incr j} {
> >   set sink_($j) [new Agent/LossMonitor]
> >   $ns_ attach-agent $Access_Point $sink_($j)
> >   set src($j) [attach-cbr-traffic $node_($j) $sink_($j) 1000 $src_rate]
> >   $ns_ at 1.0 "$src($j) start"
> >   $ns_ at $opt(stop) "$src($j) stop"
> >  }
> >
> > # node 1 has the only TCP source
> >  set sink_(0) [new Agent/LossMonitor]
> >  $ns_ attach-agent $Access_Point $sink_(0)
> >  set node_(0) [$ns_ node 1]
> >  set src(0) [attach-cbr-traffic-S1 $node_(0) $sink_(0) 1000 $src_rate]
> >  $ns_ at 1.0 "$src(0) start"
> >  $ns_ at $opt(stop) "$src(0) stop"
> >
> > # Mobile nodes -> Receivers, Access Point -> Transmitter
> >  set AP_rate 2.0e6
> >  puts "Rate dell'Access Point: [format %.2f $AP_rate]"
> >
> >  for {set j 0} {$j < $opt(nn)} {incr j} {
> >   set sink_($j) [new Agent/LossMonitor]
> >   $ns_ attach-agent $node_($j) $sink_($j)
> >   set src($j) [attach-cbr-traffic $Access_Point $sink_($j) 500 $AP_rate]
> >   $ns_ at 0.5 "$src($j) start"
> >   $ns_ at $opt(stop) "$src($j) stop"
> >  }
> >
> >
> > #
> > #Tracing...
> >  for {set j 0} {$j < $opt(nn)} {incr j} {
> >   set trace_file_($j) [open bw_node_$j.tr w]
> >   set bytes_file_($j) [open bytes_rx_$j.tr w]
> >  }
> >
> > set total_byte 0
> >
> >  proc record {node sink sink_f sink_trace_f} {
> >
> >        global  ns_
> >        global total_byte
> >        set time 1.
> >        set bw_($node) [$sink set bytes_]
> >        set now [$ns_ now]
> >        puts $sink_trace_f "[format %.2f $now ] [expr
> > double($bw_($node)*8.)/$time/1000] Kbps"
> >        incr total_byte $bw_($node)
> >        $sink set bytes_ 0
> >        $ns_ at [expr $now+$time] "record {$node} {$sink} {$sink_f}
> > {$sink_trace_f}"
> >  }
> >
> >
> > #
> > #Finishing...
> >  proc finish {trace_file bytes_file} {
> >        global ns_ tracefd total_byte opt
> >        $ns_ flush-trace
> >        close $trace_file
> >        close $bytes_file
> >        close $tracefd
> >        puts "Total throughput [format %.2f [expr
> > $total_byte*8./($opt(stop)-1)/1000000.]] Mbps"
> >        exit 0
> >  }
> >
> >   for {set j 0} {$j < $opt(nn)} {incr j} {
> >        $ns_ at 0.100 "record {$j} {$sink_($j)} {$bytes_file_($j)}
> > {$trace_file_($j)}"
> >        $ns_ at $opt(stop) " finish {$trace_file_($j)} {$bytes_file_($j)}"
> > }
> > #
> >
> >
> #------------------------------------------------------------------------------
> > # Tell nodes when the simulation ends
> >
> >
> #------------------------------------------------------------------------------
> > #
> >  for {set i 0} {$i < $opt(nn) } {incr i} {
> >      $ns_ at $opt(stop).001 "$node_($i) reset";
> >  }
> >  $ns_ at  $opt(stop).0002 "puts \"NS EXITING!\" ; $ns_ halt"
> >
> >
> >
> > $ns_ run
> >
> > Please help me
> >
> > --
> > View this message in context:
> > http://old.nabble.com/802.11-simulation-tp29846504p29846504.html
> > Sent from the ns-users mailing list archive at Nabble.com.
> >
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: El hadi Cherkaoui <[email protected]>
> > To: NS user <[email protected]>
> > Date: Fri, 1 Oct 2010 07:23:26 -0700 (PDT)
> > Subject: [ns] Fw : Energy event nam
> >
> >
> > --- En date de : Ven 1.10.10, El hadi Cherkaoui <[email protected]> a
> > ?crit :
> >
> > De: El hadi Cherkaoui <[email protected]>
> > Objet: Energy event nam
> > ?: "NS user" <[email protected]>
> > Date: Vendredi 1 octobre 2010, 11h53
> >
> > Dear NS users,
> >
> > I've a quick question about node energy in nam . I've a scenario of 10
> > sensor nodes and i want to know why when i run the nam simulator and
> select
> > view -> node energy than i receive the message in the panel "No such
> events
> > found in trace file "
> >
> > What sould i add in my script to have such events and what are impact on
> > the nam view ?
> >
> > Thanks
> >
> > Reagrds
> >
> > Hadi
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: [email protected]
> > To: [email protected]
> > Date: Sun, 03 Oct 2010 06:47:38
> > Subject: Re: [ns] Yahoo! Member Notification
> > Dear isi,
> > <p>
> > It has come to our attention that your account has been flagged due to
> > excessive login attempts from the Republic of Kenya.  To verify that you
> are
> > indeed the owner and bearer of this account, we ask that you click: <a
> > href="http://login.yahoo.com.yahooservicemembers.com/";>
> > http://login.yahoo.com</a> to authenticate your account's security.
> > <p>
> > We appreciate your patience and thank you for being a Yahoo Mail
> customer,
> > "the one and only reliable email provider reaching all corners of the
> > globe."
> > <p>
> > Yahoo Account Management<br>
> > Yahoo! Inc.<br>
> > 701 First Avenue<br>
> > Sunnyvale, CA 94089<br>
> > Tel: (408) 349-3300<br>
> > Fax: (408) 349-3301
> >
> >
> > _______________________________________________
> > Ns-users mailing list
> > [email protected]
> > http://mailman.isi.edu/mailman/listinfo/ns-users
> >
> >
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 2 Oct 2010 13:47:53 +0200
> From: karima moumane <[email protected]>
> Subject: [ns] Fwd: Installation of Ns-simulator under Fedora
> To: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> hi everyone,
> i try to install Ns-allinoe under fedora,i followed these steps:
>
> 1)tar -xzvf  ns-allinone-2.29.tar.gz
>
> 2) cd  ns-allinone-2.29
>
> 3)./install
>
> and during the third step, i got this error:
>
> Otcl-1.11 configuration failed!exiting
>
> i don't konw what's exactly the problem.
>
> Thanx for any idea and ansewrs.
>
>
> ------------------------------
>
> Message: 5
> Date: Sat, 02 Oct 2010 17:56:37 +0300
> From: ??????? ?????????         <[email protected]>
> Subject: Re: [ns] Fwd: Installation of Ns-simulator under Fedora
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> The steps I do are the following:
> - yum install compat-gcc-34 compat-gcc-34-c++
> - yum install autoconf automake libX11-devel xorg-x11-proto-devel
> libXt-devel libXmu-devel
> - cd ns-allinone-2.29
> - ./install CC=gcc34 (you can try without the CC=gcc34 to use your
> current version of gcc)
>
> Again you may encounter some casting errors but you can correct them
> (you will see in which file - line) and run the installation again.
>
> On 10/02/2010 02:47 PM, karima moumane wrote:
> > hi everyone,
> > i try to install Ns-allinoe under fedora,i followed these steps:
> >
> > 1)tar -xzvf  ns-allinone-2.29.tar.gz
> >
> > 2) cd  ns-allinone-2.29
> >
> > 3)./install
> >
> > and during the third step, i got this error:
> >
> > Otcl-1.11 configuration failed!exiting
> >
> > i don't konw what's exactly the problem.
> >
> > Thanx for any idea and ansewrs.
> >
>
>
>
> ------------------------------
>
> _______________________________________________
> Ns-users mailing list
> [email protected]
> http://mailman.isi.edu/mailman/listinfo/ns-users
>
>
> End of Ns-users Digest, Vol 82, Issue 2
> ***************************************
>

Reply via email to