Skip to main content

Posts

Showing posts from March, 2020

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

How to make boot entry in CentOS for Windows 10

Whenever you try installing Cent OS, after the installation of CentOS, the windows 10  or windows 8 might have gone missing from the boot table entry. This is due to one of the reasons Since Windows 10 or 8 runs with NTFS filesystem which could not be understandable by Cent OS any other booting issues like UEFI or GPT partition issues. Any how, one can try the first method to get rid of the NTFS filesystem issue. After installing CEntOS, get it in to the Cent OS and open the terminal and give the command one by one $] sudo yum install epel-release or $] sudo yum install epel-release.noarch $] sudo yum install ntfs-3g Depending on the speed of the internet, the above command might take some time to install. $] sudo grub2-mkconfig > /dev/null this command will read the windows 10 or 8 partition. Thats it. Reboot the machine and you can boot in to Windows 10. Here is the image   and final step is here, execute these commands $] sudo grub2-mkconfig -o /boot/

Wireshark in User Mode

If you are running Ubuntu or Linux Mint, the wireshark may not list all the interfaces except bluetooth. There is a small workaround for enabling all the interfaces within wireshark To install wireshark $ sudo apt install wireshark Checking for all the interfaces $] ifconfig -a  eth0      Link encap:Ethernet  HWaddr b4:b5:2f:90:41:98             UP BROADCAST MULTICAST  MTU:1500  Metric:1           RX packets:0 errors:0 dropped:0 overruns:0 frame:0           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B) lo        Link encap:Local Loopback             inet addr:127.0.0.1  Mask:255.0.0.0           inet6 addr: ::1/128 Scope:Host           UP LOOPBACK RUNNING  MTU:65536  Metric:1           RX packets:5528 errors:0 dropped:0 overruns:0 frame:0           TX packets:5528 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            RX bytes:522095 (522.