Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2716 - After 1 day WiFi clients connected to 2.4 and 5 GHZ band in same network are isolated from each othe #7514

Open
openwrt-bot opened this issue Jan 7, 2020 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

dim:

Model: TOTOLINK A7000R
Architecture: MediaTek MT7621 ver:1 eco:3
Firmware Version: OpenWrt SNAPSHOT r11835-0590d74db2 / LuCI Master git-19.364.49900-d07cfba
Kernel Version: 4.14.160

Installed packages: luci luci-ssl luci-app-sqm luci-app-ddns ddns-scripts_no-ip_com luci-app-adblock luci-app-bcp38 luci-app-wol luci-app-statistics luci-app-wireguard luci-app-openvpn luci-app-upnp

Configured only WiFi interfaces with separate names OpenWrt and OpenWrt5, psk2 with passphrase and hidden SSID.

After 1 day OpenWrt still showing:
cat /sys/devices/virtual/net/br-lan/lower_wlan0/brport/hairpin_mode
1
cat /sys/devices/virtual/net/br-lan/lower_wlan0/brport/multicast_to_unicast
1
cat /sys/devices/virtual/net/br-lan/lower_wlan0/brport/isolated
0
cat /sys/devices/virtual/net/br-lan/lower_wlan1/brport/hairpin_mode
1
cat /sys/devices/virtual/net/br-lan/lower_wlan1/brport/multicast_to_unicast
1
cat /sys/devices/virtual/net/br-lan/lower_wlan1/brport/isolated
0

On forum found workaround to manually add option multicast_to_unicast 0 to all affected /etc/config/wireless wifi-iface sections didn‘t helped.
So temporary added /sbin/wifi command to crontab at every night.

@openwrt-bot
Copy link
Author

Kabachek:

Yep, this is an actual problem.
After ~24 hours since the launch of the Wi-Fi interface, I try to ping my wifi printer from my notebook

c:> ping -c 1 printer
PING printer []: 56 data bytes
Reply from []: Destination host unreachable

Some output from router

~# ubus call system board
{
"kernel": "4.14.221",
"hostname": "GW",
"system": "MediaTek MT7621 ver:1 eco:3",
"model": "Xiaomi Mi Router 3 Pro",
"board_name": "xiaomi,mir3p",
"release": {
"distribution": "OpenWrt",
"version": "19.07.7",
"revision": "r11306-c4a6851c72",
"target": "ramips/mt7621",
"description": "OpenWrt 19.07.7 r11306-c4a6851c72"
}
}

~# ubus call network.wireless status
{
"radio0": {
"up": true,
"pending": false,
"autostart": true,
"disabled": false,
"retry_setup_failed": false,
"config": {
"path": "pci0000:00/0000:00:00.0/0000:01:00.0",
"legacy_rates": false,
"country": "VE",
"txpower": 20,
"htmode": "HT40",
"hwmode": "11g",
"channel": "auto"
},
"interfaces": [
{
"section": "wifinet1",
"ifname": "wlan0",
"config": {
"encryption": "psk2",
"mode": "ap",
"key": "",
"ssid": "",
"isolate": false,
"mode": "ap",
"network": [
"lan"
],
"isolate": false
}
}
]
},
"radio1": {
"up": false,
"pending": false,
"autostart": true,
"disabled": false,
"retry_setup_failed": true,
"config": {
"path": "platform/10180000.wmac",
"legacy_rates": false,
"country": "VE"
},
"interfaces": [

            ]
    },
    "radio2": {
            "up": true,
            "pending": false,
            "autostart": true,
            "disabled": false,
            "retry_setup_failed": false,
            "config": {
                    "hwmode": "11a",
                    "path": "pci0000:00/0000:00:01.0/0000:02:00.0",
                    "htmode": "VHT80",
                    "channel": "auto",
                    "txpower": 20,
                    "country": "VE"
            },
            "interfaces": [
                    {
                            "section": "wifinet0",
                            "ifname": "wlan1",
                            "config": {
                                    "encryption": "psk2",
                                    "mode": "ap",
                                    "key": "",
                                    "ssid": "",
                                    "isolate": false,
                                    "network": [
                                            "lan"
                                    ],
                                    "mode": "ap",
                                    "isolate": false
                            }
                    }
            ]
    }

}

/sys/devices/virtual/net/br-lan/lower_eth0.1/brport/isolated=0
/sys/devices/virtual/net/br-lan/lower_eth0.1/brport/hairpin_mode=0
/sys/devices/virtual/net/br-lan/lower_eth0.1/brport/multicast_to_unicast=0
/sys/devices/virtual/net/br-lan/lower_wlan0/brport/isolated=0
/sys/devices/virtual/net/br-lan/lower_wlan0/brport/hairpin_mode=1
/sys/devices/virtual/net/br-lan/lower_wlan0/brport/multicast_to_unicast=1
/sys/devices/virtual/net/br-lan/lower_wlan1/brport/isolated=0
/sys/devices/virtual/net/br-lan/lower_wlan1/brport/hairpin_mode=1
/sys/devices/virtual/net/br-lan/lower_wlan1/brport/multicast_to_unicast=1

~# hostapd -v
hostapd v2.9
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2019, Jouni Malinen j@w1.fi and contributors

the logs are clear

~#grep wlan log/syslog | grep -v STA
~#grep kern log/syslog | grep wlan
~#

So, after i do /sbin/wifi command, the printer becomes available

c:> ping -n 1 printer
PING printer [] : 56 data bytes
64 bytes from []: seq=0 ttl=255 time=4.703 ms

--- printer ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 4.703/4.703/4.703 ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant