Project

General

Profile

Error #473

Wireless interfaces get a 802.1ad VLAN when reconfigured from a non-functional status

Added by Roger Pueyo Centelles about 2 months ago. Updated about 1 month ago.

Status:
Tancat
Priority:
Alta
Category:
Network
Target version:
Start date:
09/29/2019
Due date:
% Done:

100%

Estimated time:
2.00 h

Description

If a wireless interface is configured in a mode it does not support (e.g., 80211s or adhoc), it disappears from /sys/class/net/. Therefore, it can't be detected as phy80211 as per https://dev.qmp.cat/projects/qmp/repository/revisions/1ac9cfd66e13e15c906db6cd0919305f2a0e5996/entry/packages/qmp-system/files/etc/qmp/qmp_functions.sh#L66

Associated revisions

Revision a5b598a7 (diff)
Added by Roger Pueyo Centelles about 2 months ago

[qmp-system] Detect non-wireless interfaces instead of wireless ones

Certain combinations of wireless drivers (e.g., ath10k, mt7615) and
wireless modes (e.g., adhoc, 80211s) end up with the radio interfaces
not being risen up and not appearing in /sys/class/net/. Therefore, they
are never detected as wireless interfaces and, upon reconfiguration,
they are treated as wired ones, leading to wrong settings in
/etc/config/network. To avoid this behaviour, wireless interfaces are
now tested for not being "non-wireless.

Fixes #473

Signed-off-by: Roger Pueyo Centelles <>

History

#1 Updated by Roger Pueyo Centelles about 1 month ago

  • Status changed from Nou to Tancat
  • % Done changed from 0 to 100

Aplicat en el conjunt de canvis a5b598a7c68d8483f3572d72410a05ede05ed075.

Also available in: Atom PDF