sudo apt purge hostapd dnsmasq
if these setting files are existed, here is how to roll back
remove denyinterfaces xxxx
remove all lines under iface xxxx inet static
, sample
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.5.1
netmask 255.255.255.0
network 192.168.5.0
broadcast 192.168.5.255
delete this file
comment out this line DAEMON_CONF="/etc/hostapd/hostapd.conf"
delete this file