zkgh2011 / openwrt

The Source Code of OpenWrt Modified by CTCGFW

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PROJECT OPENWRT

The Source Code of OpenWrt-Lean Modified by CTCGFW

Welcome to our Telegram Group: @ctcgfw_openwrt_discuss.


How to make it

Minimum requirements

Linux with case sensitive
2G DDR2 RAM
2 CPU Cores (AMD64, 1.4Ghz)
25G disk space left
Has access to both ChinaNet & Internet

Install the necessary packages (for Ubuntu user)

sudo apt-get update -y
sudo apt-get full-upgrade -y
sudo apt-get install -y build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib g++-multilib p7zip p7zip-full msmtp libssl-dev texinfo libreadline-dev libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint ccache curl wget vim nano python python3 python-pip python3-pip python-ply python3-ply haveged lrzsz device-tree-compiler scons antlr3 gperf ecj fastjar

For mainland China & Ubuntu(16.04+) user, you may run the following command to setup quickly:

sudo bash -c "bash <(curl -s https://build-scripts.project-openwrt.eu.org/init_build_environment.sh)"

Clone the source

git clone -b openwrt-18.06 --single-branch https://github.com/project-openwrt/openwrt && cd openwrt
./scripts/feeds update -a && ./scripts/feeds install -a

For developer, you may use openwrt-18.06-dev branch instead of openwrt-18.06.

Configure your firmware

make menuconfig

Make it

make -j1 V=s

Tips

You'd better not use root to make it, or you may be not able to use.
Default login address: 192.168.1.1, username is root and password is password.

Contributed

License

About

The Source Code of OpenWrt Modified by CTCGFW

License:GNU General Public License v3.0


Languages

Language:C 50.1%Language:Objective-C 22.4%Language:Makefile 5.9%Language:Shell 5.1%Language:HTML 4.3%Language:Lua 3.2%Language:CSS 2.5%Language:C++ 2.2%Language:Python 1.8%Language:Roff 0.6%Language:Perl 0.6%Language:Assembly 0.5%Language:M4 0.4%Language:JavaScript 0.4%Language:Yacc 0.0%Language:Lex 0.0%Language:Awk 0.0%Language:CMake 0.0%Language:Dockerfile 0.0%Language:Batchfile 0.0%Language:QMake 0.0%Language:Ada 0.0%