Research breakthrough possible @S-Logix pro@slogix.in

Office Address

  • 2nd Floor, #7a, High School Road, Secretariat Colony Ambattur, Chennai-600053 (Landmark: SRM School) Tamil Nadu, India
  • pro@slogix.in
  • +91- 81240 01111

Social List

How to set path in NS2?

Set PATH environment in ns2 as follows

Step 1

Modify .bahrc



Step 2
  • Add this line in bashrc file which located at C: /Cywin/home/Administrator/……
  • 1.export NS_HOME=/home/ns-allinone-2.302.exportPATH=$NS_HOME/tcl8.4.13/unix:$NS_HOME/tk8.4.13/unix:$NS_HOME/bin:$PATH3.exportLD_LIBRARY_PATH=$NS_HOME/tcl8.4.13/unix:$NS_HOME/tk8.4.13/unix:$NS_HOME/otcl-1.12:$NS_HOME/lib:$LD_LIBRARY_PATH4.exportTCL_LIBRARY=$NS_HOME/tcl8.4.13/library


Step 3
  • Edit the lines as shown in below bashrc file

set path in NS2