Either you are not actually running squashfs (unlikely, based on your previous answers), did some of the steps wrong or a misconfiguration somewhere (like the wpad service being disabled).
If the service was indeed disabled, it created a deletion entry at /overlay/upper/etc/rc.d, like these:
If the service was automatically enabled in the image:
root@router2:~# ls /rom/etc/rc.d/*wpad*
/rom/etc/rc.d/K21wpad /rom/etc/rc.d/S19wpad
Deleting these entries from /overlay/upper/etc/rc.d
is enough (S* means this linked service script will be run at startup, and K* means this linked service script will be run at shutdown).
If the service was not enabled in the image, you do service wpad enable
as usual.
If you ran the script I've posted or deleted the entries manually, what was the output of find /overlay/upper -type c -size 0c
afterwards? Did you sync && reboot
to both flush your changes to disk and reboot the system to erase kernel caching, were /usr/sbin/wpad
and /usr/sbin/hostapd
valid after all the steps?
What's the output of these commands?
root@router2:~# grep squashfs /proc/mounts
/dev/root /rom squashfs ro,relatime,errors=continue 0 0
root@router2:~# grep overlayfs /proc/mounts
overlayfs:/overlay / overlay rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work 0 0
If you actually need WPA-Enterprise and as such, need full wpad, I recommend you to build a custom firmware image replacing wpad-basic with wpad, write any remaining to be preserved files to /etc/sysupgrade.conf
and upgrade through auc or directly, via sysupgrade.