Skip to main content

Posts

Showing posts from July, 2015

PyTorch Code for Simple Neural Networks for MNIST Dataset

Aqua Sim for NS2 - Underwater Sensor Networks

Sensor nodes deployed inside water are known to be underwater sensor networks. These network is helpful in fish cultivation, habitat monitoring, predicting ptusami, etc. Updated 9th April 2016 : the link to download the Aquasim is updated , the regular link is not working This network uses different MAC protocol, routing protocol, etc. Real test bed are costlier and one cannot afford it. Simulators are the ultimate solution to know about these networks. Aquasim is one such tool that is integrated in ns2 for handling underwater sensor networks. This simulator supports new mac layer, new protocols that are helpful in routing inside water. There are examples also to simulate these networks. Here is the installation steps of Aquasim.  Some points to be taken care of ns-allinone-2.30 is used in creating the underwater sensor networks  nam misbehaves (or does not work) in recent Ubuntu and Mint distributions.   Need to have the X11, automake and build essential tools to install A

nam installation - Segmentation Fault (Solved)

If you are encountering "Segmentation Fault" error while running nam in Ubuntu 14.04 or Linux Mint 17+ editions, this post will be helpful for you. Download the nam file from this link First, remove the nam which was installed earlier using the following command  pradeep@localhost $] sudo apt-get remove nam and install the new nam which was downloaded just now. go to the folder where the file was downloaded and issue the following command pradeep@localhost $]  sudo dpkg --install nam_1.15-10_i386.deb See the screenshot below to install and use nam Nam  T S Pradeep Kumar

Passive Optical Network (PON) in NS3

This post will tell you how to install and work with Passive Optical Network Simulation under NS3.  I request the readers to not to ask any help related to the working of this PON (Passive Optical Network) as I was helping one of my friend in compiling this tool. and I dont know anything about optical networks. Version: ns-allinone-3.19 PON: xgpon OS: ubuntu 14.04.2 and Linux Mint 17.2 Download ns-allinone-3.19 from here Download XGPON from here Installation of NS3 To install ns3, perform the following steps. 1. Open the terminal 2. Execute the following commands one by one pradeep@localhost $] sudo apt-get update pradeep@localhost $]sudo apt-get install build-essential autoconf automake libxmu-dev python-pygoocanvas python-pygraphviz cvs mercurial bzr git cmake NetAnim p7zip-full python-matplotlib python-tk Unzip the ns-allinone-3.19.tar.bz2 in the home folder (/home/pradeepkumar) pradeep@localhost $] tar jzvf ns-allinone-3.19.tar.bz2 pradeep@localhost $] cd