Bug 32130 - drakx-net needs to be rewritten to use nl80211
Summary: drakx-net needs to be rewritten to use nl80211
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: Mageia 10
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 17706
  Show dependency treegraph
 
Reported: 2023-07-22 07:53 CEST by Thomas Backlund
Modified: 2023-12-29 20:31 CET (History)
3 users (show)

See Also:
Source RPM: drakx-net
CVE:
Status comment:


Attachments

Description Thomas Backlund 2023-07-22 07:53:54 CEST
net_applet that is part of drakx-net(-applet) needs rewrite for proper wireless support...

looking in system logs for Cauldron/Mga9 we can see:

warning: `net_applet' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
Thomas Backlund 2023-07-22 07:54:04 CEST

Target Milestone: --- => Mageia 10

Comment 1 Jani Välimaa 2023-07-27 10:28:25 CEST
Didn't check thoroughly, but it's probably coming from:

https://gitweb.mageia.org/software/drakx-net/tree/lib/network/connection/wireless.pm#n923

'wext' should be replaced with 'nl80211' or even 'nl80211,wext' if wext support is still needed for some older hardware.

I guess the code could be also cleaned a bit as ATM wpa_supplicant supports the following driver backends:
  nl80211 = Linux nl80211/cfg80211
  wext = Linux wireless extensions (generic)
  wired = Wired Ethernet driver
  macsec_linux = MACsec Ethernet driver for Linux
  roboswitch = wpa_supplicant roboswitch driver
  none = no driver (RADIUS server/WPS ER)

We even might be able to drop the whole wpa_supplicant_get_driver() function and just pass 'nl80211,wext' to WIRELESS_WPA_DRIVER in line 702.

https://gitweb.mageia.org/software/drakx-net/tree/lib/network/connection/wireless.pm#n699

CC: (none) => jani.valimaa

Marja Van Waes 2023-10-21 22:15:12 CEST

Blocks: (none) => 17706
CC: (none) => marja11

Comment 2 Marja Van Waes 2023-10-21 22:47:58 CEST Comment hidden (obsolete)

Summary: drakx-net needs to be rewritten to use nl80211 => drakx-net needs to be rewritten to use nl80211 and iw

Comment 3 Marja Van Waes 2023-10-22 13:02:31 CEST
Sorry, adding the need to change to iw to this report will only decrease the chance that this will get fixed, reverting that change. I'll file a separate report about iw.

Summary: drakx-net needs to be rewritten to use nl80211 and iw => drakx-net needs to be rewritten to use nl80211

Marja Van Waes 2023-10-22 13:05:16 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=32422

Florian Hubold 2023-12-29 20:31:31 CET

CC: (none) => doktor5000


Note You need to log in before you can comment on or make changes to this bug.