Giter VIP home page Giter VIP logo

ardrone-wpa2's People

Contributors

daraosn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ardrone-wpa2's Issues

Drone connects to my network but I cannot reach it via telnet

I Took your code and installed as described in the README.md
The drone DOES connect to my wifi and is also pingable and I can portscan, however connecting to the ftp or telnet simply does nothing until eventually I get Connection closed by foreign host.
I already added the default gw.

My current assumption is that the drone has an issue because my router occupies the 192.168.1.1 IP and I fear there might be some residual reference to that left even though I have it running with dhcp (192.168.1.145 in my Wifi)

Mini drone Max Parrot not working

Hello and a big thank you for your work !

I have an issue with Mini drone Max Parrot not working

Here is my ifconfig :

wifi_bcm Link encap:Ethernet HWaddr A0:14:3D:A0:7F:7C
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::a214:3dff:fea0:7f7c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:106 errors:0 dropped:0 overruns:0 frame:1171
TX packets:135 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10984 (10.7 KiB) TX bytes:20772 (20.2

I changed the script accordingly but it wont work ( I changed DRONEIP and ath0 by wifi_bcm ).
When I manually connect and type the line it simply hang in there not even giving back the prompt.
When I use the script it just end the connection ( and the wifi connection too ) ut won t appear on the home network and i can't telnet it .... any ideas ?

FTP port issue

I'm working with Ubuntu 12.04 (on a VM) and the initial code didn't work.
I added the port (5551 according to the parrot web site) on the FTP line in script/install and it works.
Maybe this will help someone.

#!/usr/bin/env bash
set -ue

DRONEIP=${1:-"192.168.1.1"}

echo "Uploading binaries..."
curl -T bin/wpa_cli "ftp://$DRONEIP:5551"
curl -T bin/wpa_passphrase "ftp://$DRONEIP:5551"
curl -T bin/wpa_supplicant "ftp://$DRONEIP:5551"
sleep 1

{( sleep 1; echo "
  mv /data/video/wpa_* /bin
  chmod +x /bin/wpa_*
";) | telnet $DRONEIP > /dev/null; } | sleep 1 && echo "wpa_supplicant installed."

Need help with Connecting Drone to My Network

So, I'm pretty new to javascript, node, telnet, and linux in general so perhaps I'm doing something wrong but...

I've tried to carefully follow the instructions in the Readme file for How to Use and Do Cool Stuff and have not been very successful. Here are my steps:

  1. Connect my laptop to the drone via WiFi.

  2. In the copied repo for ardrone-wpa2 in my bash terminal, type "script/install". This successfully installs the scripts giving me the message wpa_supplicant installed. (I don't see any file related to wpa_supplicant in the file structure of the drone. Maybe named differently or not looking in the right place.)

  3. Connect to my network with: script/connect "" -p "". This basically just outputs exactly what I put in. Doesn't matter if I put a bogus password or wrong network name, no validation. Perhaps this part is just setting some parameters and not actually connecting? Leaving the last two parameters empty since they're optional. Have also tried not doing that, still no luck.

Ok done! So according to instructions I should be connected to my network right? Nope.

So then I tried the Do Cool Stuff part.

  1. Ran the connect script like step 3 above.

  2. Telnetted to the "new drone ip" (as mentioned have tried changing the IP as well as also leaving it as the default. I can only telnet in when I leave the ip as the default. In fact, changing the IP will likely still allow me to connect to the original IP.)

  3. So I telnet using the original IP. Success. Type the route add default gw <my_router_ip> ath0 command as instructed. Seems to have worked.

  4. wget -O - http://someIpAddressThatIsUpAndValid/ (not entirely sure what this step is for, I'm guessing just confirming it can connect to a random website?). This part always fails for me. Keeps saying
    "wget: cannot connect to remote host (x.x.x.x):80 No route to host".
    Not sure where the "80" port is coming from or where I can change this or what I should even change it to.

I can spend a lot of time thoroughly researching a lot of these topics and I likely will at some point, but given I have a very limited amount of time to figure out how to get my laptop connected to the drone and the internet at the same time for a project, I'm hoping someone out there can spot what I'm doing incorrectly.

I've googled "no route to host" and apparently its a common connection error in linux. Some causes are wrong port, Iptables is blocking connection, DNS is improperly configured. I've never messed with any of this stuff so should all be set the way it was when I first purchased the computer a few months ago.

If I am doing things correctly, then perhaps some ideas on what I could check?

Thanks for the help and sorry about my super long winded question!

unable to pair after installing the script

Hi @daraosn,

After I installed the script while connected to the drone, I tried running
script/connect "network name" -p "password"

The connection was not successful and I was no longer able to pair with the drone afterward. When I tried to pair with the mac, I got "unable to connect to wifi". When I tried pairing with an iPhone, it prompted me for a password. Am I doing something wrong here? I tried resetting the drone but the issue persisted.

Thanks!

Image lag

Hi. I followed the steps and everything seems to be working in order, however I get a considerable amount of lag when receiving images. If I reset the modifications and connect direct to the drone wifi, this lag disappears. Is there any way around this issue?

Thanks.

DNS Support

Hi Diego,

just tried out ardrone-wpa2 and it's working like a charm! Thank you so much for doing this!!!

Did you figure out how to get DNS resolution working? I just tried adding my router to /etc/resolv.conf (which required me to rm the broken symlink that was in there), but it doesn't work. Any idea?

Dropping throughput appx every 30 seconds

First off, thanks for this!
Drone Firmware Version 2.3.3
AP is Ubiquiti UAP Pro
AP shows connection is maintained, but IP level fails about every 30 seconds and the outage lasts 30 seconds. Regardless of IP used fixed/dhcp.

Wifi with single quote characters do not work

Such as with iPhone's Personal Hotspot, it will always be NAME's iPhone. Note the single quote in the middle.

This can easily be fixed by changing all single quotes to double quotes in script/connect.

Connection closed by foreign host.

Hello,

Whenever I try to run script/install I get

Uploading binaries...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 81739    0     0  100 81739      0   308k --:--:-- --:--:-- --:--:--  309k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  242k    0     0  100  242k      0   580k --:--:-- --:--:-- --:--:--  581k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1284k    0     0  100 1284k      0   807k  0:00:01  0:00:01 --:--:--  807k
Connection closed by foreign host.
wpa_supplicant installed.

and it is the Connection closed by foreign host. that worries me.

Then I try to run script/install ... anyways but at the end of that command as well it says Connection closed by foreign host.

What does this error mean? How should I try to fix it?

Ardrone 1.0

Hey I wanted to get this working on version 1 drones, I tried the binary as is but I get an illegal instruction error. How easy would it be to get binaries for version 1 drones?

query of ardrone connect router with password

hi, I have some question about the technical issue. I have home router access point with password protected, and I have two drones, would like to connect them to my home router access point. may I know whether the git respo able to do the trick since the router is password protected? I need some assist, thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.