I am trying to use an image builder instead of compiling from source, but my several attempts resulted in an image that does not boot and the power light remains dark. Only a few LAN ports light up and blink. A wired client cannot get an IP and wifi is not coming up either. Can anyone see anything wrong in the script? I want to do a sanity check before I start using a serial console.
I have followed this guide ImageBuilder and there was no error in the output.
# All packages
PACKAGES="iftop"
PACKAGES="${PACKAGES} iptraf-ng"
PACKAGES="${PACKAGES} ethtool"
PACKAGES="${PACKAGES} openssh-server"
PACKAGES="${PACKAGES} dnscrypt-proxy"
PACKAGES="${PACKAGES} dnscrypt-proxy-resolvers"
PACKAGES="${PACKAGES} htop"
PACKAGES="${PACKAGES} nano"
PACKAGES="${PACKAGES} ccrypt"
PACKAGES="${PACKAGES} curl"
PACKAGES="${PACKAGES} wget"
PACKAGES="${PACKAGES} patch"
# This makes sure that "busybox" is listed before "diffutils" to avoid packaging conflicts
PACKAGES="${PACKAGES} -busybox busybox diffutils"
PACKAGES="${PACKAGES} tree"
PACKAGES="${PACKAGES} hostapd-utils"
# Remove wpad-mini and add wpad-openssl
PACKAGES="${PACKAGES} -wpad-basic wpad-openssl"
PACKAGES="${PACKAGES} ca-certificates"
PACKAGES="${PACKAGES} luci-ssl-openssl"
PACKAGES="${PACKAGES} luci-mod-admin-full"
PACKAGES="${PACKAGES} luci-app-ddns"
PACKAGES="${PACKAGES} luci-app-statistics"
PACKAGES="${PACKAGES} collectd-mod-conntrack"
PACKAGES="${PACKAGES} collectd-mod-cpufreq"
PACKAGES="${PACKAGES} collectd-mod-entropy"
PACKAGES="${PACKAGES} collectd-mod-ping"
PACKAGES="${PACKAGES} collectd-mod-thermal"
PACKAGES="${PACKAGES} collectd-mod-uptime"
PACKAGES="${PACKAGES} luci-app-sqm"
PACKAGES="${PACKAGES} luci-theme-bootstrap"
PACKAGES="${PACKAGES} luci-theme-material"
PACKAGES="${PACKAGES} luci-theme-rosy"
PACKAGES="${PACKAGES} luci-app-bcp38"
PACKAGES="${PACKAGES} luci-app-adblock"
PACKAGES="${PACKAGES} luci-app-banip"
PACKAGES="${PACKAGES} luci-app-nlbwmon"
mkdir ./openwrt-imagebuilder
wget -O - https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-imagebuilder-ipq806x.Linux-x86_64.tar.xz | tar Jxf - -C openwrt-imagebuilder --strip-components=1
cd openwrt-imagebuilder
make image PROFILE=netgear_r7800 BIN_DIR=/firmware PACKAGES="${PACKAGES}"