Using Wi-Fi Ad-hoc networking is the best way to share internet connection between PC and your android phone. But for that, you’ll need to root your android device and change the wifi configuration file for accessing the adhoc networks. This method varies based on the wifi chipset used in your phone.
Another alternate method which can be used by almost all the android devices is by creating virtual access point’s using virtual router software. This is done using Windows 7’s wireless hosted network technology. There are currently two software’s which does this job perfectly, Virtual Router and Connectify.
Download Virtual Router or Connectify from the links given at the bottom of this article.
If you’re using Virtual Router, be sure to check the supported wifi devices as these softwares are hardware specific.
Settings for Virtual Router [PC]
Open Virtual Router software, and fill in the settings.
Enter your preferred Network Name[SSID], password and choose the internet connection you wish to share.
Click the start button to start sharing.
In the connection status, note down the IPv4 address [for eg. 192.168.5.1] as we need it to configure the android device settings later.
Also note the DNS server being used by your internet connection. For finding DNS information, just enter ipconfig/all into the command prompt.
Mobile Wifi Settings [ANDROID]
On your android device, go to Settings> Wireless and Networks> Wifi Settings
Click the advance settings.
Select the checkbox showing “Use static IP”
Enter the IP address [for eg. 192.168.5.2]
Enter the previously noted IP address [for eg. 192.168.5.1] into Gateway field.
Enter 255.255.255.0 in Netmask field
Enter the previously noted DNS server address into DNS1 and DNS2 fields.
Now disable and enable wifi and then connect to wifi using password.
After connecting you can enjoy internet shared from PC on your android device using wifi.
Note: Wi-Fi Connections made with these software’s are encrypted with WPA2 and is not possible to turn it off, so as to ensure best security for the wireless hosting network feature built into window7.
Download Virtual Router [~1Mb] or Connectify [~2.2Mb]