<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=7347&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7347</link>
		<description><![CDATA[The most recent posts in [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored.]]></description>
		<lastBuildDate>Thu, 14 Aug 2025 16:14:17 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=57219#p57219</link>
			<description><![CDATA[<p>@steve_v<br />thank you very much, steve_v... you are that bright spark to bring light into this mystery.<br />It&#039;s entirely my fault that I recorded the IP address wrongly - I didn&#039;t know that.</p><p>I&#039;ve corrected the hosts entry and everything works fine as it should.<br />I don&#039;t know which devil has bitten me to add a leading 0 in an octet.</p><p>BTW: I never spat upon NetworkManager. I only tried to understand the problem. Thank you.</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Thu, 14 Aug 2025 16:14:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=57219#p57219</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=57218#p57218</link>
			<description><![CDATA[<p>Well for one, </p><div class="codebox"><pre><code>172.22.22.05	colossus.home colossus</code></pre></div><p>&quot;172.22.22.<strong>05</strong>&quot; isn&#039;t a correctly formatted IP address...<br />And for two, </p><div class="codebox"><pre><code>getent hosts</code></pre></div><p> would have made it fairly obvious whether or not your /etc/hosts file was the problem, since it returns only valid entries.</p><div class="codebox"><pre><code>$ printf &#039;%s\n&#039; &quot;* File:&quot;; cat /etc/hosts; printf &#039;%s\n&#039; &quot;* Reality:&quot;; getent hosts
* File:
127.0.0.1 localhost damnation.lan damnation

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.22.22.05    colossus.home colossus

* Reality:
127.0.0.1       localhost damnation.lan damnation
127.0.0.1       ip6-localhost ip6-loopback</code></pre></div><div class="codebox"><pre><code>$ printf &#039;%s\n&#039; &quot;* File:&quot;; cat /etc/hosts; printf &#039;%s\n&#039; &quot;* Reality:&quot;; getent hosts
* File:
127.0.0.1 localhost damnation.lan damnation

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.22.22.5     colossus.home colossus

* Reality:
127.0.0.1       localhost damnation.lan damnation
127.0.0.1       ip6-localhost ip6-loopback
172.22.22.5     colossus.home colossus</code></pre></div><p>As I said, networkmangler is a red herring and it was only brought up because everyone here loves to hate on it. <br />I mean I kinda hate it too, but going straight to &quot;Damn new software, the old ways were better, life was simpler, bloody clouds etc. etc.&quot; before even trying to investigate the problem is plain ridiculous.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Thu, 14 Aug 2025 13:16:53 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=57218#p57218</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=57207#p57207</link>
			<description><![CDATA[<p>Thank you for your hints.<br />I will pause it here. Once a bright idea comes up, I will try again and let you know.<br />BTW: the /etc/resolv.conf is not the problem. Name-resolution is working except for the /etc/hosts lookup.<br />(only local fixed addresses are in there.)</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Wed, 13 Aug 2025 18:13:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=57207#p57207</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=57205#p57205</link>
			<description><![CDATA[<p>Andre4freedom, can you describe what did\didn&#039;t happen ...</p>]]></description>
			<author><![CDATA[dummy@example.com (g4sra)]]></author>
			<pubDate>Wed, 13 Aug 2025 16:59:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=57205#p57205</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=57203#p57203</link>
			<description><![CDATA[<p>I have seen something in a German portal that you can configure NM to leave the resolv.conf alone.</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Wed, 13 Aug 2025 16:37:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=57203#p57203</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=57200#p57200</link>
			<description><![CDATA[<p>surprise surprise....<br />Artix (OpenRC, Cinnamon) shows the same problem</p><p>Artix (OpenRC, XFCE) does not.</p><p>Artix with Cinnamon uses NetworkManager<br />Artrix with XFCE uses Connman.</p><p>Older versions (older Cinnamon and older nm) worked correctly.</p><p>Linux Mint did work, but I have not tested the latest version.</p><p>Scratching my head... the devil must be hidden somewhere.</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Wed, 13 Aug 2025 16:22:18 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=57200#p57200</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=57197#p57197</link>
			<description><![CDATA[<p>@steve_v<br />here you are a little bit off the problem.<br />The /etc/resolv.conf is always correct, after every reboot too.<br />All files, /etc/hosts, /etc/nsswitch.conf are correct.</p><p>The ISP box is correctly set up and gives the correct name-server addresses.</p><p>I can connect to every Internet-resource without problems.<br />mDNS resources are found as well.<br />Only that bloody host-entry &quot;<strong>172.22.22.05&#160; &#160; colossus.home colossus</strong>&quot; in /etc/hosts is ignored.<br />I have tested with former Devuan releases: no problem<br />I have tested Artix: no problem<br />I have tested Linux Mint: no problem.</p><p>Next thing I try is to replace network-manager with connman. That&#039;s how it works in Artix.<br />I will keep you posted, be patient, I&#039;m busy.</p><p>But anyway, steve_v, thank you for your good intentions.</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Wed, 13 Aug 2025 14:55:26 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=57197#p57197</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=57193#p57193</link>
			<description><![CDATA[<div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>got tired of seeing my /etc/resolv.conf continually being tampered with...<br />disabled the crap Network Manager...<br />whose bloody $%&amp; workstation is it?</p></div></blockquote></div><div class="quotebox"><cite>rolfie wrote:</cite><blockquote><div><p>NetworkManager WILL affect the /etc/resolv.conf and take it out of the loop. Thats why I omit using NetworkManager</p></div></blockquote></div><p>FFS people, get a grip. Networkmangler will mangle /etc/resolv.conf <em>if it is configured to do so</em>. You can shout about it, you can remove it... Or you could just do a <a href="https://dev1galaxy.org/viewtopic.php?id=7330" rel="nofollow">10 second search</a> and set it up to do what you want.</p><div class="quotebox"><cite>Andre4freedom wrote:</cite><blockquote><div><p>remove the network manager. That&#039;s okay for a workstation PC, but NOT for a laptop.</p></div></blockquote></div><p>Indeed. While there are many other ways to configure networking on a mobile device, networkmangler + modemmangler + [all the 50 plugins] does make a certain amount of sense. <br />Unfortunately, the prevailing attitude here seems to be shouting &quot;[x] is crap, I hate [x], why does this new complicated [x] exist&quot; rather than addressing the question in a sensible manner.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Wed, 13 Aug 2025 11:32:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=57193#p57193</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=57191#p57191</link>
			<description><![CDATA[<p>@rolfie<br />I see the discrepancy, and I agree with you.<br />And, the /etc/resolv.conf is not even the problem here.<br />The /etc/nsswitch.conf is correct too: it states for hosts lookup it should consult the files first (/etc/hosts) and then mdsn and then dns.<br />That&#039;s the point. In that case names in the /etc/hosts file must be resolved as it always did. It does not now.</p><p>I see the ultimate outcome..... to remove the network manager. That&#039;s okay for a workstation PC, but NOT for a laptop. I fear to have to test a laptop for that reason.<br />I still wonder if the kernel may be to blame - it goes beyond my understanding.</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Wed, 13 Aug 2025 09:30:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=57191#p57191</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=57190#p57190</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>NetworkManager shouldn&#039;t affect /etc/resolv.conf, /etc/hosts or any of these files, except, unfortunately, the /etc/resolv.conf file.</p></div></blockquote></div><p>Please read again, you see the discrepancy? </p><p>NetworkManager WILL affect the /etc/resolv.conf and take it out of the loop. Thats why I omit using NetworkManager on my workstation. On my small home network I am using static addressing.</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Wed, 13 Aug 2025 08:38:01 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=57190#p57190</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=57189#p57189</link>
			<description><![CDATA[<p>Oh, it looks like the kernel version is important:</p><div class="codebox"><pre><code>root@tinkerbox:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 6 (excalibur/ceres)
Release:	6
Codename:	excalibur ceres
root@tinkerbox:~# 

root@tinkerbox:~# uname -a
Linux tinkerbox 6.12.38+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.38-1 (2025-07-16) x86_64 GNU/Linux
root@tinkerbox:~# </code></pre></div><p>And the rest of all information in one block:</p><div class="codebox"><pre class="vscroll"><code>root@tinkerbox:~# ifconfig
eth0: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt;  mtu 1500
        inet 172.22.22.60  netmask 255.255.255.0  broadcast 172.22.22.255
        inet6 fe80::c42c:d3ce:d1e1:f30f  prefixlen 64  scopeid 0x20&lt;link&gt;
        ether 70:54:d2:ab:5e:4e  txqueuelen 1000  (Ethernet)
        RX packets 179  bytes 109589 (107.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 215  bytes 25830 (25.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xf7e00000-f7e20000  

eth1: flags=4099&lt;UP,BROADCAST,MULTICAST&gt;  mtu 1500
        ether 70:54:d2:ab:5e:4f  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 18  memory 0xf7d00000-f7d20000  

lo: flags=73&lt;UP,LOOPBACK,RUNNING&gt;  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10&lt;host&gt;
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 31  bytes 4263 (4.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 31  bytes 4263 (4.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@tinkerbox:~# netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
default         172.22.22.1     0.0.0.0         UG        0 0          0 eth0
172.22.22.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0

root@tinkerbox:~# hostname
tinkerbox

root@tinkerbox:~# cat /etc/networks
default		0.0.0.0
loopback	127.0.0.0
link-local	169.254.0.0

root@tinkerbox:~# cat /etc/resolv.conf 
# Generated by NetworkManager
nameserver 213.221.144.240
nameserver 213.221.143.240

***********************************

root@tinkerbox:~# ping www.google.com
PING www.google.com (142.250.178.196) 56(84) bytes of data.
64 bytes from pnzrha-aj-in-f4.1e100.net (142.250.178.196): icmp_seq=1 ttl=116 time=22.8 ms
64 bytes from pnzrha-aj-in-f4.1e100.net (142.250.178.196): icmp_seq=2 ttl=116 time=25.9 ms

root@tinkerbox:~# ping colossus
ping: colossus: Name or service not known
root@tinkerbox:~# ping colossus.home
ping: colossus.home: Name or service not known
root@tinkerbox:~# ping printer.home
ping: printer.home: Name or service not known

root@tinkerbox:~# ping printer
PING printer (172.22.22.12) 56(84) bytes of data.
64 bytes from printer (172.22.22.12): icmp_seq=1 ttl=255 time=0.637 ms
64 bytes from printer (172.22.22.12): icmp_seq=2 ttl=255 time=0.650 ms
64 bytes from printer (172.22.22.12): icmp_seq=3 ttl=255 time=0.646 ms
64 bytes from printer (172.22.22.12): icmp_seq=4 ttl=255 time=0.638 ms
// what a surprise! The printer gets resolved by mDNS //

***********************************

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference&#039; and `info&#039; packages installed, try:
# `info libc &quot;Name Service Switch&quot;&#039; for information about this file.

passwd:         files
group:          files
shadow:         files
gshadow:        files

hosts:          files mdns4_minimal [NOTFOUND=return] dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis
root@tinkerbox:~# </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Wed, 13 Aug 2025 07:15:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=57189#p57189</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=57188#p57188</link>
			<description><![CDATA[<p>Thank you for your responses and questions.</p><p>@g4sra</p><div class="codebox"><pre><code>root@tinkerbox:~# cat /etc/hosts
127.0.0.1	localhost
127.0.1.1	tinkerbox.home	tinkerbox

172.22.22.05	colossus.home colossus
172.22.22.12	printer</code></pre></div><p>I only added the last 2 lines.</p><p>@Altoid<br />Yes, it&#039;s quite possible it will come to that, but: NetworkManager shouldn&#039;t affect /etc/resolv.conf, /etc/hosts or any of these files, except, unfortunately, the /etc/resolv.conf file.</p><p>@both<br />Would you like to get all network information? I could put it in an extra response.<br />Again, that problem never appeared in previous releases.</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Wed, 13 Aug 2025 07:02:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=57188#p57188</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=57173#p57173</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Andre4freedom wrote:</cite><blockquote><div><p>... NetworkManager is always installed ...</p></div></blockquote></div><p>Yes, that it is.</p><p>I eventually got tired of seeing my <span class="bbc">/etc/resolv.conf</span> <em>continually</em> being tampered with.<br />Because, after all ...&#160; &#160;Just whose bloody $%&amp; workstation is it?</p><p>Good old <span class="bbc">WiCD</span> <span class="bbu">did not</span> do that.<br />But, alas, it is no longer available. </p><p>So I just disabled the crap <span class="bbc">Network Manager</span> and that was it.</p><p>My ethernet link comes up at boot and I just use <span class="bbc">ifdown</span> / <span class="bbc">ifup</span> when I want to do otherwise or connect to a friendly neighbour&#039;s AP if my fibre-link provider finds the opportunity to screw up something. </p><p>Doing that has made life much simpler.<br />As always, YMMV.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 12 Aug 2025 20:09:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=57173#p57173</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=57172#p57172</link>
			<description><![CDATA[<p>Andre4freedom, can you post what you changed in&#160; /etc/hosts and describe what did\didnt happen.<br />Once I know that I can test my install to see if it is affected.</p>]]></description>
			<author><![CDATA[dummy@example.com (g4sra)]]></author>
			<pubDate>Tue, 12 Aug 2025 18:31:44 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=57172#p57172</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Devuan 6 excalibur, OpenRC, networking, /etc/hosts ingnored]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=57170#p57170</link>
			<description><![CDATA[<p>Hello,<br />testing the latest iso, devuan-excalibur_6.0-20250809_amd64_netinstall.iso,<br />I ran into a problem:<br />The file /etc/hosts is simply ignored.<br />This happened while testing both DEs: XFCE4 and Cinnamon.<br />It is a standard installation with no tinkering. Standard Linux-utilities and ssh-server always selected too.</p><p>The problem did not show up when testing the previous pre-releases, and never showed up with any former Devuan release (3,4,5).<br />The problems doesn&#039;t manifest when testing Artix-OpenRC-XFCE.</p><p>I just edit the /etc/hosts file to test.<br />/etc/resolv.conf and other networking details are all correct by default.<br />Internet access and even CUPS-driverless-printing works correctly.<br />Strange.</p><p>I know that NetworkManager is always installed by default.<br />Has anyone encountered that bug as well?</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Tue, 12 Aug 2025 15:21:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=57170#p57170</guid>
		</item>
	</channel>
</rss>
