Change Data default DNS?
Please provide instruction how to force SFOS X to use custom IP DNS service providers of the users choice. Already works in the UI for WIFI but not Mobile Data SIM?
We have moved to a new Sailfish OS Forum. Please start new discussions there.
Please provide instruction how to force SFOS X to use custom IP DNS service providers of the users choice. Already works in the UI for WIFI but not Mobile Data SIM?
One way - Connmanctl. Explained here - https://together.jolla.com/question/17806/add-the-ability-to-change-dns-settings-for-3g/ - with a prebuilt connmanctl file linked in comments. Tested and working well...
Another way - 1. Delete Symlink /etc/resolv.conf 2. Copy resolv.conf from /var/run/connman/ and paste in /etc/ folder, modifying nameservers as you like.
This thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2018-04-16 23:05:09 +0200
Seen: 608 times
Last updated: Apr 17 '18
My internet setting says it's "disabled" yet I have 3G coverage
2G / 3G / 4G: allow/deny switches
4G selection logic when mobile data disabled
bug: no mobile data after disabling wlan [released]
Replace default link behaviour (URL/twitter/facebook)
Fingerterm terminal defaults to / as current working directory [duplicate]
What is the default device lock code? [answered]
/etc/resolv.conf
coderus ( 2018-04-16 23:48:39 +0200 )edit@coderus thank you filetug was able to open edit the file in txt. I added a DNS, restarted network connections and DNS is still routed through Phone SIM provider, ill restart the phone and try again.
DarkTuring ( 2018-04-17 02:00:21 +0200 )editI also have used this method on Xperia x compact, but found that resolv.conf was symlink, so deleted symlink, and made actual file, with preferred nameservers, and worked.
Levone1 ( 2018-04-17 15:38:31 +0200 )edit@Levone1 please mark your as a solution. it worked!
Quick question, whats the syntax for defining multiple DNS servers primary and secondsry?
DarkTuring ( 2018-04-17 19:37:51 +0200 )editadded to 1st answer...
Levone1 ( 2018-04-17 19:59:10 +0200 )edit