To troubleshoot the connection, open up a command prompt by choosing Start, Run and typing cmd. Then from the prompt, type ping 10.0.0.2 –t. This will start the ping program and attempt to send an ICMP packet to the iPhone from the PC. Once you see a positive reply, you will know the ad-hoc connection is live.
If you can't ping, then something is wrong with the wireless connection. Double-check the wireless settings and the TCP/IP settings. From the laptop, open up a second command prompt window and type ping 10.0.0.1. If you do not get a positive reply, then there is something wrong with the PC settings. If the reply is positive, then check the settings of the wireless configurations. Ensure it is set up as an ad-hoc connection and that the details match between the iPhone and the wireless card. We did notice that the iPhone did not always show the wireless connection as available. If this happens, click the Other button and create a new entry, and enable it when prompted.
Once the ping between the iPhone and the wireless card is working, ensure the proper port number is properly set up on the iPhone as 8080 and that Burp is configured to accept connections other than from localhost. If this still doesn't work, you will want to set up a sniffer on the wireless network to see what is going wrong—but that is beyond this little article.