Page 1

Docker Install on Odroid-C2

Docker is the future of DEVOPS. I recently got an ODROID-C2 box for my IOT projects and the requirement was to configure REDIS and MQTT as seperate nodes for my data syncronization. Docker was an ideal choice given its portability. But the challenge was in getting docker installed on ODROID-C2. The online docs for ARM install of Docker was bit confusing and eventually I found a short and sweet approach to get docker installed. Here is a single command that gets AUFS and Docker binaries installed on ODROID-C2.

sudo apt-get install lxc aufs-tools cgroup-lite apparmor

Continue Reading →


Devi Ganamanthiram – Beautiful Devotional Songs by Priya Sisters

  1. Jagat Janani 4:05
  2. Karunai Deivame 5:43

MQTT – How to setup mosquitto for IOT projects

MQTT is a machine-to-machine (M2M)/”Internet of Things” connectivity protocol and an approved OASIS Standard for M2M communications. It was designed to be extremely lightweight publish/subscribe messaging transport for Sensor networks. There is a neat implementation of this protocol from and interestingly the MQTT server is also called mosquitto. I happened to stumble across this protocol while researching Redis Pub/Sub model for one of my current home automation IOT projects.

mosquitto implementation is very cool and here are some steps to get your started with mosquitto

  • Download MQTT mosquitto from for your platform
  • On Windows the following DLL’s (Dyanmic Link Libraries) – pthreadvc2.dll, libssl32.dll, ssleay32.dll and libeay32.dll are required to exist in the system path or the installation path of mosquitto
  • mosquitto_required_win32DLLs


  • Start moquitto server come CLI running the following command
  • C:\Program Files (x86)\mosquitto>mosquitto.exe -v
    1427831085: mosquitto version 1.4 (build date 27/02/2015 21:01:03.50)
    1427831085: Using default config.
    1427831085: Opening ipv6 listen socket on port 1883.
    1427831085: Opening ipv4 listen socket on port 1883.


    The version of MQTT v3.1 is shown during the start up process
    mosquitto version 1.4 (build date 27/02/2015 21:01:03.50)
    mosquitto is an MQTT v3.1 broker.

  • Create a Topic by running the mosquitto_sub.exe program

  • C:\Program Files (x86)\mosquitto>mosquitto_sub.exe -t "topic/path"


  • Publish a message to the topic we just created using mosquitto_pub.exe
  • C:\Program Files (x86)\mosquitto>mosquitto_pub.exe
    -t "topic/path" -m "Sankar rocks!!"


  • The following message is relayed back to the topic

  • C:\Program Files (x86)\mosquitto>mosquitto_sub.exe
    -t "topic/path" Sankar rocks!!

  • Server log for mosquitto reflects the log of our transaction
  • C:\Program Files (x86)\mosquitto>mosquitto.exe -v
    1427831085: mosquitto version 1.4 (build date 27/02/2015 21:01:03.50)
    1427831085: Using default config.
    1427831085: Opening ipv6 listen socket on port 1883.
    1427831085: Opening ipv4 listen socket on port 1883.
    1427831463: New connection from on port 1883.
    1427831463: New client connected from as
    mosqsub/16720-SANPC (c1, k6
    1427831463: Sending CONNACK to mosqsub/16720-SANPC (0, 0)
    1427831463: Received SUBSCRIBE from mosqsub/16720-SANPC
    1427831463: topic/path (QoS 0)
    1427831463: mosqsub/16720-SANPC 0 topic/path
    1427831463: Sending SUBACK to mosqsub/16720-SANPC
    1427831522: Received PINGREQ from mosqsub/16720-SANPC
    1427831522: Sending PINGRESP to mosqsub/16720-SANPC


    I hope you guys got a head start using mosquitto. Feel free to comment if you have any questions.


    Illayaraja Classics – How to name it

    How to Name It? (1986) is an instrumental Indian-Western fusion album by Ilaiyaraaja. This was Ilayaraaja’s first fusion music album. The album has musical movements that are dedicated to Thiyagaraja, a religious musician and composer of South India (1767-1847) and the Western Classical music composer, J. S. Bach (1685-1750) of Germany.

    Listen to one of my favorite compositions in this album.

    1. How to name it Illayaraja 7:22

    AI – Enoda Thala Movie Da!

    My most anticipated Tamil movie of the year Ai is gonna be released soon and I was really excited to listen AR Rahman’s composition and was mesmerized. Listen to one my favorite numbers in this movie sung by none other than – Anirudh Ravichander (yeah the Kolaveri composer!). AR Rahman has mixed is so well that you will go nuts listening to this song.

    1. Mersalaayitten (Remix) 3:21

    Illayaraja Classics – Oru Kili Uruguthu Song

    One of my favorite song composed by Maestro Illayaraja. Listen to the flute variations in this song and I  bet no one in this world can compare to my Maestro


    1. Oru Kili Uruguthu S Janaki and SP Shailaja 4:35
    2. Flute BGM1 Illayaraja 0:15
    3. Flute BGM2 Illayaraja 0:40


    ஒரு கிளி உருகுது உரிமையில் பழகுது ஒ மைனா மைனா
    குறும்புகள் தொடருது அரும்புகள் மலருது ஒ மைனா மைனா
    தலிரிது மலரிது தானா இது ஒரு தொடர்கதை தானா
    இரு மனம் இணையுது இரு கிளி தழுவுது ஒ மைனா ஒ மைனா

    (ஒரு கிளி )

    Continue Reading →


    Kingston HyperX and Yosemite Install Experience

    Apple releasing Yosemite beta forced me to buy Kingston HyperX to get my hands dirty on SWIFT programming language. My experience with both Kingston HyperX and Yosemite has been so far very smooth. I formatted my drive to Mac and the installation of Yosemite was cakewalk. Xcode 6 Beta was a whooping 5.6 GB of download but it was worth the download.

    Here is the first screenshot of a sample App to render my current location using MapKit framework. Btw it ended with a whole bunch of exceptions as I coded and expected 🙂


    (Come on guys.. This is Beta software and the intention is to test and find bugs before we go live)


    NFC bug bites me to focus on IOT

    There has been a lot of buzz around NFC lately and me buying a new Samsung Galaxy Note 3 kindled my interest to take a deep dive into this amazing technology that will revolutionize the world of Internet of things(IOT).Samsung NFC

    So basics first: What exactly is NFC ? Near Field Communication (NFC) is a set of short-range wireless connectivity technologies that are ideal for transmitting small pieces of information with low power consumption. NFC operates on the concept of inductive coupling and operates at 13 MHz.  

    Where do we use NFC?

    Well there are varied use cases we can think of for NFC. Below are some examples.

    • Smart Payment cards
    • Interactive Smart Posters
    • Mobile Interactive Maps
    • Mobile Hot spots
    • and the list continues..

    Tinkering with Samsung Galaxy Note 3 NFC

    The inner engineer in me prompted to order Tec Tiles 2 from Samsung and test it with my new Samsung Galaxy Note3. I got my NFC TecTiles last week and I wrote a simple Android program to code my first NFC application and viola! A basic “Hello World” was written to my NFC tag. I did see some limitations on the NFC Tag that the amount of data is limited to only a few KB’s but I can live with it for now. I am excited to continue my R & D and build a useful app that will serve for the betterment of our community.

    Say hello to NFC and Internet of Things (IOT).