ha! that was an interesting learning experience...
note to self:
test that and see what actually happens under the surface
move /root/wrt.ini editing to somewhere else if time and skill allow it
note: ENABLEDSERVICES is only read/applied on upgrade not reboot... so you still might need to enable and start sqm manually... ( but I think your 'script' already took care of that this install )
plenty! (but maybe not from me... i'm not a big dns + httpX modder and I seem to struggle assimilating architectural questions that are not in front of me)
it'll need its own thread with a little more config / diagnostic info provided...
shame there is no traceroute for dns... that would be really handy from a client... but you'll probably get similar help on your new thread breaking down where the blockage/misconfig is...
architecturally, if you are masquerading dns to<>from pihole then it makes more sense to run the https / upstream elements on the pi-hole device... but again i'm not that much of an expert and your topology may be fine...
fyi, i believe I came across the spot today that was disabling wifi...
gory-details
it applie(d)s only if wifi was at the default settings and WIFIDEFAULTON (legacy option pretty much) is not set in wrt.ini... (which may explain why i didn't see it when I tested)
as mentioned... what probably was sort of intended as part of the logic AGES AGO... you would have seen this on first boot if you'd done a dmesg | grep -i wifi
as most people will not edit wrt.ini prior to firstboot and there is/was some other logic that does stuff with wifi i've hopfully fixed the error/legacy logic now...
thanks for the report and sorry it took so long to find / validate your report...
for absolute vanilla firstboot... technically seeding your own edited wrt.ini @ /boot (partition 1) is doable... so if you grab the default template edit it with notepad++ or similar and place it on boot with values like
i've added (initial) support for RPI_GPIO=1 option which will setup python3 rpi.gpio on firstboot
it's 30>50 ish MB so building into the image is not really an option
(plus it uses pip download commands)
plus there may only be around 3 people who might use it
it'll likely be a little volatile... in otherwords... I can't guarantee it's always gonna work due to python bumps or buildbot package failures from one build to the next...
(would be nice to build a little custom library of python3 scripts that use it... so if anyone does so... please mention what your using here and well try to incorporate those... come to think of it well probably need a RPI_PYTHON3_PIP_INSTALL="abc xyz" also so you can list additional pip stuff)
I'm thinking it's more of a disk / after market app thing?...
(possibly board hw issue? some indications power from periferals can cause this or is it eeprom)