ardrone-wpa2 icon indicating copy to clipboard operation
ardrone-wpa2 copied to clipboard

FTP port issue

Open sfosset opened this issue 9 years ago • 1 comments

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."

sfosset avatar Apr 01 '15 10:04 sfosset

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

j0e1in avatar Jul 30 '15 09:07 j0e1in