#telnet into the drone (telnet 192.168.1.1) | |
#paste the following command: | |
killall udhcpd; iwconfig ath0 mode managed essid [ssid]; ifconfig ath0 [wanted ip] netmask 255.255.255.0 up; | |
#ex. killall udhcpd; iwconfig ath0 mode managed essid Roflcopter; ifconfig ath0 192.168.43.201 netmask 255.255.255.0 up; |
This comment has been minimized.
This comment has been minimized.
this worked for me only when i changed "mode managed" to "mode ad-hoc" my ad-hoc network was created on a windows PC with Connectify |
This comment has been minimized.
This comment has been minimized.
Is there a way to set it back to hotspot mode? I'm going to try it out soon, but wanted to be able to set it back if someone else wants the drone... |
This comment has been minimized.
This comment has been minimized.
chrizbo, you just need to unplug the battery and the ardrone will set the default values. To connect to the access point you have to do what karlwestin mentioned each time you start the ardrone, so I recommend to create a script to not have to copy the line each time. |
This comment has been minimized.
This comment has been minimized.
Excellent, thanks! |
This comment has been minimized.
This comment has been minimized.
Will this make the drone automatically reconnect after loosing & getting signal again? |
This comment has been minimized.
This comment has been minimized.
I connected to the drone's wifi, used telnet and the above code, how can i confirm that the drone is connected to the new wifi? |
This comment has been minimized.
This comment has been minimized.
What's not really clear here is that Also, to make the drone a hotspot again, like @miguelolivaresmendez says, just unplug the battery and set it in again. (Sorry y'all didnt see comments on this gist until now) |
This comment has been minimized.
This comment has been minimized.
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 there is any way to do it since the router is password protected? are the links/info able to do the trick? I need some assist, thanks |
This comment has been minimized.
This comment has been minimized.
Hey @yteo006, I realise this is an old post... However as I too was searching for a similar thing, you might find these precompiled scripts that add WPA2 support to be of some use too... Link: https://github.com/daraosn/ardrone-wpa2 Cheers :) |
This comment has been minimized.
please note this only works with open networks, for WPA-networks, you'll probably need to install WPA Supplicant (more info here http://askubuntu.com/questions/138472/how-do-i-connect-to-a-wpa-wifi-network-using-the-command-line)