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

QDB fails to set up network interface

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • 5.9.1
    • Device Creation
    • None
    • Debian 9, "stretch".

      $ uname -a
      Linux zebra 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64 GNU/Linux
    • I61fb29e8c9ea393020d3d7f19af97588578d81dc

      I connect a qdb enabled device, start Qt Creator, open the devices pane in the options dialog. The device shows up and is marked as "Ready to use". I press "Test" and after a while I get a timeout.

      In the SSH configuration an IP address is mentioned. If I manually assign an IP address from the same network to the network interface created when plugging in the device, the "Test" button triggers a successful handshake. The network interface is not automatically assigned an IP address by qdb.

      Notably, my linux system automatically renames the network interface from "usb0" to something like "enp0s26u1u3". The name seems to vary. Also the directory /sys/kernel/config/usb_gadget (reveiled by a cursory search in the qdb source code) does not exist here and I cannot find an equivalent.

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

            tarjasundqvist Tarja Sundqvist
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes