REPRODUCIBILITY: 100%
OS VERSION: 5.5.0
HARDWARE: Xperia 10 III
UI LANGUAGE: English (UK)
REGRESSION:
DESCRIPTION:
The “WLAN hotspot” feature
PRECONDITIONS:
WLAN hotspot does not work
It stopped working about 3 years ago on an earlier Sailfish device.
The network is EE in the UK.
The connection is established, I can browse the internet on my laptop if I connect then run ssh user@sailfish-device -D 1024
… and then restart Chrome up with SOCKS5 on port 1024
Some user’s have suggested it’s related to CLAT IPv6
STEPS TO REPRODUCE:
Use a Sailfish device in the UK with EE
Start WLAN hotspot
Observe that a Wifi connection can be establised
Observe that ping google.com doesn’t work etc
EXPECTED RESULT:
Once a connection has been started, browsing the web should be possible
ACTUAL RESULT:
There is no web connection on the Wifi without using SOCKS5
Disappointed to find that I have exactly the same problem on my Jolla Phone 2 running SfOS 5.2.0.17 . (Which means I can’t really work-around AAS GPS not working on the JP2 by using my old phone, as without internet sharing I can’t get traffic updates.)
The JP2 is connected to EE in the UK. Even ping 8.8.8.8 does not work.
Thanks for the hint that IPv6 was the problem. That script looks rather complex, and I didn’t have the time to read & understand what it was doing (and if that had any risks or downsides), so I found a much simpler solution:
I went to Settings > Mobile network > Data access point > and changed Protocol from “Dual” to “IP”.
I then restarted my phone (probably overkill but I wanted to be sure it was using the new settings when I tested if this worked).
That script is rather scary, as it disables ALL firewall rules. I’m not sure what the built-in ones protect you against, but it surely makes you less secure. And if you use my Android Firewall script, those rules are all removed as well, meaning all Android apps get access to the internet again.
It might be possible to fix the script, but I played with it, and couldn’t get it to work at all (so I can’t test if my idea about fixes would break it).
If someone has this script working, it would be helpful to know which network interfaces it reports for “CLAT” & “Hotspot”, as I suspect that’s where it’s failing with me. (It may be my mobile network provider doesn’t support CLAT.)
on 5.2.0.22 I had to spec. 172.28.172.1 as nameserver in networkmanager / > in resolv.conf
now I can access WAN with tethering from my linux machine (still not from other devices connected to it)