Jeremy W. Langston

Personal Website

PDAnet and Internet Connection Sharing without DHCP – Step by Step

I recently wanted to share my Android phone’s internet connection to two Windows computers.  After some doing, here is the solution (naming might differ on different versions of Windows, I’m using XP):

  1. Download and install PDAnet for your Android phone and on one of the Windows computers, referred to as Computer1.
  2. Once installed, follow the directions for connecting Computer1 to the internet.  PDAnet includes these instructions, but basically you turn on the PDAnet app on the phone and click “Turn on PDAnet” or something like that.  (You also need to have USB debugging enabled, see instructions.)  You need to install the software on Computer1 before you connect to your phone via USB.  If your phone prompts you with four choices, such as Charge, USB Mass Storage, etc., select Charge.
  3. Now in the system tray on Computer1, right-click the PDAnet icon and select “Connect”.  After this, Computer1 should have internet access.
  4. Next connect Computer1 and Computer2 with an ethernet cable.  Older network adapters require a cross-over cable.
  5. On Computer1, go to the properties of the ethernet connection (e.g. “Local Area Connection” -> r-click -> “Properties”).  Double-click “Internet Protocol (TCP/IP)”.  Set the IP address to “192.168.0.1” and subnet mask to “255.255.255.0” and click “Ok” out of all of that.
  6. On Computer1, go to the properties of the PdaNet Modem.  Click the “Advanced” tab.  I disabled my firewall to make things easy.  Click the box “Allow other network users to connect through this computer’s Internet connection”.  In the drop-down box, select the ethernet connection you configured in Step 5.  Unselect the other two boxes.  Click “Ok”.
  7. Still on Computer1, click “Start”->”Run” (or hold the Windows keyboard button and press “R” at the same time).  In the box, type “cmd” and press “Ok”.  In the black command window type “ipconfig /all”.  Look for the PdaNet connection “PPP adapter for PdaNet Modem”.  Under that should be “DNS Servers . . . . “.  Write down that number, as it will be used on Computer2.
  8. On Computer2, set up the ethernet connection using the same procedure as in Step 5, except use the IP address “192.168.0.2” and for the Default Gateway put “192.168.0.1”.  While you are there, click “Use the following DNS server addresses” and put the number you wrote down in Step 7 under “Preferred DNS server”.
  9. You should have internet access on both computers now!

If you are having problems, try this:  back on Computer1, type “ping 192.168.0.2”.  If it says “Reply from 192.168.0.2…” then you are most of the way there.  Otherwise go back and check the steps.  Type “ping 74.125.229.16” to see if you can access Google without DNS name resolution.  If it doesn’t reply, then PDAnet isn’t connected or a step was skipped.  Finally type “ping www.google.com” to see if the DNS configuration is correct.  If it doesn’t reply, then look at the settings seen in Steps 7 and 8.

7 Comments

  1. A useful and positive topic.

  2. The account will only get accessed once you provide permission for it; otherwise not.

  3. Great post! I am actually getting ready to across this information, is very helpful my friend. Also great blog here with all of the valuable information you have. Keep up the good work you are doing here.
    You’re a very skilled blogger. I have joined your feed and look forward to seeking more of your fantastic post. Also, I have shared your web site in my social networks!
    It was a great informative post.Go so many useful and informative links.Loved your writings also. Concept of the topic was well discussed. Love to come here again.
    Thanks!

  4. Your comment does prove that logic most definitely rules. I love your last paragraph. It says so much about why being an Atheist makes so much more sense. If you do pray to your god, you will starve. But, if you plant a garden, it’s pretty likely you will not die from starvation, as long as everything goes accordingly, like lots of sunshine & plenty of water. Most Christians would say that without their false god, we would not have these things to make our garden grow. You know what I say to that ? HOGWASH!!!

  5. I would like to thank you for the efforts you have made in writing this article god bless You. You have a bright future ahead.
    We are providing help and support for Microsoft office Setup and activation.

  6. Tremendous things here. I’m very satisfied
    to look your post. Thanks so much and I am looking forward to contact you.
    Will you kindly drop me a e-mail?

  7. Whatsapp web download for pc Messenger initially started as an SMS alternative

Leave a Reply

Your email address will not be published.

© 2018 Jeremy W. Langston

Theme by Anders NorenUp ↑