[Galaxy S II General] gbrandwood:
Credits: I cannot take credit for the steps here. This is basically a version specifically for the SGS2 cobbled together by me after reading Shellware's excellent guide here: http://www.shellware.com/BlogEngine...ually-Infrastructure-Enable-Your-ARDrone.aspx. I bought their App to say thanks.

Note: The first time you run this it will seem like you are spending a long time to get it going. After you have done it once, it really takes only a few minutes to repeat. Also, Shellware have scripts that can be semi-permanently added to your AR.Drone to skip out the "laptop bit" but you may invalidate your warranty. See Shellware's site for more information about those.

Stage 1: First off, gather up everything you need:

Samsung Galaxy S2 (duh!)

AR.Drone (double duh!)

A telnet client program:

For the purpose of this guide, we will be using a free Windows tool called PuTTY. You can download it from here: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe. However, feel free to use any telnet client.

Most versions of Windows have one built in. In Windows 7, it is not installed by default so you need to add it manually using "Control Panel" > "Programs" > "Programs and Features" > "Turn Windows features on or off" > "Telnet Client".

A laptop with wi-fi on it

An AR.Drone client program from the Android Marketplace. ARDrone Demo (free by MeanyDev) and AR.Pro (Shell M. Shrader £3.09) have been tested.

NB: I don't think the SGS2 needs to be rooted - so no warranty issues. Mine is rooted, but only because I was trying to get adhocs working - which I couldn't! :(

NB2: The AR.Drone will not lose it's warranty as the changes you make are temporary.

Stage 2: Preparing your phone:

On your SGS2, go into "Settings", and then "Wireless and network"

Make sure Flight Mode is not turned on! :D

Scroll down to "Tethering and portable hotspot"

Select "Portable Wi-Fi hotspot settings"

Tick the box against "Portable Wi-Fi hotspot" and answer "Yes" to the prompt to "Disconnect Wi-Fi for using portable Wi-Fi hotspot". I guess you will only see this prompt if wireless is already turned on... :rolleyes:

You should get a blue Wi-Fi Hotspot logo on the notification bar across the top.

Select "Configure portable Wi-Fi hotspot"

Give the hotspot a name, e.g., "GALAXY_HOTSPOT"

Set the Security to "Open"

Select "Save"

Stage 3: Fire up your laptop:

On your laptop, look for available wi-fi networks

Select and connect to your phone's hotspot - which should appear as "GALAXY_HOTSPOT" (or whatever you called yours)

**************************************

These next steps probably only need to be ran once as they are unlikely to change. I've tried it a few times and get the same results. I guess the chances are you will find the same address that I found.

**************************************

Once your laptop is connected to your phone's hotspot, you just need to double-check the IP address of your phone. To do this, open a command prompt by pressing the Windows key + R, or by clicking on the start button (or orb as it is now called), and selecting "Run...".

Enter "cmd" and press enter. A command prompt will open.

At the command prompt, type in "ipconfig" and press enter.

Look for the line that says "Default Gateway" under the heading of your wireless network adapter. You are looking for the default gateway of your current wireless connection - it should be something like this: 192.168.43.1. Make a note.

Stage 4: Laptop, say hello to AR.Drone:

Power up your AR.Drone. Waiting for the green lights to come on.

On your laptop, run your telnet program. In our example we are using PuTTY.

In PuTTY, select Telnet and enter the following IP address: 192.168.1.1 (this is the default IP address of the AR.Drone).

Click "Open" in PuTTY to reveal the telnet prompt.

**************************************

Your laptop is now talking to your AR.Drone! :cool:

**************************************

Copy and paste the following line into the telnet prompt. PLEASE NOTE: this is all one line - if your browser has wrapped it - be careful to select everything - the line starts with "killall" and ends with "up":

killall udhcpd ; iwconfig ath0 mode managed essid [COLOR=RoyalBlue][B]GALAXY_HOTSPOT[/B][/COLOR] ; ifconfig ath0 [B][COLOR=SeaGreen]192.168.43.[COLOR=Red]2[/COLOR][/COLOR][/B] netmask 255.255.255.0 up

**************************************

*IMPORTANT* before you press Enter on the keyboard, double check the IP address is correct and hotspot name is correct. In this example, the hotspot was called GALAXY_HOTSPOT. The last part of the IP address should be one number up from the IP address you noted down earler. If you noted 192.168.43.1, then on the telnet command line it should say 192.168.43.2. See how the "1" on the end is now a "2"? Don't miss this step out!

**************************************

Press Enter on the keyboard to run the command.

Your laptop will lose connection with your AR.Drone at this point because you have just told your AR.Drone to connect to your phone instead of your laptop! The session on your laptop might hang. Just close it down.

You are now finished with your laptop. :cool:

Stage 5: AR.Drone, say hello to your new best friend:

On your SGS2, fire up your AR.Drone client program and go into the settings to specify the IP address you entered on the telnet command line. In this case we used 192.168.43.2.

Hey presto your AR.Drone client should now work and away you go!

Be safe and have fun!

Let me know if this works for you! :D