ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    AR Drone 2.0 - Install Script Help

    Water Closet
    4
    18
    2.4k
    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.
    • travisdh1T
      travisdh1 @hobbit666
      last edited by

      @hobbit666 Most drones have a usb port that's actually a usb to serial adapter on the control board. So try hooking it up with a usb and seeing if you can telnet onto the drone.

      Could be that the install script will make any updates/changes needed on the drone if it's already plugged in, but I don't have the time to look at the code this afternoon to check.

      1 Reply Last reply Reply Quote 1
      • hobbit666H
        hobbit666
        last edited by

        Latestest update is I've found how to upload the files Via FTP.
        So I just need to set-up the Access Point and run the install and connect command

        Next to work out how to run the connect command on boot up 😄

        1 Reply Last reply Reply Quote 1
        • hobbit666H
          hobbit666
          last edited by

          Got the files on but can't run.

          env: bash: No such file or directory

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @hobbit666
            last edited by

            @hobbit666 said in AR Drone 2.0 - Install Script Help:

            Got the files on but can't run.

            env: bash: No such file or directory

            Is BASH missing?

            1 Reply Last reply Reply Quote 1
            • T
              tiagom
              last edited by

              Wonder if you can do it using windows 10's bash..

              But its seems pretty simple linux script, just run it..

              It uploads 3 files and moves them to /bin and makes them executable.

              scottalanmillerS hobbit666H 2 Replies Last reply Reply Quote 1
              • scottalanmillerS
                scottalanmiller @tiagom
                last edited by

                @tiagom said in AR Drone 2.0 - Install Script Help:

                Wonder if you can do it using windows 10's bash..

                But its seems pretty simple linux script, just run it..

                It uploads 3 files and moves them to /bin and makes them executable.

                Windows 10 BASH is useless. It's isolated from the OS.

                T 1 Reply Last reply Reply Quote 1
                • T
                  tiagom @scottalanmiller
                  last edited by

                  @scottalanmiller That sucks. Easy enough to spin up a vm just to do this.

                  scottalanmillerS 1 Reply Last reply Reply Quote 1
                  • hobbit666H
                    hobbit666 @tiagom
                    last edited by

                    @tiagom said in AR Drone 2.0 - Install Script Help:

                    Wonder if you can do it using windows 10's bash..

                    But its seems pretty simple linux script, just run it..

                    It uploads 3 files and moves them to /bin and makes them executable.

                    Thats what I was thinking but not had time too look through the scripts lol might try later or tomorrow at work

                    1 Reply Last reply Reply Quote 0
                    • hobbit666H
                      hobbit666
                      last edited by

                      Well moved the files into bin folder but still not working, if i run script/connect blah blah still get
                      env: bash: No such file or directory

                      hobbit666H 1 Reply Last reply Reply Quote 0
                      • hobbit666H
                        hobbit666 @hobbit666
                        last edited by

                        @hobbit666 said in AR Drone 2.0 - Install Script Help:

                        Well moved the files into bin folder but still not working, if i run script/connect blah blah still get
                        env: bash: No such file or directory

                        Just can't find any good guides on how to do it step by step.

                        T 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @tiagom
                          last edited by

                          @tiagom said in AR Drone 2.0 - Install Script Help:

                          @scottalanmiller That sucks. Easy enough to spin up a vm just to do this.

                          Yeah. It's really awful how totally useless the Ubuntu environment is on Windows.

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            tiagom @scottalanmiller
                            last edited by

                            @scottalanmiller hopefully they improve it in the future.

                            1 Reply Last reply Reply Quote 0
                            • T
                              tiagom @hobbit666
                              last edited by

                              @hobbit666 What are you doing to get the error.

                              Are you trying to run it on windows?

                              1 Reply Last reply Reply Quote 0
                              • hobbit666H
                                hobbit666
                                last edited by hobbit666

                                Well I don't know thats the issue lol
                                I telnet to the drone and get a busybox prompt if I run ls it shows a Linux type structure so in placed some files in bin and others in a folder called script.

                                Then run

                                Script/install
                                Script/connect

                                Both give the error.

                                Not sure if I need to install something else or custom firmware etc.

                                1 Reply Last reply Reply Quote 0
                                • hobbit666H
                                  hobbit666
                                  last edited by

                                  Just wondering from looking at the scripts should I be running this on a Linux machine

                                  As the install looks like it FTP's the files for me?
                                  Might be worth a shot tomorrow at work install ubuntu on spare laptop

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    tiagom
                                    last edited by

                                    The scripts are to be run from a computer.

                                    The scripts specify the drones ip..

                                    DRONEIP=${1:-"192.168.1.1"}
                                    

                                    Doesn't make sense to specify it if it was suppose to run locally on the drone.

                                    hobbit666H 1 Reply Last reply Reply Quote 0
                                    • hobbit666H
                                      hobbit666 @tiagom
                                      last edited by

                                      @tiagom said in AR Drone 2.0 - Install Script Help:

                                      The scripts are to be run from a computer.

                                      The scripts specify the drones ip..

                                      DRONEIP=${1:-"192.168.1.1"}
                                      

                                      Doesn't make sense to specify it if it was suppose to run locally on the drone.

                                      Yeah now I look at it makes more sense lol. Will install a desktop Linux distro tomorrow and try.

                                      1 Reply Last reply Reply Quote 0
                                      • 1 / 1
                                      • First post
                                        Last post