我的问题是,如果我在WLAN网络中添加超过3个接入点,DNS就会停止在Android设备上工作。所有其他操作系统都在工作(Windows 7、Windows 10、iPhones)。
我看过Android设备的属性,它通常会得到IP和DNS。有时在无线局域网的属性上有一个错误连接,没有互联网和连接,但Chrome浏览器总是提供一个错误的dns_probe_finished_nxdomain。我也尝试过其他浏览器。
接入点被配置成桥接所有通信量,并且有PfSense虚拟机充当DHCP服务器。用户身份验证由Ubuntu16.04虚拟机上的FreeRADIUS 3处理。我尝试过将PfSense配置为使用DNS Resolver和DNS转发器,但没有成功。
我的网络:

所有接入点都是TP-链路弓箭手C7 v2无线运行,OpenWRT混沌更平静,配置相同。我已经检查过,干扰网络的并不是一个特定的AP,但是如果我连接超过3个AP,Android系统就会开始失败。
在OpenWRT上,我禁用了DHCP和防火墙。
uci set dhcp.lan.ignore=1
uci commit dhcp
/etc/init.d/dnsmasq restart
/etc/init.d/firewall disable
/etc/init.d/firewall stop 下面是OpenWRT的网络配置/etc/config/ network:
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd7f:9df2:3177::/48'
config interface 'lan'
option ifname 'eth0 eth1'
option force_link '1'
option type 'bridge'
option proto 'static'
option netmask '255.255.0.0'
option ip6assign '60'
option ipaddr '192.168.33.20'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 2 3 4 5'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '1 6'下面是OpenWRT的无线配置/etc/config/ wireless:
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11a'
option path 'pci0000:01/0000:01:00.0'
option htmode 'VHT80'
option txpower '17'
option channel '48'
option disabled '0'
config wifi-iface
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'mywlan'
option auth_server '192.168.33.1'
option auth_port '1812'
option auth_secret 'XXX'
option encryption 'wpa2'
config wifi-device 'radio1'
option type 'mac80211'
option channel '3'
option hwmode '11g'
option path 'platform/qca955x_wmac'
option htmode 'HT20'
option txpower '23'
option disabled '0'
config wifi-iface
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'mywlan'
option auth_server '192.168.33.1'
option auth_port '1812'
option auth_secret 'XXX'
option encryption 'wpa2'发布于 2017-03-24 13:28:44
必须为来宾WiFi设置调制解调器。必须设置为WPA2/ WPA2-PSK加密.(可以是特定于服务的,也可以选择最高的加密) OpenWRT wifi,相同的SSID和加密端密码被设置为调制解调器。就这样。
https://serverfault.com/questions/804425
复制相似问题