Hi,
I am struggling with wifi hotspot versus my ISP ipv6…
It turns out that I cannot have an IPv4 form my ISP. I tried multiple combinations, I only have an IPv6 address for wwan0 (2a04:cec0:xxxxxxx/64, reachable from outside).
I cannot setup the APN to IPv4. If I try to deactivate IPv6, mmcli will return an explicit error:
--------------------------------------
Status | connected: no
| connection error name: org.freedesktop.ModemManager1.Error.MobileEquipment.Ipv6OnlyAllowed
| connection error message: IPv6 only allowed
| suspended: no
| multiplexed: no
| ip timeout: 20
--------------------------------------
It seems LTE is ipv6 or nothing with this ISP.
In this configuration, if I try to activate the wifi hotspot, librem5 will set wifi to 10.42.0.1, and run a dhcp service that will affect 10.42.0.31 to my computer, with a default route to 10.42.0.1.
My computer also have an IPV6 on this interface, but a local one (fe80::xxx).
And of course this won’t work at all, because my computer to believe IPV4 is up and running.
What is the recommended setup in such a situation ?
Maybe there is something obvious to do on my computer side, but IPv6 is quite new for me.
=> You just need to install clatd on your librem5
Absolutely 0 configuration… Once up and started, you have to wait a few seconds after LTE is up (in IPV6), then you can test with ping 8.8.8.8 for example. (the wait time the 10s delay in the perl script of clatd, waiting for IPv4)
And wifi hotspot is working. (I am writing this on my computer connected to internet via my librem5 with the wifi hotspot).
Out of curiosity, is IPv6 working on the computer? If not, this is only a partial workaround, and would cause problems in some situations now and/or eventually.
Starting point was “nothing is working when connected to the hotspot”.
Now, everything works except IPv6.
I need to dive int @dcz links + understand a few thing about IPv6 to fully solve the problem and get IPV6 working on my computer too.
Follow up:
I recently changed ISP… Now I got an IPv4 in less than a second after waking up, everything is working much better, and I do not need clatd anymore. So, if you live in France, quit Bouygues telecom and suscribe to RED.