route flush.wlan0: ieee80211_new_state_locked: pending INIT -> SCAN transition lostBy default dnsmasq assumes that host running dnsmasq is your gateway/router. That wasn’t the case in my network so I needed to specify the IP address of my Cisco gateway/router in the following line:
dhcp-option=3,192.168.10.1
dhcp-option=3,192.168.1.1
root@Server:/var/log# netstat -4nr shows:-Routing tables
Internet:
Destination Gateway Flags Netif Expire
default 192.168.1.1 UGS re0
127.0.0.1 lo0 UHS lo0
192.168.1.0/24 link#1 U re0
192.168.1.20 link#1 UHS lo0
192.168.2.0/24 link#3 U wlan0
192.168.2.1 link#3 UHS lo0
so I addedddhcp-option=3,192.168.1.1
# Override the default route supplied by dnsmasq, which assumes the
# router is the same machine as the one running dnsmasq.
#dhcp-option=3,1.2.3.4
# Do the same thing, but using the option name
#dhcp-option=option:router,1.2.3.4
gateway_enable is enough for packets to travel from one interface to another. The rest is just a matter of having the correct routes everywhere.Not 192.168.1.1. That is assigned to an interface on another machine, Right?dhcp-option=wlan0,option:router,192.168.2.1
OK so the client is picking up an IP from your AP. That eliminates some problems.192.168.2.62 cllient wlan0 IP via DNSMASQ on FreeBSD server
ifconfig wlan0 repeatedly over and over to notice this. ifconfig wlan0 from both AP and a Client.