Since we are creating a wireless mesh network using Wi-Fi routers (Wi-Fi modems), the device should be able to switch to ad-hoc mode. The ad-hoc mode feature will be hidden in the Wi-Fi routers by default. In order to unlock ad-hoc mode and to install the mesh protocol and tools we need to flash the router with custom image. This custom images has to be downloaded first. Once the image is downloaded, it can be flashed through the router’s web interface. How to flash the router will be covered in a different wiki and this wiki is dedicated for sharing the custom image download files.