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

    SSH Port 22 Does Not Work!

    Ask your questions right here!
    3
    20
    488
    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.
    • 1
      19bpl @19bpl
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • 1
        19bpl @19bpl
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • Eric KatzfeyE
          Eric Katzfey ModalAI Team @19bpl
          last edited by

          @19bpl The IP address of your voxl2 is 169.254.11.145. What is the IP address of the computer running QGC? VOXL2 is setup by default to assume that the WiFi is in "SoftAP" or access point mode. Because of that the default value for "qgc_ip" in /etc/modalai/voxl-mavlink-server.conf is 192.168.8.10. That is the IP address that would be assigned to your QGC computer if it connected to the VOXL2 WiFi network. But in your case it appears that you are setup in station mode so you will need to change that qgc_ip address to the address that your QGC computer is getting on your network. Then, on the "Comm links" tab of QGC you will enter the IP address of the VOXL2 as a "Server address". Changing both of those will allow the VOXL2 to know the QGC address and QGC to know the VOXL2 address.

          Alex KushleyevA 1 Reply Last reply Reply Quote 0
          • Alex KushleyevA
            Alex Kushleyev ModalAI Team @Eric Katzfey
            last edited by

            Also 169.* IP range is usually self assigned ip, which means there is no manually assigned ip address or no connection to a router that would assign an ip address.

            Eric KatzfeyE 1 Reply Last reply Reply Quote 0
            • Eric KatzfeyE
              Eric Katzfey ModalAI Team @Alex Kushleyev
              last edited by

              @Alex-Kushleyev Yes, great point! I would suggest switching WiFi to "Soft AP" mode and trying that approach. It appears that you are in station mode and not able to get setup on your network properly. If you want to use station mode make sure you are up correctly on the network and have internet access before attempting to connect to QGC. Seems you may just have some fundamental problem with your network setup here.

              1 2 Replies Last reply Reply Quote 0
              • 1
                19bpl @Eric Katzfey
                last edited by

                @Eric-Katzfey

                Hi Eric,

                Thank you for the tips! If I will use softap today and update you on any issues I may have with QGroundControl

                1 Reply Last reply Reply Quote 0
                • 1
                  19bpl @Eric Katzfey
                  last edited by

                  @Eric-Katzfey
                  Eric,

                  I used softap mode, and discovered that the voxl IP addr. is 192.168.8.1 so I added that to the comm. links section. I set the qgc IP addr. in the appropriate conf. file to my computer's one, which is 192.168.2.18. Nothing is working! QGroundControl doesn't work, and when restarting, it still doesn't connect. Now I saw a video saying that the MAVLink Ground Station Host name should reflect the host IP address, so I changed that in all. Nothing is working

                  Alex KushleyevA Eric KatzfeyE 3 Replies Last reply Reply Quote 0
                  • Alex KushleyevA
                    Alex Kushleyev ModalAI Team @19bpl
                    last edited by

                    @19bpl ,

                    Let's take a step back and see what your network actually looks like..

                    • does your VOXL2 have a wifi or wired connectivity? which one? You need at least one of those (wifi or wired adapter) in order to connect to a network. Based on the information you sent before, I can see wlan0 interface, which is a wifi adapter
                    • how is your desktop PC connected to network? wired or wireless?
                    • do you have a wireless router? If so, do you want VOLX2 to connect to that router?
                    • does your PC have a wireless card?
                    • do you want to use that wireless card to connecto to VOXL2 directly (while VOXL2 is in SoftAP mode). SoftAP mode means VOXL2 would be acting as a wireless access point (similar to a typical wifi router).
                    • If you do have a wifi router and you simply want VOXL2 to connect to your network via the wifi router, then VOXL2 needs to be in station mode. You can configure voxl2 to station mode using the following command : voxl-wifi station <ssid> [password] .

                    The most typical case is when users have a wifi adapter plugged into VOXL2 and you also have a wifi router. Additionally, you have a PC that is connected to the same network either via a wired ethernet or wirelessly via the same router. Then you would want to set up your VOXL2 in station mode, connected to your wifi router.

                    After you execute the voxl-wifi statition .. command, if the information you provided is correct, your wifi router will assign an ip address to your VOXL, that should be in the same range as your PC (such as 192.168.2.xxx , assuming your network mask is default 255.255.255.0, which is also specified by the router). At that point, you should be able ping your PC from VOXL2 and vice versa. If pinging works, then GCS should also work, if it is configured to use these new IP addresses.

                    1 Reply Last reply Reply Quote 0
                    • Eric KatzfeyE
                      Eric Katzfey ModalAI Team @19bpl
                      last edited by

                      @19bpl If your QGC computer was connected to the VOXL2 AP it would have an IP address of 192.168.8.10. At the very least 192.168.8.<something>. So your QGC computer isn't connected to the VOXL2 network.

                      1 Reply Last reply Reply Quote 0
                      • Eric KatzfeyE
                        Eric Katzfey ModalAI Team @19bpl
                        last edited by

                        @19bpl At the very least you need to be able to ping the QGC computer from VOXL2 and VOXL2 from the QGC computer before attempting anything else.

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