Skip to main content


Showing posts from November, 2013

PyTorch Code for Simple Neural Networks for MNIST Dataset

OLSR protocol in NS-2.35 (ns2)

OLSR protocol is called as Optimized link State routing protocol and is defined by The OLSR is available as a patch for ns2 for various versions. There is a new version UM-OLSR patch in the given link below. OS Used: Linux Mint 14 and Ubuntu 12.10 The following files are modified in ns-2.35 for OLSR ~ns-2.35/ ~ns-2.35/common/packet.h ~ns-2.35/queue/ ~ns-2.35/tcl/lib/ns-agent.tcl ~ns-2.35/tcl/lib/ns-default.tcl ~ns-2.35/tcl/lib/ns-lib.tcl ~ns-2.35/tcl/lib/ns-packet.tcl ~ns-2.35/trace/ ~ns-2.35/trace/cmu-trace.h Download the OLSR File here (the original OLSR may contain some bug, so download from this location for bug free OLSR Code) Copy the file from ns-modified files/ to the corresponding location Ensure that you have a fresh installation of ns-2.35 (else pasting these files will overwrite the information what you have earlier) The zip file also has a patch file that can be pa

VANET SImulator in Fedora 19 (32 bit) - SUMO and MOVE

Simulation of Urban Mobility (SUMO) along with MOVE is a software that helps in simulating  the VANETs. SUMO is the software that does the mobility of nodes, edges, etc from the MOVE software. Installation of SUMO and MOVE in Linux is always a challenging job. This post tells the installation of both these softwares SUMO and MOVE Installation of SUMO In my case, I have used Fedora 19 (32 bit) OS. There are many problems in 64 bit version of Fedora 19, but 32 bit OS uses perfectly. Execute the command one by one. sudo yum update sudo yum install perl (this will install almost 30 MB of softwares downloaded from the internet) Fedora 19 Download the sumo software from there will be SVN versions and source files, but you can download ,  sumo-0.18.0-2.3.i686.rpm  Once downloaded, open the terminal and give this command to i