Spring 2013
ENSC 427: COMMUNICATIO NETWORKS

You need to ssh to payette.ensc.sfu.ca if you use the workstations in the ESIL Lab ASB 1000B/ASB 10803.

ns2.1b8 environment info:

  • 1. Add to your .login :
        if ( -e /ensc/local2/ns2.1b8 ) then
        setenv PATH ${PATH}:/ensc/local2/ns2.1b8/bin
        endif
  • 2. source .login
  • 3. mkdir ns
  • 4. cd ns
  • 5. cp /ensc/local2/ns2.1b8/ns-2.1b8/tcl/ex/example-trace . (note the period, which is equivalent to typing "example-trace" instead.)
  • 6. cp /ensc/local2/ns2.1b8/ns-2.1b8/tcl/ex/tg.tcl . (note the period, which is equivalent to typing "tg.tcl" instead.)

    Execute a sample ns-2 code:
    ns tg.tcl


    Last modified: Thu Jan 31 00:29:04 PST 2013.