mw4530r compile openwrt whole process record

Source: Internet
Author: User
Tags svn

mw4530r compile openwrt whole process record

This article turns from: http://blog.chinaunix.net/uid-9688646-id-5083240.html

1. Installation Ubuntu14.04
2, install the required components of the compilation OpenWrt
sudo apt-get install g++ Libncurses5-dev Zlib1g-dev Bison flex unzip autoconf gawk make gettext gcc binutils patch bzip2 L Ibz-dev asciidoc Subversion sphinxsearch libtool sphinx-common git
3, download the source code
Create a directory where source code resides
mkdir OpenWrt
sudo chmod 777 OpenWrt
CD OpenWrt
Select the version you want and execute the download command, and the download will display the version number:

Trunk version Download command:
SVN Co svn://svn.openwrt.org/openwrt/trunk/

Backfire version download command:
SVN Co svn://svn.openwrt.org/openwrt/branches/backfire/

Add the Software expansion pack and modify the Feeds.conf.default to feeds.conf:
CP Feeds.conf.default feeds.conf

Update extensions, install extensions:
Scripts/feeds update-a
Scripts/feeds install-a

4, Configuration
Default configuration
Make Defconfig
Configure Menu
Make Menuconfig

Add Luci
LUCI--->collections---> <*> luci

Add a Luci Chinese language pack
LUCI--->translations---> <*>luci-i18n-chinese

Add DDNS
LUCI--->applications---><*>luci-app-ddns.

Add hard disk hibernation
LUCI--->applications---><*> luci-app-hd-idle

Add OpenVPN
LUCI--->applications---><*> luci-app-openvpn

Add Print server
LUCI--->applications---><*> luci-app-p910nd

Add QoS
LUCI--->applications---><*> luci-app-qos

Add Samba
LUCI--->applications---><*> luci-app-samba

Add UPnP
LUCI--->applications---><*> luci-app-upnp

Add Network Wakeup
LUCI--->applications---><*> luci-app-wol

Add USB Mount
Base System---><*>block-mount

Add hard drive format support
Kernel Modules---> filesystems---><*> kmod-fs-ext4

Add UTF8 Encoding
Kernel Modules---> Native Language Support---><*> kmod-nls-utf8

Add USB extension Support
Kernel Modules---> Usbsupport---> <*> kmod-usb-storage-extras

Add Print Driver
Kernel Modules---> Usbsupport---> <*> kmod-usb-printer

Add Formatting Tools
Utilities--->filesystem---> <*> badblocks

Add Reset key Support
Utilities---> <*>restorefactory

Add Transmission Download Tool
Network--->bittorrent---> <*> transmission-daemon
Network--->bittorrent---> <*> transmission-remote
Network--->bittorrent---> <*> transmission-web

Add FTP
Network---> Filetransfer---> <*> vsftpd
Network---> Filetransfer---> <*> wget

Add Blkid to view mounted hard drive UUID
Utilities---> Disc---> <*> blkid

Add MiniDLNA

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.