Skip to content

Instantly share code, notes, and snippets.

@tienthanh2509
Last active December 30, 2017 14:02
Show Gist options
  • Save tienthanh2509/a5265d9a6ed6daa85e4ccd8ee74ff4d2 to your computer and use it in GitHub Desktop.
Save tienthanh2509/a5265d9a6ed6daa85e4ccd8ee74ff4d2 to your computer and use it in GitHub Desktop.
OpenWrt Image Builder for TP-Link TLWR941
docker run -d -it --name openwrt -w /opt/openwrt -v /opt/openwrt:/opt/openwrt tienthanh2509/ubuntu
apt-get install -y subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache gettext libssl-dev xsltproc wget
wget https://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/OpenWrt-ImageBuilder-ar71xx-generic.Linux-x86_64.tar.bz2
tar -jxvf OpenWrt-ImageBuilder-ar71xx-generic.Linux-x86_64.tar.bz2
cd OpenWrt-ImageBuilder-ar71xx-generic.Linux-x86_64
make image PROFILE=TLWR941 PACKAGES="luci -ppp -ppp-mod-pppoe -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -luci-proto-ipv6 -luci-proto-ppp" -j7
make image PROFILE=TLWR741 PACKAGES="luci hostapd -wpad-mini -ppp -ppp-mod-pppoe -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -luci-proto-ipv6 -luci-proto-ppp" -j7
@tienthanh2509
Copy link
Author

Free space: 52% (268.00 KB)

@tienthanh2509
Copy link
Author

15.01.1-snapshot

make image PROFILE=TLWR941 PACKAGES="\
  -luci wpad zram-swap openvpn-openssl \
  -wpad-mini -ppp -ppp-mod-pppoe -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -luci-proto-ipv6 -luci-proto-ppp \
  " -j13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment