home |  electronics |  toolbox |  science club |  tuxtalk |  photos |  e-cards |  online-shop



May 2023

How to use a phone as an uplink to your existing wifi router

We just came out of a 5 day power outage following an ice-storm with so much freezing rain that many tree branches collapsed.
Internet was not affect until about 20 hours into the problem. Bell Canada made no efforts to bring generators in order to keep phone lines and dsl connections running. The curb side DSLAM equipment has a battery buffer but the equipment goes dark once those batteries run out. I decided to use a cell phone as an up-link to my existing home wifi router. Here is how to do it.

2023-04-08_1645-562-ice-storm-bell-dsl_th.jpg
Bell Canada, curb site phone and internet DSLAM, battery powered/buffered, those red blocks are batteries

The cell phone network was heavily congested but it worked well off hours (early morning, lunch time and late evening). It seems cell towers had generators. In other words it was possible to get a usable data connection via the cell phone network.

Instead of re-configuring every device in the house I wanted to bring everything back up and use a mobile phone as an up-link to my existing router. The problem is: phones don't have Ethernet plugs. It used to be possible to buy wifi Ap-client boxes (also known as gaming console AP-clients) that have a wifi antenna and out comes an ethernet cable. These were popular more than a decade ago when gaming consoles had ethernet jacks but no wifi cards. Those AP-clients have unfortunately disappeared from the market however the free wifi router software OpenWRT (https://openwrt.org/) still supports this feature.

Steps:



The good thing about this solution is that you can have it pre-configured and ready to go. If there is an internet outage then your just power on the openwrt AP-client and you move the WAN cable on your router to the AP-client.

This setup allows you also to position your cell phone such that it has the best cell network signal. You can place the cell phone somewhere outside the house and still use all the computers and devices in the house.

diagram.png
Network diagram, Cell Phone data connection as up-link to your existing wifi router

Screenshot_2023-04-08_at_12-18-47_OpenWrt_-_Wifi_-_LuCI.png
OpenWrt configured as AP-Client


It's a great backup internet connection and it does not require any re-configuration on your existing devices. The setup is using double NAT-ing (in the wifi router and in the cell phone) but that is fine for all normal applications.

References


Back to: "No preservatives added"



© 2004-2024 Guido Socher