Adblock not working

What are you trying to setup to be exact?

It seems like you are just failing to simply keep dnsmasq and Adblock on - since you want ads blocked.

What option?

Try describing how you want the AP to work and how you want it to block ads.

Personally I just:

  • Assign the LAN IP, mask, gateway and DNS servers to the subnet of my current router
  • To use Adblock though, the AP would have to become my DNS server
    • use DHCP on the AP and turn off DHCP on router; or
    • configure router to use DHCP Option No. 6 to issue the AP as your DNS server