Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Wifi connection on Raspberry pi
Forum Updated to NodeBB v4.3 + New Features

Wifi connection on Raspberry pi

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 4 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • GilbertoAGJG Offline
    GilbertoAGJG Offline
    GilbertoAGJ
    wrote on last edited by
    #1

    Hi guys,
    I'm making a code I need to connect my raspbeeey pi on wifi with QT. I'm using QNetworkConfigurationManager Class trying to scan for wifi signals but it's not working.
    the QNetworkConfigurationManager::allConfigurations() shows only two results: both are ethernet bearerType.
    one of them has the name eth0 and the other wlan0.
    QNetworkConfigurationManager::allConfigurations() should give me all possible connecions but isn't what is happening.
    Can someone help me ?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      wlan0 is your WiFi network device so technically you have all the interfaces of your device.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • GilbertoAGJG Offline
        GilbertoAGJG Offline
        GilbertoAGJ
        wrote on last edited by
        #3

        Thanks, but the bearer type of wlan0 is Ethernet. Shouldn't be BearerWLAN?
        How can I peform a wifi scan ?

        Qt Creator 3.2.1 based on 5.3.2.
        Using jessie lite with Pixel GUI

        1 Reply Last reply
        0
        • JerwinprabuJ Offline
          JerwinprabuJ Offline
          Jerwinprabu
          wrote on last edited by
          #4

          I need more information because I am using same version. SSH connection (Remote connection) working ? Initial setup completed ?

          1 Reply Last reply
          0
          • GilbertoAGJG Offline
            GilbertoAGJG Offline
            GilbertoAGJ
            wrote on last edited by
            #5

            SSH working, initial setup completed. I'm actually using VNC to use QT Creator installed on Raspberry.
            I've solved this problem using Qprocess and executing terminal commmands. Now I just need to know how to connect to a wifi signal.

            jsulmJ 1 Reply Last reply
            0
            • GilbertoAGJG GilbertoAGJ

              SSH working, initial setup completed. I'm actually using VNC to use QT Creator installed on Raspberry.
              I've solved this problem using Qprocess and executing terminal commmands. Now I just need to know how to connect to a wifi signal.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @GilbertoAGJ Not sure what you mean with "wifi signal", but can't you use http://doc.qt.io/qt-5.8/qnetworkconfigurationmanager.html#onlineStateChanged signal to get a notification if online status of your device changes?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved