How to change Hostname of OpenWrt ?

Sometimes you may need to change the hostname of your OpenWrt. Host name is stored in the system configuration file. You can view it in the following command. cat /etc/config/system System Configuration - OpenWrt It is very easy to change hostname of OpenWrt, using following commands. Here we are changing our hostname to "electroSome". uci set system.@system[0].hostname='electroSome' uci commit system /etc/init.d/system reload Changing Hostname of OpenWrt

Getting Started with OpenWrt C Programing

In this tutorial we will learn how to cross compile a C program for OpenWrt. Cross compiling a C program for OpenWrt is a little complicated task for beginners. So I thought of writing a detailed tutorial for it. Please feel free to comment below if you have any doubts or you want to add anything more to this article. OpenWrt Prerequisite You need a linux system for making the OpenWrt build environment. We are using Ubuntu in this tutorial. Windows 10 users...