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 Update on Monday, May 27th 2025

Wifi connection on Raspberry pi

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 4 Posters 2.0k Views
  • 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.
  • G Offline
    G Offline
    GilbertoAGJ
    wrote on 27 Apr 2017, 20:51 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 27 Apr 2017, 21:13 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
      • G Offline
        G Offline
        GilbertoAGJ
        wrote on 27 Apr 2017, 21:22 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
        • J Offline
          J Offline
          Jerwinprabu
          wrote on 29 Apr 2017, 05:38 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
          • G Offline
            G Offline
            GilbertoAGJ
            wrote on 30 Apr 2017, 23:41 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.

            J 1 Reply Last reply 2 May 2017, 05:33
            0
            • G GilbertoAGJ
              30 Apr 2017, 23:41

              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.

              J Online
              J Online
              jsulm
              Lifetime Qt Champion
              wrote on 2 May 2017, 05:33 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

              1/6

              27 Apr 2017, 20:51

              • Login

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