AR Drone 2.0 - Install Script Help
-
So this is what i've got.
Windows Laptop
AR Drone 2.0 (several batteries)
TP LINK Access Point.The idea is because the AR drone creates it's own open wifi network and the range is rubbish i'm going to use the AP to extend the range but i also want to enable WPA2 onto the drone so it connects to the AP automatically for better security and range.
So i found this:-
https://github.com/daraosn/ardrone-wpa2The instructions says connect to the drone and run install. BUT WAIT!! how do i get the code onto the drone in the first place if it's only got a connection to my laptop ???
-
@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.
-
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 commandNext to work out how to run the connect command on boot up
-
Got the files on but can't run.
env: bash: No such file or directory
-
@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?
-
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.
-
@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.
-
@scottalanmiller That sucks. Easy enough to spin up a vm just to do this.
-
@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
-
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 -
@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 directoryJust can't find any good guides on how to do it step by step.
-
@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.
-
@scottalanmiller hopefully they improve it in the future.
-
@hobbit666 What are you doing to get the error.
Are you trying to run it on windows?
-
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/connectBoth give the error.
Not sure if I need to install something else or custom firmware etc.
-
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 -
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.
-
@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.