• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

    RB5 unable to connect to hotspot

    Qualcomm Flight RB5 5G Drone
    4
    11
    663
    Loading More Posts
    • 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.
    • F
      Francesco Jacomel
      last edited by Francesco Jacomel 15 Dec 2021, 14:28 15 Dec 2021, 14:27

      I've been trying to connect to different wifi networks and I'm unable to succeed on that.
      WPA supplicant file is being updated as below:

      ctrl_interface=/var/run/wpa_supplicant
      update_config=1
      
      network={
      #WPA-PSK
              ssid="Test1"
              key_mgmt=WPA-PSK
              psk="abcdefgh"
      }
      

      And I just can't see any error but the connection is not established. Test1 is a hotspot on my cellphone, should I use WPA2-PSK instead?

      Hotspot settings are as follows:

      SSID:	Test1
      Protocol:	Wi-Fi 4 (802.11n)
      Security type:	WPA2-Personal
      Network band:	2.4 GHz
      Network channel:	1
      

      Thanks

      1 Reply Last reply Reply Quote 0
      • M
        modaltb ModalAI Team
        last edited by 15 Dec 2021, 17:18

        Hi @Francesco-Jacomel ,

        This is an example of our WPA supplicant used at the factory during setup:

        # Only WPA-PSK is used. Any valid cipher combination is accepted.
        ctrl_interface=/var/run/wpa_supplicant
        update_config=1
        
        network={
        	ssid="Foo"
        	key_mgmt=WPA-PSK
        	pairwise=TKIP CCMP
        	group=TKIP CCMP
        	psk="Bar"
        }
        wowlan_triggers=magic_pkt
        

        These got things connected on our network. I've not dug into the params myself though so 'use at own security risk' 😉

        F 1 Reply Last reply 16 Dec 2021, 18:58 Reply Quote 0
        • T
          tom admin
          last edited by 15 Dec 2021, 19:06

          @Francesco-Jacomel Are you rebooting your RB5 Flight after modifying the wpa_supplicant file?

          F 1 Reply Last reply 16 Dec 2021, 19:16 Reply Quote 0
          • F
            Francesco Jacomel @modaltb
            last edited by 16 Dec 2021, 18:58

            @modaltb It's the pretty same as I have here. 😞 I've tried keeping the pairwise and group for some attempts but also didn't work.

            1 Reply Last reply Reply Quote 0
            • F
              Francesco Jacomel @tom
              last edited by 16 Dec 2021, 19:16

              @tom Yep, after any change on the file I'm rebooting.

              1 Reply Last reply Reply Quote 0
              • T
                tom admin
                last edited by 16 Dec 2021, 20:36

                @Francesco-Jacomel Are you able to connect to any WiFi network? i.e. your home / office network?

                F 1 Reply Last reply 17 Dec 2021, 13:39 Reply Quote 0
                • F
                  Francesco Jacomel @tom
                  last edited by Francesco Jacomel 17 Dec 2021, 13:39 17 Dec 2021, 13:39

                  @tom I've tried two different networks so far, one from my company so a firewall might be affecting the connection attempt through WPA, other using my iPhone Hotspot which is WPA2 so I'm unsure whether this might be an issue. I'm setting up a new one with no restrictions (no firewall, no wpa2).

                  I'll update here accordingly.
                  Thanks

                  1 Reply Last reply Reply Quote 0
                  • F
                    Francesco Jacomel
                    last edited by 20 Dec 2021, 14:42

                    I've set up a new network with very few restrictions and now it is connected to the network! Thank you very much for your support!

                    1 Reply Last reply Reply Quote 0
                    • T
                      tom admin
                      last edited by 20 Dec 2021, 17:53

                      @Francesco-Jacomel Great! Thanks for investigating that, our test network is fairly open security-wise so we hadn't run into that issue.

                      1 Reply Last reply Reply Quote 0
                      • J
                        justinGE
                        last edited by 12 May 2022, 18:56

                        Not to necro a thread, but if you're using WPA2 you need to supply a country code at the top of the wpa_supplicant such as

                        # Only WPA-PSK is used. Any valid cipher combination is accepted.
                        country=US
                        ctrl_interface=/var/run/wpa_supplicant
                        update_config=1
                        
                        network={
                        	ssid="Foo"
                        	psk="Bar"
                        }
                        wowlan_triggers=magic_pkt
                        

                        I was having trouble connecting to our local internet until I did this.

                        T 1 Reply Last reply 13 May 2022, 17:02 Reply Quote 1
                        • T
                          tom admin @justinGE
                          last edited by 13 May 2022, 17:02

                          @justinGE This is good information, thanks for sharing!

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Powered by NodeBB | Contributors