CrazyEngineers
  • Network Simulator NS2

    as_nawin

    Member

    Updated: Oct 26, 2024
    Views: 1.2K
    Dear members,
    if any body know the procedures to install ns2 network simulator in windows or linux os? you post in this theard regarding this....
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • durga ch

    MemberOct 17, 2009

    Hi

    I could install NS 2 on UBUNTU following the steps mentioned in the below URL

    I did the post checks as well and found its OK. except that I have not yet started to program :-|

    here you go.
    #-Link-Snipped-#
    Are you sure? This action cannot be undone.
    Cancel
  • as_nawin

    MemberOct 17, 2009

    thank you for your reply...
    but i installed ns2 in windows using cygwin but there is some problems arised when installing ... i.e. the gcc compiler is not installing automatically ..
    i think i need to install it manually .... so i'm searching the way.😔
    And also some one explain about ADHOC networks.
    and also why we need NS2 for it.
    Are you sure? This action cannot be undone.
    Cancel
  • durga ch

    MemberOct 17, 2009

    I had similar issues with cygwin, so proceeded with Ubuntu .

    As far as you questions related to using NS2 for adhoc is considered, I think its not only simulator available, NS 2 is generally for wired and wireless networks , I found this other simulator as well try giving it a go

    #-Link-Snipped-#
    Are you sure? This action cannot be undone.
    Cancel
  • vik001ind

    MemberOct 19, 2009

    ns2 lacks graphics. Omnet++ is easy to install in windows & has graphics.
    Its programming is done in C.
    Are you sure? This action cannot be undone.
    Cancel
  • vik001ind

    MemberOct 19, 2009

    as_nawin
    thank you for your reply...
    but i installed ns2 in windows using cygwin but there is some problems arised when installing ... i.e. the gcc compiler is not installing automatically ..
    i think i need to install it manually .... so i'm searching the way.😔
    And also some one explain about ADHOC networks.
    and also why we need NS2 for it.


    Use these commands ---- (as per the errors)
    1> error -- OS not supported .
    rpm --ignoreos -ivh <rpm file>

    2> error -- dependencies issue
    rpm -ivh <rpm file> --nodeps
    Are you sure? This action cannot be undone.
    Cancel
  • nazy

    MemberOct 20, 2009

    you know i just can install cygwin.but i need ns2.

    is any body here that can hepl me?????plz
    Are you sure? This action cannot be undone.
    Cancel
  • as_nawin

    MemberOct 21, 2009

    i think you installed cygwin and searching for to install ns2 on cygwin..
    if i'm write there is some procedures to install ns2 on cygwin..
    follow the steps.....
    1. Install CYGWIN
    1) Download zip file of ns2.29 (allinone) from:
    #-Link-Snipped-#
    2) Download cygwin setup.exe from <a href="https://www.cygwin.com" target="_blank" rel="nofollow noopener noreferrer">Cygwin</a>
    3) Click on “cygwin.exe”.
    after installation of cygwin..
    2. Install NS2
    *Copy ns-allinone-2.29.2.tar to directory c:/cygwin/usr/local
    *Unzip “ns-allinone-2.29.2.tar”
    * Click on desktop icon “cygwin”
    * type cd .. in cygwin window untill it exits all folder
    * “cd usr”, go to folder “usr”
    *“cd local”, go to folder “local
    *Find the “install.exe” file
    and run that it..........
    Are you sure? This action cannot be undone.
    Cancel
  • Ashraf HZ

    MemberOct 21, 2009

    If you can get your hands on a Cisco IOS, then GNS3 is the bomb.
    Are you sure? This action cannot be undone.
    Cancel
  • nazy

    MemberOct 21, 2009

    u know i do this but it didn't work
    i think u must to know what it say



    configure:error:no acceptable cc found in $path
    Tc18.3.2 configuration failed! Exiting...
    Tcl is not part of the ns project😔😔
    Are you sure? This action cannot be undone.
    Cancel
  • vik001ind

    MemberOct 21, 2009

    Your environment variable 'PATH' is not properly set.
    For this error, you have to include a path for fetching the commands from the bin directory, search for bin directories & try including them.
    Use command : "echo $PATH" to see the paths included.
    For including a path, do : export PATH="<same path>/bin:$PATH"


    Further try google : setting environment variables in Linux
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register