Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-41283

QNetworkInfo in QSystemInfo not considering predictable network interface names

    XMLWordPrintable

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/

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lpotter Lorn Potter
            monstermunchkin Thomas Hipp
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes