how to use mobile data for router's main connection

ozsa

Distinguished
Jun 1, 2008
114
0
18,690
Hey guys, I need to make my router connect to my phone's mobile data for internet, so basically to replace the wan port. Is this thing possible ? I've got a tp-link TL-WR841N. This would act as a backup for when my fiber connection is down. Will not need to use the router's wifi while connected through the phone, just lan connections. Drop your 2 cents if you know anything about this.
 
Solution
This sounds more and more complex when you try to have both connected to your PC though the same router and ethernet cable. The problem with using the lan port is ICS is running DHCP on a different ip range so you now have 2 dhcp servers. There is a hack that talks about edit registry to change the iprange not sure if that is still valid with win10. Maybe you could duplicate the ip range of the router and disable the dhcp in the router and changes it ip. Eventually your other end stations would figure out the mac address for the gateway has changed to your pc and it would work. After you could change turn off ICS and turn the stuff back on in the router.
Your largest issue is finding a router that will support the phone via USB. This is one of those driver issue things. With a PC it is pretty easy to get a driver from the manufacture of the phone for windows. On a router even you could find a way to load drivers you would need one for every different model. Drivers for routers are generally build into the device when the firmware is built.

What is even worse is it sometime is different between ISP. So you could have exactly the same model of phone there are small difference between the ISP.

So to accomplish this you need to very carefully look though the list of supported devices. This list of USB modems is much longer than the list of phones that are supported.

You can also consider loading dd-wrt or other third party firmware to your router. I am pretty sure (you need to check though) that your router will support dd-wrt firmware. dd-wrt has a much larger list of supported devices.

Now once you find a router that has your phone then it is pretty easy to setup things like automated fail over if you lose your main connection.
 

ozsa

Distinguished
Jun 1, 2008
114
0
18,690
The problem that I see is that my phone provider is not really working with these routers, at least thats what I read from local comments. Can I instead just do this ? Enable hotspot on phone, buy a wifi adapter for my PC, connect to the phone hotspot, then share that connection on the PC to the router, which forwards to a switch that has 2 pc's on lan connected to it ?
 


The using the PC with ICS will work but you have to be careful what you run on the PC or it may cause issues for the devices behind it. Not sure even machines with very large cpu and memory have issues if you try to play intensive games with ICS running.
 

ozsa

Distinguished
Jun 1, 2008
114
0
18,690
Will need very limited speed while connected to the phone, like 5kb/s at max but once I share my connection to the router, I need to set up the wan to static ip of my PC, problem with this is that I need to connect my PC to the wan port and I will have no idea when is the original fiber connection back online.. Is there any way to use static shared connection from the pc to the router but using the LAN port and not the WAN from the PC to the router ?
 
This sounds more and more complex when you try to have both connected to your PC though the same router and ethernet cable. The problem with using the lan port is ICS is running DHCP on a different ip range so you now have 2 dhcp servers. There is a hack that talks about edit registry to change the iprange not sure if that is still valid with win10. Maybe you could duplicate the ip range of the router and disable the dhcp in the router and changes it ip. Eventually your other end stations would figure out the mac address for the gateway has changed to your pc and it would work. After you could change turn off ICS and turn the stuff back on in the router.
 
Solution