openwrt / openwrt/mt76

mesh never works

Open
#637 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
888
Forks
436
PR merge metrics
No merged PRs in 30d

Description

config

config wifi-iface 'wifinet2'
	option device 'radio1'
	option mode 'mesh'
	option encryption 'none'
	option mesh_id 'x-wrt'
	option mesh_fwding '1'
	option mesh_rssi_threshold '0'
	option ifname 'mesh0'
	option network 'lan'

log:

Mon Dec  6 12:01:21 2021 kern.info kernel: [  295.764627] br-lan: port 4(mesh0) entered blocking state
Mon Dec  6 12:01:21 2021 kern.info kernel: [  295.764672] br-lan: port 4(mesh0) entered disabled state
Mon Dec  6 12:01:21 2021 kern.info kernel: [  295.769450] device mesh0 entered promiscuous mode
Mon Dec  6 12:01:22 2021 daemon.notice wpa_supplicant[2998]: mesh0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Mon Dec  6 12:01:23 2021 daemon.notice wpa_supplicant[2998]: mesh0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Mon Dec  6 12:01:24 2021 daemon.notice wpa_supplicant[2998]: mesh0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Mon Dec  6 12:01:25 2021 daemon.notice wpa_supplicant[2998]: mesh0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Mon Dec  6 12:01:26 2021 daemon.notice wpa_supplicant[2998]: mesh0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Mon Dec  6 12:01:27 2021 daemon.notice wpa_supplicant[2998]: mesh0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Mon Dec  6 12:01:28 2021 daemon.notice wpa_supplicant[2998]: mesh0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Mon Dec  6 12:01:29 2021 daemon.notice wpa_supplicant[2998]: mesh0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Mon Dec  6 12:01:32 2021 daemon.err wpa_supplicant[2998]: mesh0: Could not join mesh

each node use the same config
and I notice that mesh0 and wlan1-1 share the same mac address

root@X-WRT:~# iwinfo mesh0 info
mesh0     ESSID: "x-wrt"
          Access Point: XX:XX:XX:B4:53:C0
          Mode: Mesh Point  Channel: unknown (unknown)
          Center Channel 1: unknown 2: unknown
          Tx-Power: 0 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -88 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11bgn
          Hardware: 168C:003C 168C:4019 [Qualcomm Atheros IPQ4019]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy1
root@X-WRT:~# iwinfo wlan1-1 info
wlan1-1   ESSID: "X-WRT_53C1"
          Access Point: XX:XX:XX:B4:53:C0
          Mode: Master  Channel: 11 (2.462 GHz)
          Center Channel 1: 11 2: unknown
          Tx-Power: 20 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -88 dBm
          Bit Rate: unknown
          Encryption: WPA2 PSK (CCMP)
          Type: nl80211  HW Mode(s): 802.11bgn
          Hardware: 168C:003C 168C:4019 [Qualcomm Atheros IPQ4019]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy1

I know this may no issue of mt76 but issue on mac80211 or somewhat.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no source file or test; start by reproducing the OpenWrt configuration and inspecting the wpa_supplicant logs and iwinfo output for mesh0 and wlan1-1 on phy1. Done means identifying the cause of the repeated scan failures and validating that the nodes join the mesh successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.