When I share my phone’s internet connection to my Linux laptop I don’t have ipv6 at all.
Apparently this has been a much-discussed topic, see:
https://together.jolla.com/question/95708/ipv6-connection-sharing/
https://forum.sailfishos.org/t/usb-tethering-on-xperia-10-iii/
https://forum.sailfishos.org/t/hotspot-not-working-10-iii
I currently don’t have another connection to test, but it’s pretty clear:
- I can
ping -6 ::1
but anything else gives “Network unreachable” - This is true if I choose “IP” or “Dual” in
Mobile Network => Data access point => Protocol - If I choose “IPv6” I get no functional internet at all on the laptop
On the phone everything works as expected.
On the phone:
$> ip route
default via 10.163.241.194 dev rmnet_data0
10.163.241.192/30 dev rmnet_data0 proto kernel scope link src 10.163.241.193
10.163.241.194 dev rmnet_data0 scope link
62.241.198.245 via 10.163.241.194 dev rmnet_data0
62.241.198.246 via 10.163.241.194 dev rmnet_data0
172.28.172.0/24 dev tether proto kernel scope link src 172.28.172.1
$> ip -6 route
2001:14bb:c7:bcac::/64 dev rmnet_data0 proto kernel metric 256 pref medium
fe80::/64 dev rmnet_data0 proto kernel metric 256 pref medium
fe80::/64 dev tether proto kernel metric 256 pref medium
fe80::/64 dev rndis0 proto kernel metric 256 pref medium
default via fe80::9d59:3a8f:d053:b206 dev rmnet_data0 proto ra metric 1024 expires 64739sec hoplimit 255 pref medium
On the laptop:
$> ip route
default via 172.28.172.1 dev enp0s20u2 proto dhcp src 172.28.172.2 metric 100
172.28.172.0/24 dev enp0s20u2 proto kernel scope link src 172.28.172.2 metric 100
$> ip -6 route
fe80::/64 dev enp0s20u2 proto kernel metric 1024 pref medium
Is this still the status quo or can I do something to make the shared connection Dual as well?
FWIW, I had a good look in /etc/connman and /home/.system/var/lib/connman but found nothing that would explicitely disable IPv6, and this shows nothing that would explicitely enable a Dual connection.
BTW all this applies for a wifi hotspot just as much as for USB sharing.