Skip to main content

Posts

Showing posts from June, 2014

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

NS3 installation in Linux Mint 17 (64 bit)

This post tells you how to install the ns3 version in Linux Mint 17 (64bit)- Long Term Support till 2019. Preliminaries The following development libraries are to be installed before trying ns3 $prompt] sudo apt-get update  $prompt] sudo apt-get install build-essential autoconf automake libxmu-dev $prompt] sudo apt-get install ia32-libs  (the above software ia32-libs is needed only when you want to run the 32 bit applications inside a 64bit OS) Now download the ns3 software from the website http://www.nsnam.org I downloaded the version 3.20 ( ns-allinone-3.20.tar.bz2 ). Please do understand that ns2 is different from ns3 and they are not having any link between them (however, some network models were used in ns3 were adopted from ns2). Also ns3 will run using the main() of C++ and also it has python bindings. Here is the installation steps of ns3 1. copy the ns-allinone-3.20.tar.bz2 in the home directory(Ex: /home/pradeepkumar) 2. Set the following path information (t

Time Command in Linux

The  time  command is linux is very much useful if you want to know the time information while running a program or a process. The time command usage is as followsprompt $] time <commandname> Example prompt $] time ls The output will be real0m0.002s user0m0.004s sys0m0.000s If you want to see the detailed system parameters occupied during a program or process, then the command will be prompt$] TIMEFORMAT=”” time -v <commandname> See the screenshot given below Time Command in Linux The output of the above command is Desktop  Documents  Downloads  examples.desktop  MusicPictures  Public  Templates  Videos Command being timed: “ls” User time (seconds): 0.00 System time (seconds): 0.00 Percent of CPU this job got: 400% Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.00 Average shared text size (kbytes): 0 Average unshared data size (kbytes): 0 Average stack size (kbytes): 0 Average total size (kbytes): 0 Maximum resident set size (kbytes): 3600 Average res

Simple Screen Recorder for Linux

Recording the screen in Linux OS is always a tedious task, as either the video/audio malfunctions or support may not be there. There is a tools called simple screen recorder for Linux. Its a very simple tool that is recorded and processed in no time. For example, if you record an 1 hour video, the processing may take another 20 to 50 minutes. But this software does the “On the fly recording and processing” This software has a straight forward interface and its incomparable to other softwares in the market. Its faster than VLC It never takes more amount of RAM like VLC do. Its multithreaded, if you have more than one core, then the processing happens at all the cores. it can do live streaming also, but it is under experimental setting. it supports many different codecs. Here is the simple screenshot. Simple Screen Recorder Simple Screen Recorder Simple Screen Recorder Simple Screen Recorder A 42 minute video is recorded using this software and it ta