<?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=3123&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / eth0 losing static ip]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3123</link>
		<description><![CDATA[The most recent posts in eth0 losing static ip.]]></description>
		<lastBuildDate>Wed, 06 Nov 2019 00:56:54 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: eth0 losing static ip]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18392#p18392</link>
			<description><![CDATA[<div class="quotebox"><cite>e97 wrote:</cite><blockquote><div><p>thanks @aut0exec ! I suspected it was another network control manager but couldn&#039;t figure out what it was. Its disabled and removed.</p><p>Reset dnsmasq as well because I probably misconfigured it resulting in a conflict with my router.&#160; </p><p>With those changes, everything seems good.</p></div></blockquote></div><p>No problem and glad all is well!</p>]]></description>
			<author><![CDATA[dummy@example.com (aut0exec)]]></author>
			<pubDate>Wed, 06 Nov 2019 00:56:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18392#p18392</guid>
		</item>
		<item>
			<title><![CDATA[Re: eth0 losing static ip]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18359#p18359</link>
			<description><![CDATA[<p>FWIW, I find that wicd *does* leave uncommented /etc/network/interfaces entries alone. It has its own idiosyncracies, but that&#039;s not one of them.</p>]]></description>
			<author><![CDATA[dummy@example.com (bbatten)]]></author>
			<pubDate>Wed, 30 Oct 2019 17:32:47 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18359#p18359</guid>
		</item>
		<item>
			<title><![CDATA[Re: eth0 losing static ip]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18353#p18353</link>
			<description><![CDATA[<p>thanks @aut0exec ! I suspected it was another network control manager but couldn&#039;t figure out what it was. Its disabled and removed.</p><p>Reset dnsmasq as well because I probably misconfigured it resulting in a conflict with my router.&#160; </p><p>With those changes, everything seems good.</p>]]></description>
			<author><![CDATA[dummy@example.com (e97)]]></author>
			<pubDate>Tue, 29 Oct 2019 13:19:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18353#p18353</guid>
		</item>
		<item>
			<title><![CDATA[Re: eth0 losing static ip]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18349#p18349</link>
			<description><![CDATA[<p>Had this problem when network manager is installed on the system. NM likes to randomly start controlling the NIC. You&#039;re supposed to be able to issue: </p><div class="codebox"><pre><code>nmcli device set &lt;ethX&gt; managed no</code></pre></div><p> In practice it rarely stays consistent and in theory NM isn&#039;t supposed to be managing stuff in the interfaces file either. I usually resort to adding the following in </p><div class="codebox"><pre><code>/etc/NetworkManager/NetworkManager.conf</code></pre></div><div class="codebox"><pre><code>[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

[keyfile] 
unmanaged-devices=interface-name:eth0</code></pre></div><p>Then restart network-manager and networking. The output of nmcli should state that the interface is no &quot;unmanaged&quot;.</p><div class="codebox"><pre><code>root@Devuan:~# nmcli
eth1: unavailable
	&quot;Broadcom Limited NetXtreme BCM5755 Gigabit Ethernet PCI Express&quot;
	ethernet (tg3), DE:AD:BE:EF:00:01, hw, mtu 1500

eth0: unmanaged
	&quot;Realtek RTL8169 PCI Gigabit Ethernet Controller (GA311)&quot;
	ethernet (r8169), CA:FE:C0:FF:EE:01, hw, mtu 1500

lo: unmanaged
	loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536</code></pre></div><p>****EDIT*****<br />My preferred route is to just remove network manager all together with </p><div class="codebox"><pre><code>apt purge network-manager</code></pre></div><p> <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (aut0exec)]]></author>
			<pubDate>Tue, 29 Oct 2019 00:38:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18349#p18349</guid>
		</item>
		<item>
			<title><![CDATA[eth0 losing static ip]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=18345#p18345</link>
			<description><![CDATA[<p>cat /etc/network/interfaces</p><div class="codebox"><pre><code>source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
#network 192.168.1.0
gateway 192.168.1.1

allow-hotplug enx0042
#auto enx0042
iface enx0042 inet dhcp</code></pre></div><p>after about 24 hours, eth0 switches to a dynamic ip</p><p>is this not the proper way to set a static ip on devuan beowulf ?</p>]]></description>
			<author><![CDATA[dummy@example.com (e97)]]></author>
			<pubDate>Mon, 28 Oct 2019 17:01:47 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=18345#p18345</guid>
		</item>
	</channel>
</rss>
