Ref: http://www.contextis.com/resources/blog/wireless-phishing-captive-portals/
nterface=wlan0
driver=nl80211
ssid=NotFreeWifi
channel=6
hw_mode=g
macaddr_acl=0
auth_algs=1
# log-facility=/var/log/dnsmasq.log
# log-queries
address=/#/10.0.0.1
interface=wlan0
dhcp-range=10.0.0.10,10.0.0.250,12h
no-resolv
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
wireless-power on
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 10.0.0.1
netmask 255.255.255.0