NS-2.35 installation in Ubuntu 22.04 This post shows how to install ns-2.35 in Ubuntu 22.04 Operating System Since ns-2.35 is too old, it needs the following packages gcc-4.8 g++-4.8 gawk and some more libraries Follow the video for more instructions So, here are the steps to install this software: To download and extract the ns2 software Download the software from the following link http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download Extract it to home folder and in my case its /home/pradeepkumar (I recommend to install it under your home folder) $ tar zxvf ns-allinone-2.35.tar.gz or Right click over the file and click extract here and select the home folder. $ sudo apt update $ sudo apt install build-essential autoconf automake libxmu-dev gawk To install gcc-4.8 and g++-4.8 $ sudo gedit /etc/apt/sources.list make an entry in the above file deb http://in.archive.ubuntu.com/ubuntu/ bionic main universe $ sudo apt update Since, it
Your blog is awfully appealing. I am contented with your post. I regularly read your blog and its very helpful. If you are looking for the best Algorithm Interview Questions, then visit TutorialCup. Thanks! I enjoyed this blog post.
ReplyDeleteRespected Sir,
ReplyDeleteI am getting the following error. Can you sort it out.
farooque@farooque-Vostro-3490:~/Desktop/ns-allinone-3.31/ns-3.31$ ./waf --run scratch/vanet-routing-compare
Waf: Entering directory `/home/farooque/Desktop/ns-allinone-3.31/ns-3.31/build'
Waf: Leaving directory `/home/farooque/Desktop/ns-allinone-3.31/ns-3.31/build'
Build commands will be stored in build/compile_commands.json
'build' finished successfully (1.152s)
msg="Could not connect callback to /NodeList/*/DeviceList/*/ns3::WifiNetDevice/Phy/PhyTxDrop", file=../src/core/model/config.cc, line=920
terminate called without an active exception
Command ['/home/farooque/Desktop/ns-allinone-3.31/ns-3.31/build/scratch/vanet-routing-compare'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run --gdb").
Happy Teacher's day sir
ReplyDeleteThank you Very much...
Deletesir can u please post ant based routing algorithm fro manets
ReplyDeletePosted... a video on Ant Colony, check it.
Deletesir i tried for TCP congestion control wired network after saving NSG file it gives segmentation fault error how to resolve it
ReplyDeleteI think there is some error while creating the Application or Agent in the NSG. Either send me the file for correction or try again in NSG to resolve the error.
Deletethank u sir
DeleteRespected Sir,
ReplyDeleteI am new to ns2. I am planning to work on WBAN energy efficient routing as a part of my PhD.
Kindly guide me how to start.
can you please make a video 'implementing p2p overlay over manet in ns2 step by step.
ReplyDeleteit's a request.
dear sir,
ReplyDeleteplease can u make a step by step tutorial about p2p protocol over manet.
please sir.
Hopefully, you will be fine. I am already asked you about the trust based implementation in NS2 for WSN. Please Sir give me your valuable solutions.
ReplyDeletegood evening sir,
ReplyDeleteCan you say how to write awk script to calculate round trip time?