ap-hotspot dnsmasq error

ap-hotspot dnsmasq error

“ * Restarting DNS forwarder and DHCP server configuration syntax check…fail!net.ipv4.ip_forward = 1”

you should reinstall the dnsmasq.

sudo apt-get remove dnsmasq

and then

sudo apt-get install dnsmasq

if you get error like that “sudo: ap-hotspot: command not found”

install the ap-hotspot again.