Help Regarding LEDE with Openvpn


#1

Im Currently Using 941nd v6

and i want to build a FIRMARE with Luci web interface and Openvpn
what should i remove to this package so i can make space fo it?

base-files
libc
libgcc
busybox
dropbear
mtd
uci
opkg
netifd
fstools
uclient-fetch
logd
kmod-gpio-button-hotplug
swconfig
kmod-ath9k
wpad-mini
uboot-envtools
dnsmasq
iptables
ip6tables
ppp
ppp-mod-pppoe
firewall
odhcpd
odhcp6c
luci

Please Help me :frowning:


#2

Have a look at this thread: TP-Link TL-WR841N(D), WA701N(D), WR740N(D), WR741N(D), WR743N(D), WR940N, WR941N(D) - LADUS / JULIA / Ultra Lite / VPN builds

The config.seed files are included as far as I remember. This should give you a good start what to include in your own “tiny” build. All the 32/4 warnings still apply but you should be able to make a working firmware like in the thread I mentioned.


#3

I have build some images for my wr841 with luci and openvpn-mbedtls.
I removed all related stuff to ppp (pppoe, ...), some kernel debug infos and enabled stripped down libraries and kernel exports.

This all get enabled only with the config.seed file.

Here is my config.seed

Copy this file to your checked out openwrt source, eg.: cp /path/to/config.seed /path/to/openwrt-src/.config.
Then do make defconfig && make menuconfig, remove unneded devices and add your device.
Then simply build with make download world -j4

Before you do make defconfig you have to fetch all feeds with ./scripts/feeds update -a && ./scripts/feeds install -a from inside openwrt source dir.


#4

Thank You so much sir :slight_smile: @drbrains!