Find the answer to your Linux question:
Results 1 to 2 of 2
1) Go to link: SourceForge.net: Files 2) Download File: ns-allinone-2.33.tar.gz 3) Start Fedora and open Root Account 4) Place the downloaded file on Desktop and right click on it and ...
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    1

    NS2 Installation Guide in Fedora 7

    1) Go to link:SourceForge.net: Files

    2) Download File: ns-allinone-2.33.tar.gz

    3) Start Fedora and open Root Account

    4) Place the downloaded file on Desktop and right click on it and select extract

    5) Open Konsole and write following commands:

    a)cd Desktop
    b)cd ns-allinone-2.32
    c)./INSTALL or ./install

    6) Installation will start and finally a message will apper on screen like this:

    ================================================== ================================================== =========================

    IMPORTANT NOTICES:

    (1) You MUST put /home/raheel/Desktop/ns-allinone-2.33/otcl-1.13, /home/rahene-2.33/lib,
    into your LD_LIBRARY_PATH environment variable.
    If it complains about X libraries, add path to your X libraries
    into LD_LIBRARY_PATH.
    If you are using csh, you can set it like:
    setenv LD_LIBRARY_PATH <paths>
    If you are using sh, you can set it like:
    export LD_LIBRARY_PATH=<paths>

    (2) You MUST put /home/raheel/Desktop/ns-allinone-2.33/tcl8.4.18/library intnvironmental
    variable. Otherwise ns/nam will complain during startup.


    After these steps, you can now run the ns validation suite with
    cd ns-2.33; ./validate

    For trouble shooting, please first read ns problems page
    The Network Simulator ns-2: Installation Problems and Help. Also search the ns mailing lis
    for related posts.

    ================================================== ================================================== =========================

    7) Place the paths by using Konsole like e.g. :

    a)LD_LIBRARY_PATH=path:/home/raheel/Desktop/ns-allinone-2.33/otcl-1.13
    b)LD_LIBRARY_PATH=path:/home/rahene-2.33/lib
    c)LD_LIBRARY_PATH=path:/home/raheel/Desktop/ns-allinone-2.33/tcl8.4.18/library

    Please use the paths shown in your own NOTICES, the command for the paths is LD_LIBRARY_PATH=path:<path>
    I have used my own paths. A total of 3 paths are to be placed. 2 from (1) and 1 from (2)

    After these steps are complete, goto:
    a) Desktop > ns-allinone-2.32 > nam-1.13: copy "nam" and paste in /bin
    b) Desktop > ns-allinone-2.32 > ns-2.32: copy "ns" and paste in /bin

    9) Now close all files opened and restart Konsole and write ns and press enter

    NOTE: If there is no error and an environment starts, it means the installation is successful and you can now start with
    this link: Marc Greis' Tutorial for the UCB/LBNL/VINT Network Simulator "ns"
    Read the manual and begin your learning of NS-2

    If there is any problem, feel free to contact me...!!!

    Best Wishes and Good Luck for your installation......!!!!!

  2. #2
    Just Joined!
    Join Date
    Nov 2009
    Posts
    1

    ns2 on fedora

    Sir
    I read your article and implemented all the steps for ns2 installation on fedora.

    All the steps work well and I completed all the 7 steps successfully but at last when I run "ns" and pressed Enter on console, it will not going to recognise it and
    send a "bash" message.

    Please Help !

    I will be really thankful to you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...