1. set up usb tethering so that you can ping your phone from the laptop
2. on laptop, assuming your laptop is connected to internet through eth0:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
3. check what IP the laptop has on the USB network interface, and set that as default route on the phone.
If it doesn't have a menu for it, but you have a root shell:
ip route replace default $laptop_address
@alexcleac hm yikes tbh that sounds like it's shot networking wise. the only other option I can think of is some sort of USB OTG network driver
@jalcine basically this is the thing I was looking for, but didn't have much time to investigate idea more deeply. At least 3G works 😁
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!