sharing mobile data through usb tethering - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139) +---- Thread: sharing mobile data through usb tethering (/showthread.php?tid=16035) |
sharing mobile data through usb tethering - deb75 - 02-09-2022 Hello, I am able to connect to the pinephone through USB from my laptop, but then I have no internet connexion from my laptop. The mobile data on the pinephone is enabled. Within a ssh session I can ping google as an example. What am i missing ? Also, I noticed that my FAI is only giving me an ipv6 address : Code: wwan0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500 RE: sharing mobile data through usb tethering - bcnaz - 02-09-2022 Some carriers control/or block tethering RE: sharing mobile data through usb tethering - vusra - 02-10-2022 A script to try Code: #!/bin/bash Might need little changes. Easy to turn into touch friendly yad gui. Easy script to gui examples https://puri.sm/posts/easy-librem-5-app-development-take-a-screenshot/ && https://puri.sm/posts/easy-librem-5-app-development-scale-the-screen/ Please improve and share. RE: sharing mobile data through usb tethering - deb75 - 02-10-2022 Thanks for yous answeer. I will try the script you provided, but I doubt it will work because the forward iptable rules operates on the ipv4 stack whereas my wwan interface has only a ipv6 address. I do not think they can communicate, as far as I understand. RE: sharing mobile data through usb tethering - vusra - 02-25-2022 (02-10-2022, 09:39 AM)deb75 Wrote: Thanks for yous answeer. Did the script work? ipv6 wwan address should not be of concern. RE: sharing mobile data through usb tethering - deb75 - 02-25-2022 (02-25-2022, 12:57 AM)vusra Wrote:(02-10-2022, 09:39 AM)deb75 Wrote: Thanks for yous answeer. Hi, Yes it worked. I endded up by performing an ipv6 nat : Code: #!/bin/sh Also, I set up radvd : (/etc/radvd.conf) Code: interface usb0 { The prefix above is the ULA (Unique Local Address) ipv6 of the usb0 interface. There should be a better way as one of the ipv6 goal is to eliminate the need of network address translation (nat). RE: sharing mobile data through usb tethering - vusra - 02-26-2022 ipv6 is a privacy calamity. Avoid it while you can. Create a .conf file in /etc/NetworkManager/conf.d/ comprising of Code: [connection] to pseudo randomize your ipv6 mac. Our community should create a list of mobian configuration changes to improve privacy. RE: sharing mobile data through usb tethering - Zebulon Walton - 02-26-2022 I haven't done it on the Pinephone yet, but on all my other Linux systems I've disabled IPv6 in the kernel. In /etc/default/grub you should find a line similar to the following though it may have other options: Code: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" Add ipv6.disable=1 to that line: Code: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ipv6.disable=1" Run sudo update-grub, reboot, and no more IPv6. I have not found a need for IPv6 to be active on my router or any of my desktop or laptop computers but don't know if it would affect cellular data on the phone. (I don't use cellular data so that doesn't affect me.) |