Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
None
-
5.3.0
-
None
-
Linux distributions using systemd/udev (>= v197) which have predictable network interfaces enabled.
Description
Predictable network interface names [1] have been around for over a year now. They replace the common names like wlanX (X is a number) with wlpXsY (X and Y are numbers). Ethernet interfaces are named enpXsY instead of ethX.
QtSystems' QNetworkInfo only considers the "old" naming scheme (wlanX, ethX, ...), systems using the new scheme therefore aren't able to use most of its functions.
To ensure that all Linux systems can use QNetworkInfo, the new naming scheme should be considered when looking up the network interfaces.
[1] http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/