Skip to main content

Posts

A Text book for OMNeT++ (Learning OMNeT++)

This post is for the nsnam.com readers particularly those who want to learn OMNeT++. As you aware, ns2 and OMNeT++ are two software that are freely distributed and available to academics for almost free of cost. However, when dealing with the documentation, both suffers a set back. NS has a documentation and still researchers across the world have their own way of learning. And OMNeT++ has a proper documentation, that is very huge and takes times to understand. Packt Publishing has published a book in OMNeT++ authored by Thomas Chamberlain You may refer the following website for http://www.packtpub.com/ OMNeT++ You can also learn:  http://www.nsnam.com/2013/12/installation-of-omnet-in-linux-mint-16.html This book is organized in the following chapters. Getting started with OMNeT++ Installing OMNeT++ OMNeT++ Simulations  Creating and Running simulation Learning from your simulation There are just 5 chapters that are just enough for a beginner to...

Installing NS-2.35 in Fedora 20 (64 bit)

Installing ns2 under Fedora 20 is same as Fedora 19. However, there are some slight changes in the installation pattern. Refer to this post for downloading the ns2.35 software and pre installation steps: http://www.nsnam.com/2013/09/installing-network-simulator-2-ns-2-35-in-fedora-19.html Steps for Fedora 20 During the software customization in Fedora 20, I have selected all the softwares in GNOME Desktop. So I did not tried the following command. However, if you have installed Fedora 20 with default set of softwares, there here is the step to install all the developmental libraries. $prompt] yum install tcl tk gcc-c++ libX11-devel libXt-devel libXmu-devel  You need to change the file ns-2.35/linkstate/ls.h file as specified below. in Line number 137, change erase( to this->erase   The installation will report an error if the above change is not made. Once installed, set the PATH in /home/pradeepkumar/.bash_profile file, in my case here is my path informa...

How to mount Remote Windows File System in Linux (CIFS)

This post is to tell you how to mount a remote windows file system in Linux/Unix platform. There is a filesystem called CIFS in the recent years called (Common Internet File System). Older linux versions has SMBFS (Samba File System) where in both the cases you can mount the remote windows Server file systems in Linux. Here are the simple steps to do that. 1. You need to know the Mounted Windows Username and Password 2. Should have the Linux Super User (root login) for your Linux Machine 3. The Windows share folder Here are the steps: Step 1: Open the Terminal in Linux and enter into the su mode (Super user mode) $] su $] mkdir -p /mnt/windowserver (Create a mountable folder in the /mnt directory, this directory is again accessible with root rights) $] mount.cifs //machinename/sharefolder  /mnt/windowserver -o username=administrator, password=myPassword If you want to mount the entire directory, then from an IP, then $] mount.cifs //192.168.1.1/D$  /mnt/window...

Shell Script Examples

Bourne Again Shell (bash) is the common shell used in Unix/Linux based Operating Systems. Also these days, even Windows OS also comes with an option called Power Shell.  This post will list out some basic exercises that a shell can do. Do follow this blog with more number of exercises. To run a bash file, you can use either of these following commands bash file.sh sh file.sh ./file.sh (in this case the file.sh should be made executable) For making executable file, use this command  chmod 755 file.sh 1. A Shell to Handle a File, rename a given file, compress it and move it to a newfolder and decompress it in the newfolder 1: #!/bin/bash 2: touch pri.txt 3: ls > ; pri.txt 4: mv pri.txt file.doc 5: tar zcvf compress.tar.gz file.doc 6: mkdir newfolder/ 7: cp compress.tar.gz newfolder/ 8: cd newfolder/ 9: tar zxvf compress.tar.gz 2. A shell to find a particular string from a file and redirect it ...

Installation of OMNeT++ in Linux Mint 16

This blog post shows the installation of OMNeT++ in Linux Mint 16 (Ubuntu 13.10) . Linux Mint 16 is just launched this week and Linux Mint is derived from the Base source of Ubuntu 13.10 Let us see, how to install OMNeT++ in Linux Mint. My Settings Used Linux Mint 16 (Petra) 32 Bit OS (As OMNeT++ libraries are mainly 32 bit libraries) OMNeT++ Version 4.3 Unlike Windows 7 or 8, you need to download some extra softwares in Linux You can also see the following link if you want to try OMNeT++ in Windows 7 or Windows 8.  http://www.nsnam.com/2013/12/installation-of-omnet-in-windows-8-and.html 1. Download the OMNeT++ package from this  URL  http://www.omnetpp.org/omnetpp/doc_download/2266-omnet-431-source--ide-tgz See the Screenshot below and Select the first link  OMNeT++ 2. Unzip it using the following command   tar zxvf omnetpp-4.3.1.tgz 3. Install the following libraries  sudo apt-get install build-essential autoconf automake l...

Installation of OMNeT++ in Windows 8 and Windows 7

OMNeT++ is one of the simulator available free of cost for academic use. It is a network simulation framework that simulates various wired, wireless network protocols. This post will tell you the installation steps as needed to run OMNeT++ in windows family (Windows 7 or 8) Tools Needed (or What I had) : Operating System - Tested in Windows 8, Windows 8.1 and Windows 7 All the Simulation libraries are developed in 32 bit, but still 64bit OS also supports. I have used 64 bit Windows 8 and 32 bit Windows 7 I have downloaded the Omnet version 4.3. Older Versions of OMNeT++ may need Visual Studio installation. Steps for Installation: Actually speaking, OMNeT++ is developed for Linux operating Systems, but this also supports Windows OS through the mingw (Minimalist GNU for Windows) support. Other One being Cygwin (If you want to use Cygwin try on your own). Step 1: Download the required software from this weblink: (See the figure and i choose the second one) http://omnetpp...