WiFiDog Compiling to OpenWrt

Source: Internet
Author: User

First, tap the CD command, navigate to your user directory,

Then mkdir openwrt Create a new OpenWrt folder and start loading OpenWrt's compiled tools,

sudo apt-get install g++sudo apt-get install libncurses5-devsudo apt-get install zlib1g-devsudo apt-get Install Bisonsudo Apt-get Install flexsudo apt-get install unzipsudo apt-get install autoconfsudo apt-get install Gawksudo apt-get install M  Akesudo apt-get Install gettextsudo apt-get install gccsudo apt-get install binutilssudo apt-get install Patchsudo apt-get Install Bzip2sudo apt-get Install libz-devsudo apt-get install asciidocsudo apt-get install Subversionsudo apt-get instal L Sphinxsearchsudo apt-get Install libtoolsudo apt-get Install Sphinx-common

Then, git clone https://github.com/openwrt-mirror/openwrt.git

Download OpenWrt Latest code,

Then, CD OpenWrt, navigate to the OpenWrt directory, and then, Vim Feeds.conf.default, edit the module to be integrated, insert Src-git WiFiDog https://github.com/wifidog/ Wifidog-gateway.git

This line,

The final results are as follows:

[Email protected]:~/openwrt/openwrt$ cat Feeds.conf.default
Src-git Packages Https://github.com/openwrt/packages.git
Src-git Luci Https://github.com/openwrt/luci.git
Src-git Routing Https://github.com/openwrt-routing/packages.git
Src-git Telephony Https://github.com/openwrt/telephony.git
Src-git Management Https://github.com/openwrt-management/packages.git
Src-git Targets Https://github.com/openwrt/targets.git
Src-git WiFiDog Https://github.com/wifidog/wifidog-gateway.git
#src-git oldpackages Http://git.openwrt.org/packages.git
#src-SVN xwrt Http://x-wrt.googlecode.com/svn/trunk/package
#src-SVN Phone Svn://svn.openwrt.org/openwrt/feeds/phone
#src-SVN EFL SVN://SVN.OPENWRT.ORG/OPENWRT/FEEDS/EFL
#src-SVN xorg svn://svn.openwrt.org/openwrt/feeds/xorg
#src-SVN Desktop Svn://svn.openwrt.org/openwrt/feeds/desktop
#src-SVN Xfce SVN://SVN.OPENWRT.ORG/OPENWRT/FEEDS/XFCE
#src-SVN lxde Svn://svn.openwrt.org/openwrt/feeds/lxde
#src-link Custom/usr/src/openwrt/custom-feed

Then, run it,./script/feed update-a

Then, run it,./script/feed install-a

Then, run, make Defconfig

Run, make menuxonfig, select the configuration to install,

Enter the settings section after make Menuconfig
Select CPU Model
Target System------------Ralink rt288x/rt3xxx

Subtarget------------mt7620a based boards
If you add a mtall template to your code, compile only the Mtall component.

Target profile-----------Mtall

Then, run, make v=99, start compiling

The brush firmware is then generated in the Bin folder

Attention:

Can not use root to do the operation, to use ordinary users, also can not use sudo to do the operation, all with the privileges of ordinary users can, or compile the amount of time will be reported various errors.

Recommend a very good tutorial:

Http://wenku.baidu.com/link?url= Ntogzmp8jwqlixmhjrcd7avkobexuublgyw6thlljd9omjgiwpoe9un25kyka3ntmxcvvn9-ok3ouqmcwpehymlh8gqkpk474ra3g9xoin3

WiFiDog Compiling to OpenWrt

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.