Implementing fail safe and recovery mechanisms at the operating system level of the linux powered MZBAYAC Internet of Things gateway , enabling it to handle and recover from potential scenarios of failure. Implemented utilities and services for inter-process communication, secure boot, fallback to recovery kernel, reliable kernel updates and several other security features with the aim of fault tolerance and security in mind.