<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Set DNS in UT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
is it possible to set the default dns provider in UT?<br />
It would be nice to have a setting for this.</p>
<p dir="auto">I would use OpenDNS as default.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forums.ubports.com/topic/3857/set-dns-in-ut</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 21:51:53 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/3857.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Feb 2020 13:18:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Set DNS in UT on Sun, 19 Apr 2020 20:33:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stan" aria-label="Profile: stan">@<bdi>stan</bdi></a> Yes and no, I've set correctly the DNS for Wi-Fi networks, but can't edit the settings for cellular data.<br />
For wireless you can find the commands I've used above.<br />
Maybe it could be part of the settings app in the future.</p>
]]></description><link>https://forums.ubports.com/post/31687</link><guid isPermaLink="true">https://forums.ubports.com/post/31687</guid><dc:creator><![CDATA[Capsia]]></dc:creator><pubDate>Sun, 19 Apr 2020 20:33:18 GMT</pubDate></item><item><title><![CDATA[Reply to Set DNS in UT on Sun, 19 Apr 2020 18:10:01 GMT]]></title><description><![CDATA[<p dir="auto">so any success on setting up the DNS</p>
]]></description><link>https://forums.ubports.com/post/31666</link><guid isPermaLink="true">https://forums.ubports.com/post/31666</guid><dc:creator><![CDATA[stan]]></dc:creator><pubDate>Sun, 19 Apr 2020 18:10:01 GMT</pubDate></item><item><title><![CDATA[Reply to Set DNS in UT on Fri, 06 Mar 2020 21:51:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/adeliepenguin" aria-label="Profile: adeliepenguin">@<bdi>adeliepenguin</bdi></a> said in <a href="/post/29505">Set DNS in UT</a>:</p>
<blockquote>
<p dir="auto">but all the places where configs and connections should be stored are empty on my device.</p>
</blockquote>
<p dir="auto">The configs for wifi networks are stored in:</p>
<p dir="auto">/userdata/system-data/etc/NetworkManager/system-connections</p>
<p dir="auto">I think they are here because /userdata won't be overwritten with ota update</p>
<p dir="auto">Ofono configs:</p>
<p dir="auto">/userdata/system-data/var/lib/ofono</p>
<p dir="auto">There are no configs for gsm network in the NetworkManager directory. I think, this is because gsm networks are read-only in NM</p>
<blockquote>
<p dir="auto"><a href="https://www.redhat.com/sysadmin/becoming-friends-networkmanager" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.redhat.com/sysadmin/becoming-friends-networkmanager</a></p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/adeliepenguin" aria-label="Profile: adeliepenguin">@<bdi>adeliepenguin</bdi></a> Thanks, very nice tutorial</p>
]]></description><link>https://forums.ubports.com/post/29543</link><guid isPermaLink="true">https://forums.ubports.com/post/29543</guid><dc:creator><![CDATA[Capsia]]></dc:creator><pubDate>Fri, 06 Mar 2020 21:51:28 GMT</pubDate></item><item><title><![CDATA[Reply to Set DNS in UT on Fri, 06 Mar 2020 15:11:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/giiba" aria-label="Profile: Giiba">@<bdi>Giiba</bdi></a> you're right, one should try everything before giving up. <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=56a73af4c47" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /> I re-tried with sudo and root r/w, but it made no difference. (According to its docs, nmcli should be run as a user.)</p>
<p dir="auto">I wonder how the image for OTA updates is being made. Are there any docs on this? I used to run a LTSP server with disk-less clients and also made some custom live DVDs, so I'm not afraid of the read-only root file system. But configuring either of those was fairly easy, since in the end, it was just a directory tree with a nearly vanilla Linux, plus some clever scripts (pre-written) to wrap it up. I suppose there are more stages required for UbuntuTouch, cross-compiling at the very least.<br />
What about generating one's own image of UbuntuTouch? I know it would involve a high risk of bricking my device, so I'd probably not do it, but I'm really curious here.</p>
]]></description><link>https://forums.ubports.com/post/29522</link><guid isPermaLink="true">https://forums.ubports.com/post/29522</guid><dc:creator><![CDATA[adeliepenguin]]></dc:creator><pubDate>Fri, 06 Mar 2020 15:11:21 GMT</pubDate></item><item><title><![CDATA[Reply to Set DNS in UT on Fri, 06 Mar 2020 03:10:51 GMT]]></title><description><![CDATA[<p dir="auto">Maybe a dumb question, but have you run those commands with:</p>
<pre><code>$ sudo
</code></pre>
<p dir="auto">?</p>
]]></description><link>https://forums.ubports.com/post/29506</link><guid isPermaLink="true">https://forums.ubports.com/post/29506</guid><dc:creator><![CDATA[Giiba]]></dc:creator><pubDate>Fri, 06 Mar 2020 03:10:51 GMT</pubDate></item><item><title><![CDATA[Reply to Set DNS in UT on Thu, 05 Mar 2020 23:45:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/adeliepenguin" aria-label="Profile: adeliepenguin">@<bdi>adeliepenguin</bdi></a> said in <a href="/post/29250">Set DNS in UT</a>:</p>
<blockquote>
<p dir="auto">[nmcli ...]<br />
lists the connection as read-only (mobile data / gsm). Maybe there's a nmcli command to make it writable. I didn't find one so far.</p>
</blockquote>
<p dir="auto">(The following also applies to mobile data only, not WLAN.)</p>
<p dir="auto">In case anyone is interested: The command would be</p>
<pre><code>nmcli c m  f651d7ab-521b-e3e9-f9fa-721e2b64ec45 connection.read-only no
</code></pre>
<p dir="auto">But it does not have the desired effect. The output is <em>"Error: failed to modify connection.read-only: the property can't be changed."</em></p>
<p dir="auto">From the nmcli docu:</p>
<blockquote>
<p dir="auto">Key Name: read-only<br />
Value Type: boolean<br />
Default Value: FALSE<br />
Value Description: FALSE if the connection can be modified using the provided settings service's D-Bus interface with the right privileges, or TRUE if the connection is read-only and cannot be modified.</p>
</blockquote>
<p dir="auto">I've done some reading, and I'm quite sure now the read-only property was set intentionally. I found lots of tutorials, but all the places where configs and connections should be stored are empty on my device. (I haven't used wifi so far, so that left no traces, either.) Since a phone has a built-in gsm connection, I suppose this connection has been pre-defined with a default config in UT, not expecting that anybody would want to modify it. (Just upgraded to RC66 today, no difference.)</p>
<p dir="auto">From what I learned, it's really network-manager who is in charge here. It has a plug-in to talk to ofono for modem use, and eventually delegates DNS to dnsmasq (local DNS service). Setting a custom DNS server would be done exactly with the commands <a class="plugin-mentions-user plugin-mentions-a" href="/user/capsia" aria-label="Profile: Capsia">@<bdi>Capsia</bdi></a> posted - if this was allowed.</p>
<p dir="auto">BTW, I especially liked this tutorial (albeit it did not help me in the end):<br />
<a href="https://www.redhat.com/sysadmin/becoming-friends-networkmanager" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.redhat.com/sysadmin/becoming-friends-networkmanager</a></p>
]]></description><link>https://forums.ubports.com/post/29505</link><guid isPermaLink="true">https://forums.ubports.com/post/29505</guid><dc:creator><![CDATA[adeliepenguin]]></dc:creator><pubDate>Thu, 05 Mar 2020 23:45:51 GMT</pubDate></item><item><title><![CDATA[Reply to Set DNS in UT on Sat, 29 Feb 2020 17:49:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/adeliepenguin" aria-label="Profile: adeliepenguin">@<bdi>adeliepenguin</bdi></a> said in <a href="/post/29250">Set DNS in UT</a>:</p>
<blockquote>
<p dir="auto">I gues this is not a lack of permissions, but a feature</p>
</blockquote>
<p dir="auto">This is probably because the gsm connection isn't managed by the NetworkManager.<br />
I think it is managed by ofono, but I might be wrong.</p>
]]></description><link>https://forums.ubports.com/post/29290</link><guid isPermaLink="true">https://forums.ubports.com/post/29290</guid><dc:creator><![CDATA[Capsia]]></dc:creator><pubDate>Sat, 29 Feb 2020 17:49:51 GMT</pubDate></item><item><title><![CDATA[Reply to Set DNS in UT on Fri, 28 Feb 2020 17:14:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/capsia" aria-label="Profile: Capsia">@<bdi>Capsia</bdi></a> I didn't know about nmcli so far. Thanks! Network-manager has been a mystery to me. I also would like to set my own dns. I haven't found a solution yet but wanted to mention what I found: I get the same as you (connection is read-only even with root r/w). I gues this is not a lack of permissions, but a feature. The command</p>
<pre><code>nmcli -p con show f651d7ab-521b-e3e9-f9fa-721e2b64ec45
</code></pre>
<p dir="auto">lists the connection as read-only (mobile data / gsm). Maybe there's a nmcli command to make it writable. I didn't find one so far. (I'm desperately missing man pages in UbuntuTouch; didn't manage to install them in libertine, either.)</p>
]]></description><link>https://forums.ubports.com/post/29250</link><guid isPermaLink="true">https://forums.ubports.com/post/29250</guid><dc:creator><![CDATA[adeliepenguin]]></dc:creator><pubDate>Fri, 28 Feb 2020 17:14:24 GMT</pubDate></item><item><title><![CDATA[Reply to Set DNS in UT on Fri, 28 Feb 2020 13:33:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/adeliepenguin" aria-label="Profile: adeliepenguin">@<bdi>adeliepenguin</bdi></a> said in <a href="/post/29233">Set DNS in UT</a>:</p>
<blockquote>
<p dir="auto">Just guessing: maybe the root file system has to write-enabled to save this?</p>
</blockquote>
<p dir="auto">I've tried to do it with root in rw and I've got the same results.<br />
Also tried using sudo.</p>
<p dir="auto">The commands I've used:</p>
<pre><code>nmcli c modify 628f4269-3a24-7858-e4b0-3765d485ecda ipv4.dns "208.67.222.222, 208.67.220.220"
nmcli c modify 628f4269-3a24-7858-e4b0-3765d485ecda ipv4.ignore-auto-dns yes
</code></pre>
<p dir="auto">Get network ID with:</p>
<pre><code>nmcli c
</code></pre>
]]></description><link>https://forums.ubports.com/post/29234</link><guid isPermaLink="true">https://forums.ubports.com/post/29234</guid><dc:creator><![CDATA[Capsia]]></dc:creator><pubDate>Fri, 28 Feb 2020 13:33:47 GMT</pubDate></item><item><title><![CDATA[Reply to Set DNS in UT on Fri, 28 Feb 2020 13:21:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/capsia" aria-label="Profile: Capsia">@<bdi>Capsia</bdi></a> said in <a href="/post/29184">Set DNS in UT</a>:</p>
<blockquote>
<p dir="auto">UT: changed DNS for wireless successfully but unable to change it in gsm mobile network</p>
<p dir="auto">The following error occurred when attempting to save connection settings:</p>
</blockquote>
<p dir="auto">Just guessing: maybe the root file system has to write-enabled to save this?</p>
]]></description><link>https://forums.ubports.com/post/29233</link><guid isPermaLink="true">https://forums.ubports.com/post/29233</guid><dc:creator><![CDATA[adeliepenguin]]></dc:creator><pubDate>Fri, 28 Feb 2020 13:21:14 GMT</pubDate></item><item><title><![CDATA[Reply to Set DNS in UT on Thu, 27 Feb 2020 14:19:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/flohack" aria-label="Profile: Flohack">@<bdi>Flohack</bdi></a> On Ubuntu desktop I've changed DNS with the tool nm-connection-editor in Unity or in the Gnome settings. I've tried to set DNS using nmcli both on desktop and on UT.</p>
<p dir="auto">The results:<br />
Desktop was able to set DNS for ethernet and wireless network correctly<br />
UT: changed DNS for wireless successfully but unable to change it in gsm mobile network</p>
<p dir="auto">The following error occurred when attempting to save connection settings:</p>
<pre><code>Failed to save '/222071071843368/context1' (628f4269-3a24-7858-e4b0-3765d485ecda) connection: Connection is read-only
</code></pre>
]]></description><link>https://forums.ubports.com/post/29184</link><guid isPermaLink="true">https://forums.ubports.com/post/29184</guid><dc:creator><![CDATA[Capsia]]></dc:creator><pubDate>Thu, 27 Feb 2020 14:19:55 GMT</pubDate></item><item><title><![CDATA[Reply to Set DNS in UT on Mon, 24 Feb 2020 17:55:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/flohack" aria-label="Profile: Flohack">@<bdi>Flohack</bdi></a> yes please how <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=56a73af4c47" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /> ?</p>
]]></description><link>https://forums.ubports.com/post/29049</link><guid isPermaLink="true">https://forums.ubports.com/post/29049</guid><dc:creator><![CDATA[stan]]></dc:creator><pubDate>Mon, 24 Feb 2020 17:55:21 GMT</pubDate></item><item><title><![CDATA[Reply to Set DNS in UT on Mon, 24 Feb 2020 17:51:29 GMT]]></title><description><![CDATA[<p dir="auto">Ubuntu Touch does the same as Ubuntu - it uses all the magic from NetworkManager to listen for dhcp and configure the DNS according to the responses. So the question is a more general one - how you would do it on Ubuntu Desktop?</p>
]]></description><link>https://forums.ubports.com/post/29048</link><guid isPermaLink="true">https://forums.ubports.com/post/29048</guid><dc:creator><![CDATA[flohack]]></dc:creator><pubDate>Mon, 24 Feb 2020 17:51:29 GMT</pubDate></item><item><title><![CDATA[Reply to Set DNS in UT on Mon, 24 Feb 2020 17:16:05 GMT]]></title><description><![CDATA[<p dir="auto">I've changed this thread to Watching - I too would like a way.</p>
<p dir="auto">BTW - I'd opt for:<br />
<em><strong>CloudFlare:</strong></em></p>
<pre><code>1.1.1.1, 1.0.0.1
2606:4700:4700::1111 
2606:4700:4700::1001
</code></pre>
]]></description><link>https://forums.ubports.com/post/29047</link><guid isPermaLink="true">https://forums.ubports.com/post/29047</guid><dc:creator><![CDATA[Opolork]]></dc:creator><pubDate>Mon, 24 Feb 2020 17:16:05 GMT</pubDate></item><item><title><![CDATA[Reply to Set DNS in UT on Mon, 24 Feb 2020 13:40:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/capsia" aria-label="Profile: Capsia">@<bdi>Capsia</bdi></a> that sound very useful i'm now watching this thread thank you very much</p>
]]></description><link>https://forums.ubports.com/post/29031</link><guid isPermaLink="true">https://forums.ubports.com/post/29031</guid><dc:creator><![CDATA[stan]]></dc:creator><pubDate>Mon, 24 Feb 2020 13:40:35 GMT</pubDate></item><item><title><![CDATA[Reply to Set DNS in UT on Mon, 24 Feb 2020 13:36:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stan" aria-label="Profile: stan">@<bdi>stan</bdi></a> the DNS resolves website names (like <a href="http://example.com" target="_blank" rel="noopener noreferrer nofollow ugc">example.com</a>) to IP addresses (like 1.1.1.1). Using a custom set dns is usually better than the one provided by ISP, because it is probably faster. Some DNS providers also offer some privacy protections, traffic encryption, phishing protections, website blacklisting, parental control, stats, ...</p>
]]></description><link>https://forums.ubports.com/post/29030</link><guid isPermaLink="true">https://forums.ubports.com/post/29030</guid><dc:creator><![CDATA[Capsia]]></dc:creator><pubDate>Mon, 24 Feb 2020 13:36:48 GMT</pubDate></item><item><title><![CDATA[Reply to Set DNS in UT on Mon, 24 Feb 2020 13:23:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/capsia" aria-label="Profile: Capsia">@<bdi>Capsia</bdi></a> may i ask you please about the benefit of that  ?<br />
my learning curve is still not high enough</p>
]]></description><link>https://forums.ubports.com/post/29029</link><guid isPermaLink="true">https://forums.ubports.com/post/29029</guid><dc:creator><![CDATA[stan]]></dc:creator><pubDate>Mon, 24 Feb 2020 13:23:12 GMT</pubDate></item></channel></rss>