This article is outdated and is for reference only.
Now you can build your own customized OpenWrt firmware for GL routers in 30 minutes. Here is how:
Hardware requirement:
Software Environment:
We use Ubuntu as an example here, you can refer to OpenWrt guide for more details about other system.
You need to install necessary dev tools:
$ apt-get install subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache gettext libssl-dev xsltproc wget
After download you need to unzip the image builder into one folder. For example:
$ tar jxvf OpenWrt-ImageBuilder-ramips-mt7620.Linux-x86_64.tar.bz2
$ cd OpenWrt-ImageBuilder-ramips-mt7620.Linux-x86_64
Start from a clean firmware
You need to download our clean firmware from https://dl.gl-inet.com and install on your router. Then you need to configure the firmware as to your own needs. Be sure to remember the settings you made.
Build your firmware
After you have one working firmware, you can proceed to build the same firmware using the imagebuilder. A detailed guidance is here. It is quite simple and quick.
You need to write down the software packages you installed and the files your modified. For example, you install luci-app-upnp and modified /etc/config/wireless, copy the content of wireless and put it in your current folder files/etc/config/wireless, suppose your are building an image for GL-MT300N, do this:
make image PROFILE=GL-MT300N PACKAGES="luci-app-upnp openvpn-openssl kmod-usb-core" FILES=files/
You will have your firmware in several minutes in bin folder.
{"one"=>"Select 2 or 3 items to compare", "other"=>"{{ count }} of 3 items selected"}