OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by guillermoeuillades - 17.01.2020

FS#2745 - wpa_supplicant watchdog not working on second wifi interface (phy1)

- Device problem occurs on
I’m using a mikrotik rb952 with QCA9531 and QCA9887 16M flash and 64 RAM.
- Software versions of OpenWrt/LEDE release, packages, etc.
latest version compiled from source (version is from date january 17 2020)
- Steps to reproduce
long way:

 1)remove configuration of wifi client 
 2) connect wifi client (eap) 

3) repaet 1)&2) 4 or mor times

short way:

1) check you have the two wpa_supplicant running with "ps | grep wpa"

2) kill the wpa_supplciant process for phy1
this process will no be restarted.

- Overview
for some reason after change wifi client configuration more than 4 times (or more) wifi client won’t connect any more. the issue is related with wpa_supplicant (wpad symbol link) wich stop running (I could’t find the reason) for the phy interface of wifi. I have two phy wifi interfaces (5ghz and 2.4ghz).
the issue is on phy1. the process “/usr/sbin/wpa_supplicant -s -n phy1 -g /var/run/wpa_supplicant-phy1/global” will not be restarted automatically. but if I kill the process for phy0, after 10 seconds it will be running again.

Workarround: I found that if I run manually “hotplug-call ieee80211” the two instances of wpa_supplicant (phy0 and phy1) will be running again.

Where is the watchdog for wpa_supplicant process?
It seams that the watchdog only will monitor the first wpa_supplicant process (for phy0) and not for phy1.


Available keyboard shortcuts


Task Details

Task Editing