I am trying to connect my Galaxy Tab to the Internet through an ad-hoc network made via my PC. The PC ad-hoc settings are fine because I can use it from my iPhone and other devices.
If you are not using any virtual router app on your PC, try running these two commands - it might work:
netsh wlan set hostednetwork mode=allow ssid=SSIDNAME key=YOURPASSWORD netsh wlan start hostednetwork
Make sure you run these commands in elevated (administrator) command prompt.
If you get any error after running the second command; something like - "The hosted network couldn't be started. The group or resource is not in the correct state to perform the requested operation.", go to
Device Manager > Network Adaptorsselect your network adaptor, right click and select Disable. Again select the same and enable.
Try running both the above commands again.