I'm ruing AP with hostapd and dnsmasq. Here's my dnsmasq.conf
cache-size=0
port=53
domain-needed
server=8.8.8.8
no-resolv
no-hosts
interface=wlan1
bind-interfaces
dhcp-lease-max=640
dhcp-range=10.0.0.2,10.0.0.18
dhcp-authoritative
log-queries
log-facility=/var/log/dnsmasq.conf
After doing some stuff like editing iptables and enabling ip_forwarding I'm starting hostapd and dnsmasq. Now I'm able to coect to my AP. And here goes the problem: I'm not able to ping or nslookup or dig anything. Dnsmasq log looks like
query * from ip
forwarded * to 8.8.8.8
reply address to ip
Dnsmasq.leases file contains some ips and macs, but ping gives 100% packet loss, so I don't know where the problem might be. I'm not even able to ping 10.0.0.1(AP's gateway)
- - , .
برچسب:
نویسنده: استخدام کار