Debugging your adhoc network
If you have problems using this app, there might be various reasons for that. Here you can find some ideas on finding the cause.
Is your interface really in ad-hoc mode?
In an adb shell, run
/data/data/net.ott.android.adhoc/files/iwconfig eth0
Your output should look something like this:
eth0 IEEE 802.11-DS ESSID:"AdhocTest" Nickname:""
Mode:Ad-Hoc Frequency:2.462 GHz Cell: 2A:58:2D:64:A4:F0
Bit Rate=54 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Managementmode:All packets received
Link Quality=5/5 Signal level=-48 dBm Noise level=-57 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0The important part is "Mode:Ad-Hoc". If, after you enable adhoc networking in the application, mode is still set to "Managed" you might be experiencing an issue where the phone refuses to connect to pre-existing adhoc networks. A possible workaround is to choose a different SSID and only join the network with your other devices after it has been created on the desire.
Cannot ping
If you cannot ping your phone from other systems in the adhoc network, try pinging them first (from the phone). Probably an ARP issue.
Hi
I have the problem to test the ad hoc connection. Does any ping app work with your app. I can ping to my phone but not to the target (ardrone from parrot). The ardrone is the server and the phone is the client. So I can`t change the ESSID. Any idears ?
greets Hajo