Skip to main content

Posts

Showing posts from November, 2012

Installing ns-3.37 and ns-3.35 in Ubuntu | Ubuntu 22.04 | NS3

Multiple Versions of ns3 in Ubuntu 22.04 In this post, we are going to install two versions of ns3 namely ns-3.35 and ns-3.37  My OS is : Ubuntu 22.04 LTS (Long Term Support) ns-3.35 uses waf and (./waf --run scratch/first)  ns-3.37 uses cmake  (./ns3 run scratch/first.cc) So we will install both the packages  Go through the video for complete instructions To start with  $ sudo apt update  $ sudo apt install build-essential autoconf automake libxmu-dev g++ python3 python3-dev pkg-config sqlite3 cmake python3-setuptools git qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools gir1.2-goocanvas-2.0 python3-gi python3-gi-cairo python3-pygraphviz gir1.2-gtk-3.0 ipython3 openmpi-bin openmpi-common openmpi-doc libopenmpi-dev autoconf cvs bzr unrar gsl-bin libgsl-dev libgslcblas0 wireshark tcpdump sqlite sqlite3 libsqlite3-dev  libxml2 libxml2-dev libc6-dev libc6-dev-i386 libclang-dev llvm-dev automake python3-pip libxml2 libxml2-dev libboost-all-dev  I have downloaded both the versions of ns3 fr

Linux Kernel and Embedded Systems Apps in Windows 8

Dear readers,  Thanks are using my website for technical information. Scaling to a new level, I have published two apps in Windows 8 app store, one related to linux kernel and other on Embedded systems Of course, both of the mateirals are already there in this blog.  So readers can download offline to see the contents related to embedded system and linux kernel and the advanatage is, they are free to download. Here are the links to download Embedded Systems -  http://apps.microsoft.com/webpdp/app/embeddedsystems/d38a2fd9-1ca3-4e17-a003-ef3be532608b Linux Kernel App - http://apps.microsoft.com/webpdp/app/linux-kernel/a61626c3-f135-4492-8a3d-64bd84c7ab40 I am planning to launch these and other apps in android also soon. Wait for my apps.

Energy Model in Network Simulator 2 (NS2)

Enabling or using energy for a wireless node is always giving the accurate results. Be default, when node-config is done is NS2, the energy supplied is infinite, means there is no energy log is been carried out. you can see the following code below: #Node configuration without energy Model $ns node-config -addressType hierarchical \ -adhocRouting AODV \ -llType LL \ -macType Mac/802_11 \ -ifqType Queue/DropTail/PriQueue \ -ifqLen 50 \ -antType Antenna/OmniAntenna \ -propType Propagation/TwoRayGround \ -phyType Phy/WirelessPhy \ -topologyInstance \$topo \ -channel Channel/WirelessChannel \ -agentTrace ON \ -routerTrace ON \ -macTrace OFF \ -movementTrace OFF #here is the change in which you can enable the energyMode