Last active
February 26, 2018 07:42
-
-
Save rajephon/24046fafcee6c1a60d34d5408d7dbd15 to your computer and use it in GitHub Desktop.
OpenWRT nodogsplash build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install dependencies | |
sudo apt-get install subversion g++ zlib1g-dev build-essential git python | |
sudo apt-get install libncurses5-dev gawk gettext unzip file libssl-dev wget | |
sudo apt-get install binutils bzip2 flex perl make libz3-dev | |
#clone nodogsplash | |
git clone https://github.com/nodogsplash/nodogsplash/ | |
cd ./nodogsplash | |
# 원하는 버전으로 checkout | |
git checkout v0.9_beta9.9.8 | |
cd .. | |
# clone openwrt | |
git clone https://github.com/openwrt/openwrt | |
cd openwrt | |
./scripts/feeds update -a | |
./scripts/feeds install -a | |
# clone openwrt-routing packages | |
git clone https://github.com/openwrt-routing/packages | |
cp -rf packages/nodogsplash/ package/ | |
rm -rf packages/ | |
# nodogsplash 링크 연결 | |
ln -s ../nodogsplash/.git ./package/nodogsplash/git-src | |
make defconfig | |
vi ./.config # .config 에서 `CONFIG_DEVEL`을 찾아 `CONFIG_DEVEL=y` 로 수정 | |
make menuconfig | |
# At this point select the appropiate "Target System" and "Target Profile" depending on what target chipset/router you want to build for. Now select the NoDogSplash package in "Network ---> Captive Portals". | |
# Also make sure to enable "Advanced configuration options" => "Enable package source tree override" | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment