logo logo

How to Share Internet Connection Between PC and Android Phone Using WiFi

Home » Information Technology » Programming » Android » How to Share Internet Connection 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 called tiwlan.ini. But this method is specific to phone’s 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 using Windows 7’s Wireless Hosted Network technology. This method only runs on Windows 7 and hardware specific. Currently i found two best virtual access point softwares, Virtual Router and 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

    Virtual Router

    Connectify

    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 connection’s DNS server (use ipconfig /all command to get DNS info) into DNS 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

    Wifi Static IP Setting

  • Connect to Wi-Fi using your password
  • Disable and Enable Wi-Fi (in case if it won’t connect)
  • Android Wi-Fi

    Android Wi-Fi

  • Check the connection using browser or other application.

Update:

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 RouterConnectify

Documentation and support: Virtual Router | Connectify

Troubleshooting:

If you can’t 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)
Share
Related post:
bottom

363 Responses to “How to Share Internet Connection Between PC and Android Phone Using WiFi”

  1. kuang says:

    Thanks. It’s work correctly with Virtual Router.

  2. sai krishna says:

    you can even use, mHotspot(it doesnot require installation). its is very lite (400kb).

  3. Robert Leung says:

    Good, It’s work. Thanks a lot !

  4. JeoBurak says:

    Thanks :) working normally

  5. woodhzcm says:

    Notre site vend Vetement hollister avec la livraison gratuite économiser jusqu’à 70 pour you.buy hollister France avec une qualité supérieure, une boutique hollister avec la livraison gratuite vite!#13;?qu’un poète ait jamais vu la vie avec un regard si des liens de vente london désireux que le v?tre [url=http://pullhollister.webnode.fr]hollister vente[/url], si stable, http://www.linksoflondonsales.orglinks-de-londres-charme-collier-p-397.htmland si saine? Votre pathos n’a jamais été pas cher [b]hollister france[/b], ton rire jamais forcé votre soupir n’a jamais été l’affaire chaire liens london bracelet du prédicateur. Vos gens dr?les et Costigans 8211your et des personnages Fokers 8211were pas seulement de ruse et fourre-mot, ne sont pas vides masques comiques. Derrière chaque c?ur humain battait et toujours et encore une fois nous avons été autorisés à voir les liens de bracelets d’amitié londres caractéristiques de l’homme. Ainsi la fiction dans vos mains n’était pas simplement un métier comme un autre [url=http://pullhollister.webnode.fr]pull hollister[/url], 3 LETTRES AUX AUTEURS mort, mais une réflexion constante sur toute la surface de la vie d’un écho répété de ses rires et sa plainte. D’autres ont écrit [b]Hollister Femme[/b] [b]hollister abercrombie[/b], et pas écrit mal [url=http://hollister50.webnode.fr]hollister[/url], avec les liens impassibles régularité professionnels de magasin londres le greffier à son bureau vous, comme l’Scholar Gipsy [url=http://www.hollister-frances1.fr]hollister france[/url], e?t dit que besoins 8220it envoyé du ciel moments de cette maillons de compétences amitié londres. 8221 Il ya, il ne vous surprendra pas [b]pull hollister[/b] [b]hollister soldes[/b], certaines femmes honorables et une Links of London regarde quelques hommes qui vous appellent un cynique qui parlent de et monde desséché 8220the de Thackerayan satire et 8221 qui pense que vos yeux sont toujours tournés vers les aspects sordides de la vie et 8211to du-mère beau-frère qui menace de 8220take et emporté son argent grenier et 8221 à l’intrigant [url=http://pullhollister.webnode.fr]hollister abercrombie[/url], liens de londres regarde le go?t [b]Vetement hollister[/b], la harpie les Beckys et Newcomes Barnes [b]hollister[/b], et des liens de Mackenzies london Mme anneau de ce monde. La querelle de ces sentimentaux est vraiment dans la vie [url=http://hollister50.webnode.fr]Vetement hollister[/url] [url=http://hollister50.webnode.fr]Hollister Femme[/url], pas avec vous [url=http://www.hollister-frances1.fr]hollister soldes[/url] [url=http://www.hollister-frances1.fr]pull hollister[/url], ils pourr FFSDKA122F

    [url=http://www.wanyiad.cn/bbs/thread-69352-1-1.html]True religion jeans Outlet Sale

    clothingblogch by tnzun[/url]

    [url=http://gabe-shreckengost.com/forums/topic.php?id=561467#post-604461]Silver or Platinum with Diamonds in todays vivienne westwood[/url]

    oslec by ebdtm[/url]

  6. Rohan says:

    hey, i have internet on my pc, and i want to use that on my android phone (4.0.4 ICS). i dont have wifi in my pc, so i m going to buy USB WIFI LAN.
    my question is, it is possible to share my PC INTERNET on PHONE, with this USB WIFI LAN,
    or this usb wifi adapters are only for receiving signals, not sharing pc net..
    please clarify me i m just confused,,, and i dont want to waste money on wifi routers. i just want cheapest wifi solution to use PC Broadband internet on phone.,
    help me, waiting for reply !

  7. TURK says:

    am using samsung galaxy pocket and i used connectify but ma phone can’t even detect the hotspot i created with connectify.

  8. Bid-Ninja…

    [...]the time to read or visit the content or sites we have linked to below the[...]…

  9. tero bau says:

    Virtual router works well for like 5-10 minutes in my android device and then I need to stop and restart the hotspot, do you know what is causing this problem? Its annoying as hell.

Leave a Reply

 
bottom