Tuesday, April 12, 2016

Reverse Engineering your broadband router

As a device designer, I am really aware of the fact that there is always an option of a serial connection to the firmware unless it is secured using fire and ice.

Thus, to reverse engineer any device the first step would be to try to find a serial port that the engineers who designed the device left in the board. Usually, this port is left for debugging and, in my case, updating the firmware in a hard way.

As an example, these guys found the serial port on a Huawei Router.

Second step is to get it connnected to your laptop, and guess the baud rate. There are also more complicated ways to find the baud rate, such as by connecting to an oscilloscope etc. but who got time for that.

Connect it to a serial monitor such as Putty and Linux your way around.

Don't try to do it with your UNIFI or STREAMX though, as you void your device warranty.

Sunday, April 10, 2016

TOPSIS method for decision making.

TOPSIS is a multi-criteria decision analysis method. It can be used in any scenario where a set of alternatives exist and the best alternative has to be chosen based on multiple criteria. In this paper, I use TOPSIS to find the best set of IoT devices which fulfill certain service level criteria.

Time permitting, I will try to extend this work further for other use-cases.

Recent research on Internet of Things (IoT) has focused on the adaptation of the autonomic computing paradigm to make IoT self-sufficient. Service arbitration is one aspect which can greatly benefit from the adoption of the autonomic theory. Instead of allowing all deployed devices to be active, only a selected set of devices can be utilized to provide a particular service. This paper proposes a dynamic service arbitration scheme for this purpose. The approach for the service arbitration scheme is based on TOPSIS algorithm. This method supplements existing autonomic frameworks with the aim to minimize user intervention as well as imparting self-configuration in the system. The analysis through TOPSIS can be extended to any number of permutations and combinations of alternatives and system policies.

TOPSIS-based Service Arbitration for Autonomic Internet of Things