You are on page 1of 4

Between PC and Android Phone Using WiFi

WiFi Ad-Hoc Networking is a popular method to share internet connection between computers (pc or laptop) or between a computer and a smartphone that has built in WiFi. Unfortunately, this method of networking is not supported by Android since it was released until the time of this writting. One of the popular method to enable ad hoc mode on Android devices is by changing a WiFi configuration file located on /system/etc directory calledtiwlan.ini. But this method is specific to phones WiFi chipset and you need root access to change the file. The tiwlan.ini is a configuration file for Texas Instruments WiFi chipset (e.g HTC dream) so you will not find it on Samsung Spica that use Broadcom WiFi chipset. Another alternative method is by using a software based virtual access point that usingWindows 7s Wireless Hosted Network technology. This method only runs on Windows 7 and hardware specific. Currently i found two best virtual access point softwares, Virtual Routerand Connectify. They both operate in the same maner and very easy to use. I have tested both of them to share internet connection from my PC that used Sierra Wireless USBConnect 881 modem for internet access and an external TP-Link TL-WN31G Wireless USB adapter with my Samsung Spica. Here is the guide on how to use virtual router and connectify On Windows 7 Box:

Download and install Virtual Router or Connectify, you can try one of them. They are hardware specific so read the documentation on their websites about the supported WiFi devices. Fill in the settings panel with your prefered WiFi name, password and internet connection to share

Virtual Router

Connectify

Click start button to start sharing On your Wireless Connection Status, click Details to get the network connection information, note the IPV4 Address

On Android Device

Go to Settings -> Wireless & networks -> Wi-Fi Settings Open Advance settings menu Tick the Use static IP option Enter your desired IP address (ex: 192.168.2.2) into Ip Address field Enter your IPV4 Address (ex. 192.168.2.1) into Gateway field Enter 255.255.255.0 into Netmask field Enter your internet connections DNS server (use ipconfig /all command to get DNS info) intoDNS 1 and DNS 2. As an alternative, you can use Google Public DNS: 8.8.8.8 and 8.8.4.4

Wifi Static IP Setting

Connect to Wi-Fi using your password Disable and Enable Wi-Fi (in case if it wont connect)

Android Wi-Fi

Update:

Check the connection using browser or other application.

Latest version of Connectify uses dhcp so it is unnecessary to use static ip on Android. If you have trouble while using Virtual Router or Connectify, please check if your wifi card is supported or read the documentation or disccussion on their support page. Supported devices: Virtual Router | Connectify Documentation and support: Virtual Router | Connectify Troubleshooting: If you cant connect to internet though the client already connected to the hotspot (connectify or virt.router), these are the possible solutions:

Try to disable antivirus or firewall Try to stop and start the hotspot Try to kill the hotspot process using task manager and restart the hotspot Try to disable and enable wifi on Android Check if your wifi card supported by the hotspot (check the reference sites above)

You might also like