OpenWrt Forum Archive

Topic: Help with custom build

The content of this topic has been archived on 29 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Im compiling a OpenWrt image for my WR741ND router with Open vSwitch enabled so I can use OpenFlow to mess with it. But with only 4MB of flash I had to make some sacrifices, by removing a lot of packages.

Can someone spot any problems with my setup?

make image PROFILE=TLWR741 PACKAGES="dropbear openvswitch -luci -uhttpd -opkg -firewall -ip6tables -kmod-ip6tables -kmod-ipv6 -odhcp6c -ppp -ppp-mod-pppoe -busybox -wpad-mini"

busybox => I don't see why I need httpd server
wpad-mini => Not gonna use wifi

busybox isn't a httpd (at least not just), but provides basically the whole userspace stack (from the system shell, to ls, cat, cp, etc. pp.) - you can't disable it (at least not when expecting the result to still boot).

Thanks! you saved me from lot of trouble.

Can you point what packages I can remove from my image? or the ones I shouldn't remove?

Since I am not gonna use WiFi, i decided to remove all wifi packages, plus opkg.

My PACKAGES string looks like this:

"openvswitch -opkg -wpad-mini -kmod-ath -kmod-ath9k -kmod-ath9k-common -kmod-cfg80211 -kmod-mac80211 -iw"

Everything is work just fine using the setup above!

It is a good idea to include opkg no matter what. So I made another build that includes it.

The discussion might have continued from here.