How to use a 4G phone to provide WAN/Internet service to a LAN? I intend to use this as backup when my cable modem Internet goes down. (It goes down frequently and it is down now.)
My phone has a fast 4G connection, I pay for tethering with my provider and I have about 30 GB of data per month available.
There are several possible different ways to solve this and many people have asked similar questions. I have not found a solution from those other questions so I am asking a new and unique question.
Here is what my network looks like normally:
CableModem <-- Router <-- 48 port GigE switch <-- LAN: many wired devices (printers and Ubuntu computers) plus several wireless clients that connect to the router.
Here is what I want it to look like when Comcast goes down:
Phone's 4G Internet <-- Router <-- 48 port GigE switch <-- LAN: many wired devices (printers and Ubuntu computers) plus several wireless clients that connect to the router.
I will start by outlining the possible approaches:
Connect my phone to my router via USB cable. My router has USB ports. Enable USB tethering on the phone.
Enable Mobile Hotspot mode on my phone. Connect router to phone (e.g. as WDS wireless bridging or whatever mode is appropriate). Router obtains Internet access through phone.
Connect my phone to a Kubuntu laptop via USB cable. Enable USB tethering on the phone. Share this Internet connection to my router by connecting a cable from eth0 on laptop to WAN / Internet port on the router.
I prefer choice 1, but that functionality appears to be limited to specific routers. Can anyone tell me which routers support this? Another option is to use dd-wrt. Unfortunately, my present router is a Netgear R8000 and I don't think there is a stable version of dd-wrt for it (that supports openvpn, ssh tunneling, etc). I already spent time research dd-wrt. So I'm moving on to a Kubuntu-focused solution.
I understand that choice 2 will cut my bandwidth in half, so I will use that option only if I can't get the others to work.
The reason I'm here is to focus on option 3. (However, I am open to suggestions regarding getting any of these approaches to work.)
I have laptops with both Kubuntu 12.04 and 14.04. Let's assume I keep using 12.04 for this, which is what I've been working with so far. Here is what I have done already:
I created a new network connection called tethered_usb0. I restricted it to interface usb0. I enable DHCP client mode.
I connected a usb cable between my phone and my laptop. I enabled usb tethering on my phone. I now have working Internet access through this connection on my laptop. Here are the details:
Type: Wired Ethernet Connection State: Connected IP Address: 192.168.42.3 Connection Speed: Unknown System Name: usb0 MAC Address: <redacted> Driver: cdc_ether
(BTW, I edited the standard network connection called auto_eth0 and restricted it to interface eth0.)
I created a new network connection called shared_connection. I restricted it to interface eth0.
I connected a cat5e cable between eth0 on the laptop and the WAN/Internet port on the router. I connected to this connection using KDE's network manager. It said "connected".
I went into the router GUI and set its WAN/Internet port to a static IP address of 192.168.42.4 and a gateway of 255.255.255.0.
Unfortunately, my router is not getting Internet access. I rebooted the router several times and I tried variations on my settings. No luck.