toes/scripts/wifi-captive.conf

20 lines
397 B
Plaintext

# dnsmasq config for Toes WiFi setup captive portal
# Redirect ALL DNS queries to the hotspot gateway IP
# Only listen on the hotspot interface
interface=wlan0
bind-interfaces
# Resolve everything to our IP (captive portal)
address=/#/10.42.0.1
# Don't use /etc/resolv.conf
no-resolv
# Don't read /etc/hosts
no-hosts
# Log queries for debugging
log-queries
log-facility=/tmp/toes-dnsmasq.log