[solved] Making firmware for dumb AP

Devie Comfast WI-FI has 2 interfaces eth0 and eth1
i need to make dumb AP and i only neeed

led 
VLANs
WIFI
wpad
dawn
liuci
ssh

and absolutly nothing else (no ipv6 , no dns, no ppoe or any ppp no DHCP no firewall etc)

Using this selector
in Customize installed packages and/or first boot script
i need to delete everything except my list
can somone advice what i can or can not delete from this list of packages

-swconfig -uboot-envtools ath10k-firmware-qca9888-ct base-files busybox
 ca-bundle dnsmasq dropbear firewall4 fstools kmod-ath10k-ct kmod-ath9k
 kmod-gpio-button-hotplug kmod-nft-offload kmod-usb2 libc libgcc libustream-wolfssl
 logd mtd netifd nftables odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe procd
 procd-seccomp procd-ujail swconfig uboot-envtools uci luci uclient-fetch 
urandom-seed urngd wpad luci-app-dawn

i want to make firmware as small as posible

the truth is i started to delete some pakages and firmware dont work at all

you could delete these packages:

ppp ppp-mod-pppoe (121kB + 10kB = 141kB )

but I advise against it, the gain obtained is minimal and negligible.

the other packages even if they are not needed by a DUMP-AC in case you decide to do a firstboot or other they would restore the state to something usable, I know that the guide for a DUMP-AC says to disable the firewall and dnsmasq but from my point of view in case of problems maybe they will be useful

you could delete these packages but I advise against it:

dnsmasq firewall4 (135kB + 43kB = 178kB)

but not you will get an ip address if you do a firstboot

I'd bet more if I had packages to add on the firmware selector.

1 Like

well i left only those

ath10k-firmware-qca9888-ct base-files busybox dropbear kmod-ath10k-ct
 kmod-ath9k kmod-gpio-button-hotplug kmod-nft-offload  libc libgcc 
 procd procd-seccomp procd-ujail uci uclient-fetch urandom-seed
 wpad luci-app-dawn luci

all works but dawn cant see others APs and others cant see this one
i guees i need to find what dawn needs to connect to each other

Sorry "ZebraOnPC" but it's beyond my means to help you out.

Luckily you are a longtime openwrt user (sorry I didn't notice)

Luckily for you many other people on this forum are very knowledgeable and will be able to answer you.

Sorry for my post not in line with your requests.

1 Like

you right not much diffrence in size
but anyway this set works

libustream-wolfssl ath10k-firmware-qca9888-ct base-files busybox dropbear kmod-ath10k-ct
 kmod-ath9k kmod-gpio-button-hotplug kmod-nft-offload  libc libgcc procd procd-seccomp
 procd-ujail uci uclient-fetch urandom-seed wpad luci-app-dawn luci

I assume you have done the classic checks when you write that "everything works":

are you able to connect to the device via ssh/luci ?
Does the device respond to ping from your pc?
Can the device ping other machines on your network?

like i said i'm not as good as you...

1 Like

yes all that i need i works , this is dump AP with dawn roaming

since you removed the "swconfig" package, are the ethernet ports working as expected?

do you have vlans that have to carry the traffic?

I would expect posts from better people than me, sorry I can't help you more

to facilitate the work of more experienced people than me, I would recommend adding the output of the commands to this post:

ubus call system board; \
uci export network; uci export wireless; \
uci export dhcp; uci export firewall; \
head -n -0 /etc/firewall.user; \
ip -4 addr ; ip -4 ro li tab all ; ip -4 ru; \
ls -l  /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/* ; head -n -0 /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/*

dmesg
1 Like

:grinning: i decided not to delete anything but only add what i need
all seems working
Thanks to your advice

it could still be an excellent idea to create a minimal firmware,

unfortunately it is beyond my means to have been of help to you

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.