Skip to content

Instantly share code, notes, and snippets.

@daraosn
Last active April 15, 2017 02:03
Show Gist options
  • Save daraosn/4989625 to your computer and use it in GitHub Desktop.
Save daraosn/4989625 to your computer and use it in GitHub Desktop.
Hack to connect multiple Parrot AR Drone 2.0 and create a swarm
## Hack to connect multiple Parrot AR Drones.
#############################################
## Instructions:
## 1. Connect to your AR Drone wifi network.
## 2. Open your terminal and do 'telnet 192.168.1.1'
## 3. Copy the script and replace DRONE_ID with the desired ID number (between 3-255).
## 4. Paste and run the script for every drone on the swarm.
DRONE_ID=200
sed -i "s/PROBE=1/PROBE=${DRONE_ID}/" /bin/wifi_setup.sh
sed -i "s/ssid_single_player.*/ssid_single_player = drone_swarm/" /data/config.ini
sed -i "s/wifi_mode.*/wifi_mode = 1/" /data/config.ini
/bin/wifi_setup.sh &
@xavier2
Copy link

xavier2 commented Feb 23, 2015

Dear sir,
I have used your code but unfortunately i assigned the value 300 to DRONE_ID. Then I reseted the drone manually. Although the older wifi SSID appears (ardrone2_002131), i cant connect my computer to that wifi. Do you have any idea of how could i solve that problem. Thanks for your time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment