create a nat-ed wifi ap
git clone git://
Log | Files | Refs | README | LICENSE

commit 6c56e81148c469d8c5495a3ae0fa53b80c9885b8
parent 5ff7503e015433cbc86f026d76585b929566fffa
Author: oblique <>
Date:   Tue,  9 Sep 2014 23:13:39 +0300

Specify listen-address in dnsmasq instead of listen-interface

Ubuntu has a bit different setup than other distributions and because
of this dnsmasq was failing to retrieve the results of a DNS lookup.
This can be fixed if we specify that the listen-address is the gateway
instead of binding all the addresses of the WIFI_IFACE.

Fix #46

Mcreate_ap | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/create_ap b/create_ap @@ -728,7 +728,7 @@ else DNSMASQ_BIND=bind-dynamic fi cat << EOF > $CONFDIR/dnsmasq.conf -interface=${WIFI_IFACE} +listen-address=${GATEWAY} ${DNSMASQ_BIND} dhcp-range=${GATEWAY%.*}.1,${GATEWAY%.*}.254,,24h dhcp-option=option:router,${GATEWAY}