Skip to main content

Posts

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
Recent posts

Conikit NG installation in Ubuntu 20.04

Contiki NG Installation This post shows the contiki NG installation in Ubuntu 20.04 OS. The same instruction will work for Ubuntu 22.04 as well.  Requirements: OS - Ubuntu 20.04  Contiki NG OS -  https://github.com/contiki-ng/contiki-ng  Watch the video for complete installation instructions Step 1 : Install the basics  Login in to Ubuntu and open the terminal.  Give the following command and press enter  $  sudo apt install build-essential doxygen git curl wireshark python-serial srecord rlwrap autoconf automake libxmu-dev gcc-msp430 default-jdk ant openjdk-11-jdk Contiki NG Step 2: To install GCC for ARM controller Download the following file and unzip (decompress) it in the home folder (in my case it is /home/pradeepkumar)  https://launchpad.net/gcc-arm-embedded/5.0/5-2015-q4-major/+download/gcc-arm-none-eabi-5_2-2015q4-20151219-linux.tar.bz2 set the above in the PATH Environment. /home/pradeepkumar/.bashrc to open the above file using a terminal $] gedit /home/pradeepkumar/.

Installing ns3 in Ubuntu 22.04 | Complete Instructions

In this post, we are going to see how to install ns-3.36.1 in Ubuntu 22.04. You can follow the video for complete details Tools used in this simulation: NS3 version ns-3.36.1  OS Used: Ubuntu 22.04 LTS Installation of NS3 (ns-3.36.1) There are some changes in the ns3 installation procedure and the dependencies. So open a terminal and issue the following commands Step 1:  Prerequisites $ sudo apt update In the following packages, all the required dependencies are taken care and you can install all these packages for the complete use of ns3. $ sudo apt install 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-

VPL Jail Server Installation | Virtual Programming Laboratory with Moodle

Virtual Programming Laboratory (VPL)  This post tells you how to install VPL Jail Server Installation in Ubuntu 20.04 and how to configure it using Moodle Learning Management System. VPL - Virtual Programming Laboratory  For full installation with complete description, follow the video What is VPL? VPL is Virtual Programming Laboratory which is a tool for programming assignments, evaluation and running of programs. The programming languages supported by VPL is C, C++, Java, Python, Perl, PHP, NodeJS, Verilog, etc. Step 1 - Install  VPN Jail Server Installation  My Server configuration  16GB RAM and 16 Core PRocessor (Intel Xeon)  Virtual Machine  Ubuntu 20.04 (64 bit OS). To download the softwares  https://vpl.dis.ulpgc.es/index.php/home/download  Unzip or untar the above file in the home folder (in my case it is /home/tspradeepkumar/ ) $ cd vpl-jail-system-2.7.2/ $ sudo ./install-vpl-sh VPL Jail Server Installation This will take some time based on your internet connection: To Star

Python SSL certificate verify error - Solved

Often we get an error in python in the ssl.c file namely: ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: The reason is your computer didnt have a valid certificate. There are many options in the internet and none of them worked. Here is the solution:  Download https://letsencrypt.org/certs/lets-encrypt-r3.pem  rename file .pem to .cer double click and install and then try to run app your SSL issue will resolved. Cheers !!! Here are the screenshots for the above operations SSL certificate Error SSL certificate Error SSL certificate Error SSL certificate Error SSL certificate Error SSL certificate Error

AODV Protocol Modification in NS2 - NS2 Tutorial 7

AODV Protocol Modification In this post, you can learn ·        What is AODV protocol ·        How to measure the energy, node position and node speed during AODV transmission ·        To understand and implement the promiscuous mode in AODV Introduction A mobile Adhoc network is self-configurable multi-hop wireless network that will not depend on pre- existing infrastructure such as access points. A MANET contains several wireless nodes where each node may move randomly, chose to communicate with any node in its range directly. In order to communicate with any node not in its range, intermediate nodes help as routers to forward the packet to the destination. The characteristics of MANETs are energy constrained, multi-hop, dynamic topology, no central authority and device heterogeneity. A node can join any network and can leave the network anytime. Due to this higher mobility, MANETs exhibit dynamic nature in forming the topology. Basically, a MANET is self-organized, self-