Spring 2013
ENSC 835: COMMUNICATIO NETWORKS
You need to ssh to payette.ensc.sfu.ca
if you use the workstations in the ASB 10802 (Graduate Computer Lab).
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
ns2.1b6 environment info:
1. Add to your .login :
    if ( -e /ensc/local2/ns2.1b6 ) then
    setenv PATH ${PATH}:/ensc/local2/ns2.1b6/bin
    endif
2. source .login
3. mkdir ns
4. cd ns
5. cp /ensc/local2/ns/ns-allinone-2.1b6/ns-2.1b6/tcl/ex/example-trace . (note the period, which is equivalent to typing "example-trace" instead.)
6. cp /ensc/local2/ns/ns-allinone-2.1b6/ns-2.1b6/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:
Wed Jan 23 17:17:19 PST 2013.