Hi there.
The rig:
I have 2 routers running LEDE 17.01.3 on a "seamless" wifi network (same SSID/password with different wifi channel) but this has happened on earlier releases of LEDE and it even happened with OpenWRT before I moved to LEDE.
For the record, the secondary router has dnsmask, odhcpd and firewall disabled permanently.
The problem:
All works great for periods of time but once in a while I loose Internet access on my laptop, meaning I get a full Wifi network signal but with a yellow exclamation mark.
If I open a CLI I can't even ping the router's internal LAN IP address or any other device on the network.
This doesn't seem to happen on other devices like mobile phones/tablets, appears to be a problem only on this PC that's running Windows 7 Pro. But I could be wrong. I mean, Android devices are known to deal with wifi roaming a whole lot better than Windows and for that they usually simply reset the interface and re-authenticate.
Sometimes this can happen in a matter of minutes (like every 5 or 10 minutes for a whole day) but sometimes it takes many hours to happen again.
For the record, today it's been very bad with this issue. This has happened 4 or 5 times while I was writing this message.
The temporary solution:
Just disconnect from that particular Wifi SSID and reconnect back again. Hence why I am not particularly sure that this is not happening with any other devices, since these Androids are very good at disconnecting/reconnecting/authenticating in a matter of 2 or 3 seconds...
My questions:
Is there a way for me to debug this?
Could this be a simple misconfiguration on my end?
Here's the cat /etc/config/network and cat /etc/config/wireless for both routers:
Main router (with firewall/DNS enabled):
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 'fd30:74bf:8f61::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth1'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '10.11.11.1'
config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'
option peerdns '0'
option dns '8.8.8.8 8.8.4.4'
config interface 'wan6'
option ifname 'eth0'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 0'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '5 6'
Wireless
config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'platform/qca955x_wmac'
option htmode 'HT20'
option country 'US'
config wifi-iface
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'rdscAP'
option encryption 'psk2+ccmp'
option key 'my_wifi_pwd'
And here's the same for the secondary router in "AP mode":
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 'fdc0:2487:f87c::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth0'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '10.11.11.2'
option gateway '10.11.11.1'
option dns '8.8.8.8 8.8.4.4'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
option blinkrate '2'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 5'
config switch_port
option device 'switch0'
option port '1'
option led '6'
config switch_port
option device 'switch0'
option port '2'
option led '9'
config switch_port
option device 'switch0'
option port '5'
option led '2'
Wireless
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11g'
option path 'pci0000:00/0000:00:11.0'
option htmode 'HT20'
option country 'US'
option channel '6'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'rdscAP'
option encryption 'psk2+ccmp'
option key 'my_wifi_pwd'
config wifi-device 'radio1'
option type 'mac80211'
option channel '36'
option hwmode '11a'
option path 'pci0000:00/0000:00:12.0'
option htmode 'HT20'
option disabled '1'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'LEDE'
option encryption 'none'