The first time I used USB tethering on a generic Android many years ago I was very pleasantly surprised how simple and straightforward it was. IMHO making it effectively become a generic USB Ethernet adapter (RNDIS) was a great idea as drivers for that are widely available.
...but of course the "security" BS has been used as an excuse to try to put an end to that recently.
I've done this many times. So many that I set up the hypervisor (fanless CompuLab PC) to bridge the WAN Ethernet, and all of the possible USB modems (multiple smart phones, and hotspots) on one interface which the OpenWRT VM uses as WAN. With it set up like this, I can simply plug in the correct device and then reboot. No configuration changes required. Over the years I did need to do some minor tweaks to get IPv6 working properly in all configurations, but it's been solid.
Note that doing it this way doesn't require most of the steps in the parent article document. The hypervisor recognizes the network hardware, assigns it to the bridge, and KVM/virt-manager assigns the bridge to the OpenWrt VM as a virtio network device. OpenWRT sees a plain vanilla virtio Ethernet device so it doesn't need any special drivers or configuration.
Heads up to anyone looking at Gl-inet's stuff: their Mediatek routers are good due to solid mainline kernel support. The Qualcomm stuff isn't nearly as good.
I have the mango router, it's a little older but very capable and it's got me out of a tight spot a number of times. Like when we've moved house but don't have an internet connection installed yet, just plug in a phone or 4G dongle and away you go.
I have a cheapo Android phone I had laying around, used developer mode to make it always select tether instead of mass storage and I've got a (prepaid) data SIM in there.
When we travel the Beryl AX is our own hotspot, all devices can connect to its network. Then I just pick the best way to get the Beryl to the internet. Sometimes it's wired, sometimes it's connected to a WiFi, sometimes I need to plug in the phone and we use that.
And the best thing is that it can do failover, so I can have the hotel WiFi as the primary connection, but it'll fall back to the 4G phone connection if something goes wrong.
I used mine with the same SSID as my home network!
So when I travel I can either tether a phone and all the family devices just connect, or bridge it to the destination network and again let all the devices connect as if at home!
So could you explain the process by which you ‘tether a phone’? Is that don’t by plugging the phone in via usb? Is it paired via Bluetooth? Do you wifi the phone to it and spread the internet like that? I think some of us are quite curious about the specifics on that point :)
Sounds great!
P.s. I love (and am horrified) at how easy it is to ‘hijack’ a devices wifi just by making a network with the same name (and no password). I’ve done it myself over the years to make it easier for family or friends while travelling. But I always felt a bit ick about it working.
I do something like this, but I use a different method.
I simply use mwan3 with a separate USB-WiFi adapter exclusively for this use. That way, my main WiFi radios are not negatively affected when I activate the hotspot.
I already have my phone configured as a hotspot for when I travel, and I was already using mwan3 on my router already, so setting it up this way was easy and just made sense.
mwan3 is configured to use the regular wired connection whenever possible, but if it goes down, then it switches over to the hotspot radio. Both conditions must be met: Hotspot is on, and main internet is down. If my internet is down, all I have to do is press a button of two on my phone to turn on the hotspot and everything else happens automatically.
Another advantage of having a separate and different WAN interface is that I have ACLs on this interface which prohibit certain high-intensity types of traffic that I don't want transiting the hotspot.
I just have to remember to put a fan on the phone when I do this. It gets hot.
> has better performance (lower latency) than turning your smartphone into an access point and using that
Generally I've had good performance running an access point on my phone, this is the first time I've heard otherwise. I'd be interested in benchmarks if anyone knows of some?
A simpler setup (if it's supported, I have a USB-C one but haven't tried) would be to use an USB-to-go Ethernet adapter and share the phone's internet connection via a router's WAN port. Then any regular hardware router or OpenWrt could be used in a normal way.
Have you tried modifying the TTL on the router? I can't give you all the information but it's a place to look. I believe dropping it by one is what's needed. I've used a Belkin router flashed with padavan firmware and it has an option to adjust TTL, just a checkbox, but it seems to enable unthrottled unlimited tethering as far as I can tell.
I believe you should add one, not subtract. E. g. if TTL on the phone is set to 64, you'll want router to send packets with TTL 65, so that one extra hop (from router to phone) brings it down to 64 and the carrier can't tell the difference.
In my case, I already had a USB-C hub/ports/adapter with Ethernet for my laptop as well as many routers around the house. You can also check phone specs for USB OTG (On-the-go, operating in host rather than device mode).
A lot of 4G modems connected via pcie still are USB interfaces internally. So the usb 2.0 limits on these are still there (though that is not much of a problem in general as 4G speeds are low). With 5G if you connect to a usb3 port for tethering I wonder if the speeds are above the usb2 limits or if this driver is still limited to usb2. Because with 5G modems, most of the devices that use it as a backup likely use pcie speeds. Would be a waste to use usb2 speeds
...but of course the "security" BS has been used as an excuse to try to put an end to that recently.