2

I have read this question and related answers, but this doesn't seem to address my specific issue.

I have a tethered Android phone with unlimited data. I would like to use this as the Internet access provider for my wireless network. At present the Android is tethered by USB to the computer. The computer is connected by Ethernet to a Netgear router Internet connection. However, the router says that there is no Internet connection. (And no, I do not want to use the Android’s hotspot.) DD-WRT does not appear to be an option.

I believe the answer lies in changes to the router. For example, if I prevent DHCP, what static IP address, DNS address should be used, what computer MAC address, or any other ideas?

3 Answers 3

3

If you want to literally use a cell phone as the WAN for a router, you have 2 options:

  • Build a Linux PC and set it up as a router, using your Android cell phone as the Internet-facing interface. You will may need to enable "USB Internet Sharing" or similar on your phone. This is not trivial and will require intimate knowledge of Linux, it's networking features, and knowledge of networking in general, but will work nicely and enable you to manage traffic in just about any way you want to dream up.

  • Get the appropriate USB RNDIS driver for a Windows PC, enable abovementioned "USB Internet Sharing" option, connect it, then setup Internet Connection Sharing on a Windows PC. This turns this Windows PC into a router.

In both cases you will need to disable DHCP on your wireless router, and connect an Ethernet cable from either PC above to one of the LAN (not Internet or WAN) ports on your wireless router.

Most wireless routers are ARM-based or MIPS-based Linux computers. If your wireless router has a USB port, and the manufacturer happened to include the appropriate USB networking driver in the OS, or you can download the version that matches the device's kernel and compile it, you can then treat it as a "Linux PC" for the purposes above. That will definitely not be trivial.

A third option if you really want to use cellular data as a WAN connection is to purchase a device for this purpose. If you are comfortable using only wireless to connect LAN hosts, look into a "Mifi" type device from your cellular provider. An example of a device for enterprise use that has a built-in cellular modem is a "Cradlepoint."

1

First, the Android phone is already a router – in USB tethering mode it provides pretty much the same services (NAT, DHCP) as your other router, so the situation is very similar to the existing "how do I stacked routers" posts. That is, the simplest setup would be having the Netgear in bridge mode.

Second, every device along the way must be configured to forward the packets (either bridge the networks or route between them). That includes your PC too! It has two network interfaces – actual Ethernet and the phone's USB Ethernet – so you might want to start by setting up a 'bridge' between the two as well. Again, there already are plenty of tutorials online for bridging or routing between two LAN ports, and your situation is practically the same.

1

Our broadband provider had an outage. I knew that I could tether the cell phone via USB to the PC, but I didn't know how to share it to the router over ethernet. I looked at various sites and they all sounded too complex. I wanted a simple zero cost solution for a Windows PC. Here it is.

  • First, connect your cell phone by USB and tether it. Share the connection with other users.

  • Second, disconnect your WAN connection cable. Shift the existing ethernet connection of your PC to the WAN port.

  • Third, open Settings->Network and Internet->Ethernet and click on the two ethernet connections (use Control click) and then right click on the two ethernet connections and bridge them.

  • Result, fast cell phone internet shared over your router.

If you have no WAN port then it will become vastly more complicated as you'll have to leave the connection in the LAN port and start fiddling with Router settings. It can be done, and I've done it but it's not easy.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.