Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

FTP port issue #10

Open
sfosset opened this issue Apr 1, 2015 · 1 comment
Open

FTP port issue #10

sfosset opened this issue Apr 1, 2015 · 1 comment

Comments

@sfosset
Copy link

sfosset commented Apr 1, 2015

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."
@j0e1in
Copy link

j0e1in commented Jul 30, 2015

Thank you sir!! You saved me a lot of time.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants