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

    RB5 unable to connect to hotspot

    Qualcomm Flight RB5 5G Drone
    4
    11
    660
    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.
    • Francesco JacomelF
      Francesco Jacomel
      last edited by Francesco Jacomel

      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
      • modaltbM
        modaltb ModalAI Team
        last edited by

        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' 😉

        Francesco JacomelF 1 Reply Last reply Reply Quote 0
        • tomT
          tom admin
          last edited by

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

          Francesco JacomelF 1 Reply Last reply Reply Quote 0
          • Francesco JacomelF
            Francesco Jacomel @modaltb
            last edited by

            @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
            • Francesco JacomelF
              Francesco Jacomel @tom
              last edited by

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

              1 Reply Last reply Reply Quote 0
              • tomT
                tom admin
                last edited by

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

                Francesco JacomelF 1 Reply Last reply Reply Quote 0
                • Francesco JacomelF
                  Francesco Jacomel @tom
                  last edited by Francesco Jacomel

                  @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
                  • Francesco JacomelF
                    Francesco Jacomel
                    last edited by

                    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
                    • tomT
                      tom admin
                      last edited by

                      @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

                        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.

                        tomT 1 Reply Last reply Reply Quote 1
                        • tomT
                          tom admin @justinGE
                          last edited by

                          @justinGE This is good information, thanks for sharing!

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