<?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=1688&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / ifup wait at boot]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=1688</link>
		<description><![CDATA[The most recent posts in ifup wait at boot.]]></description>
		<lastBuildDate>Mon, 18 Oct 2021 16:22:14 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: ifup wait at boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32213#p32213</link>
			<description><![CDATA[<p>This problem fixed in Devuan Chimaera 4.0 <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Ogis1975)]]></author>
			<pubDate>Mon, 18 Oct 2021 16:22:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32213#p32213</guid>
		</item>
		<item>
			<title><![CDATA[Re: ifup wait at boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32034#p32034</link>
			<description><![CDATA[<p>Thanks for your quick reply.<br />I will give that a try. ( I went to try Devuan 3.0.0 but it behaves the same, so might as well go again install 3.1.1 then.)<br />I am not such a Veteran, at least not on *nix, so I used a MX-linux installer to make changes in the root.<br />I have heard of this chroot you mention, I did LFS once, but I have to look up everything, there is not much that I know by heart, on Linux.</p><p>Edit:<br />Thanks, the <br />auto eth0 in /etc/network/interfaces<br />works.</p><p>Now to find a way to fix this in the installer .iso</p>]]></description>
			<author><![CDATA[dummy@example.com (Kiergan)]]></author>
			<pubDate>Mon, 11 Oct 2021 13:02:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32034#p32034</guid>
		</item>
		<item>
			<title><![CDATA[Re: ifup wait at boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32033#p32033</link>
			<description><![CDATA[<p>It sounds like your <span class="bbc">/etc/network/interfaces</span> should have the normal configuration setup for <span class="bbc">eth0</span> of</p><div class="codebox"><pre><code>auto eth0
iface eth0 inet dhcp</code></pre></div><p>Yes, you can use an installation iso as a (limited) rescue system for an installed system. Just start the installation and use <span class="bbc">ctrl-alt-f2</span> at the very first dialog. That brings you to a command line, where you can mount the installed root partition onto <span class="bbc">/mnt</span>, and then chroot into that for various hands-on.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Mon, 11 Oct 2021 12:31:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32033#p32033</guid>
		</item>
		<item>
			<title><![CDATA[Re: ifup wait at boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32027#p32027</link>
			<description><![CDATA[<p>Hi,<br />I have this problem when booting for the 1st time after installing the net-install and also the server-install Devuan 3.1.1 Beowulf.<br />How can I make the needed changes when I can not boot?<br />Do I need to get a rescue-cd or is it possible to modify the installer?</p><p>I have not had this problem before, with older versions.</p><p>Edit:</p><p>I booted with a rescue-cd and modified the file etc/network/interfaces<br />Now it boots, but I get no IP, (state DOWN)</p><p>This is very inconvenient.</p><p>edit:<br />/sbin/ifconfig eth0 up<br />dhclient</p><p>gave me an IP.</p><p>How to fix this, so it will get an IP on boot, like normal?</p>]]></description>
			<author><![CDATA[dummy@example.com (Kiergan)]]></author>
			<pubDate>Mon, 11 Oct 2021 10:44:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32027#p32027</guid>
		</item>
		<item>
			<title><![CDATA[Re: ifup wait at boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=17471#p17471</link>
			<description><![CDATA[<p>For the primary network interface, changing the interface from using &quot;dhcp&quot; to &quot;manual&quot; solves this ..</p>]]></description>
			<author><![CDATA[dummy@example.com (Jafa)]]></author>
			<pubDate>Wed, 21 Aug 2019 17:33:53 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=17471#p17471</guid>
		</item>
		<item>
			<title><![CDATA[Re: ifup wait at boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=16884#p16884</link>
			<description><![CDATA[<p>JFYI, this looks more sane, as <strong>Geoff</strong> pointed out. I wonder, if the dependency to iproute2 is acceptable.</p><div class="codebox"><pre><code>--- /etc/init.d/networking	2019-07-07 12:05:57.696076136 +0200
+++ /etc/init.d/networking	2019-07-07 12:11:41.412092526 +0200
@@ -14,6 +14,7 @@
 IFSTATE=&quot;$RUN_DIR/ifstate&quot;
 STATEDIR=&quot;$RUN_DIR/state&quot;
 
+[ -x /sbin/ip ] || exit 0
 [ -x /sbin/ifup ] || exit 0
 [ -x /sbin/ifdown ] || exit 0
 
@@ -107,7 +108,12 @@
 				    link=${link##.*}
 				    if [ -e &quot;/sys/class/net/$link&quot; ]
 				    then
-					echo &quot;$iface&quot;
+					# link detection does not work unless we up the link
+					ip link set &quot;$iface&quot; up || true
+					if [ &quot;$(cat /sys/class/net/$link/operstate)&quot; = up ]
+					then
+						echo &quot;$iface&quot;
+					fi
 				    fi
 			    done)
 	    if [ -n &quot;$ifaces&quot; ]</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (geki)]]></author>
			<pubDate>Sun, 07 Jul 2019 10:11:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=16884#p16884</guid>
		</item>
		<item>
			<title><![CDATA[Re: ifup wait at boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15696#p15696</link>
			<description><![CDATA[<p>As I am looking at a simple set-up with no network manager, I was looking at this patch to get past the disconnected eth0.</p><p>I am not too good at some of the scoping in some of these languages, but I think that in this patch that $iface and $link are not defined when we get to use them. I think that $ifaces is defined and in my case I only have one interface with allow-hotplug, so putting $ifaces in this patch seems to work for me, although probably not strictly correct.</p><p>Geoff</p>]]></description>
			<author><![CDATA[dummy@example.com (Geoff 42)]]></author>
			<pubDate>Wed, 24 Apr 2019 14:47:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15696#p15696</guid>
		</item>
		<item>
			<title><![CDATA[Re: ifup wait at boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=15493#p15493</link>
			<description><![CDATA[<p>The DNG message that golinux linked earlier in this thread is gone. I think I know what it pointed to - there was a patch submitted by Didier Kryn for <span class="bbc">/etc/init.d/networking</span> that fixes the problem. I have the patch, and I have the message in my mail. Both are copied below.</p><p>I don&#039;t know if the line numbers in the patch are still correct, but I do know that it works in ascii. I&#039;ve applied it manually.</p><div class="quotebox"><blockquote><div><p>Le 22/12/2017 à 08:49, KatolaZ a écrit :<br />&gt; On Fri, Dec 22, 2017 at 08:40:37AM +0100, Didier Kryn wrote:<br />&gt;&gt;&#160; &#160; &#160; Hello.<br />&gt;&gt;<br />&gt;&gt;&#160; &#160; &#160; I&#039;ve now switched to ASCII for my personal laptop (amd-64 arch) and I<br />&gt;&gt; found it working well, better for me than Jessie.<br />&gt; Hi Didier,<br />&gt;<br />&gt; that&#039;s pretty good news <br />&gt;<br />&gt; [cut]<br />&gt;<br />&gt;&gt;&#160; &#160; &#160; A regression with respect to the older releases of Debian and Devuan is<br />&gt;&gt; the new /etc/init.d/networking script. I have&#160; sent on the list a patch to<br />&gt;&gt; correct this file. I aso had to change /etc/interfaces: previously I had<br />&gt;&gt; &quot;allow-hotplug wlan0&quot;; now I still have it, plus &quot;auto wlan0&quot;, otherwise<br />&gt;&gt; wlan0 is not always started at boot time. This ifpudown logic is rather<br />&gt;&gt; convoluted and I fall down to this kind of tricks.<br />&gt;&gt;<br />&gt; Could you please send a patch to /etc/init.d/networking (it&#039;s very<br />&gt; difficult to retrieve it from the ML)? I am not looking forward to<br />&gt; fork ifupdown, to be honest. It would be better maybe to submit the<br />&gt; patch upstream (i.e., to Debian).<br />&#160; &#160; Seems the patch introducing the regression is from the author, not from Debian. It is in the form of a patch in the source of the package, but I didn&#039;t find where this patch is applied. Maybe, as suggested by Svante, I should modify the patch so that it changes the behaviour only if systemd is installed, and propose this modification to the author.</p><p>&#160; &#160; Didier</p></div></blockquote></div><p>check-link-state.patch</p><div class="codebox"><pre><code>--- networking~	2016-09-16 15:02:20.000000000 +0200
+++ networking	2017-12-18 17:25:49.902781233 +0100
@@ -112,7 +112,12 @@ ifup_hotplug () {
 			    done)
 	    if [ -n &quot;$ifaces&quot; ]
 	    then
-		ifup $ifaces &quot;$@&quot; || true
+		# link detection does not work unless we up the link
+		ip link set &quot;$iface&quot; up || true
+		if [ &quot;$(cat /sys/class/net/$link/operstate)&quot; = up ]
+		then
+		    echo &quot;$iface&quot;
+		fi
 	    fi
     fi
 }</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Thu, 11 Apr 2019 21:15:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=15493#p15493</guid>
		</item>
		<item>
			<title><![CDATA[Re: ifup wait at boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=14890#p14890</link>
			<description><![CDATA[<p>Hi. Just want to say I also had this problem for a long time and can not remember when it appeared. The solution that worked for me was what people here have suggested, commenting out the lines: allow-hotplug eth0,,, iface eth0 inet dhcp</p>]]></description>
			<author><![CDATA[dummy@example.com (climbingturtle)]]></author>
			<pubDate>Fri, 15 Mar 2019 22:20:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=14890#p14890</guid>
		</item>
		<item>
			<title><![CDATA[Re: ifup wait at boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=12140#p12140</link>
			<description><![CDATA[<div class="quotebox"><cite>MiyoLinux wrote:</cite><blockquote><div><p>This affects only wireless network connections from my experience. Wired isn&#039;t affected.</p></div></blockquote></div><p>Hello. I am on wired connection.&#160; I do not have wireless connection. It is a desktop.</p>]]></description>
			<author><![CDATA[dummy@example.com (Ogis1975)]]></author>
			<pubDate>Wed, 03 Oct 2018 17:41:00 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=12140#p12140</guid>
		</item>
		<item>
			<title><![CDATA[Re: ifup wait at boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=12119#p12119</link>
			<description><![CDATA[<p>This affects only wireless network connections from my experience. Wired isn&#039;t affected.</p><p>The fix is shown above, and it has worked for me for months and months. I include this fix in MiyoLinux releases also. As root, open the file /etc/network/interfaces</p><p>Save a copy of that file (before editing it) somewhere just in case you need to put it back.</p><p>You can comment out lines if you prefer, but I personally remove everything in that file and leave only the following two lines...</p><div class="codebox"><pre><code>auto lo
iface lo inet loopback</code></pre></div><p>Save the file. Close it. Then reboot. The delay should be gone, <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (MiyoLinux)]]></author>
			<pubDate>Mon, 01 Oct 2018 22:22:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=12119#p12119</guid>
		</item>
		<item>
			<title><![CDATA[Re: ifup wait at boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=12113#p12113</link>
			<description><![CDATA[<p>Same bug here.</p>]]></description>
			<author><![CDATA[dummy@example.com (Ogis1975)]]></author>
			<pubDate>Mon, 01 Oct 2018 16:28:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=12113#p12113</guid>
		</item>
		<item>
			<title><![CDATA[Re: ifup wait at boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=12111#p12111</link>
			<description><![CDATA[<p>Hi Forum members,</p><p>This behavior also exhibits in my laptop: a long ifup eth0 wait with the &#039;allow-hotplug eth0&#039; line in etc/network/interfaces</p><p>It seems to be a known Debian bug as well:</p><p><a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838871" rel="nofollow">https://bugs.debian.org/cgi-bin/bugrepo … bug=838871</a></p>]]></description>
			<author><![CDATA[dummy@example.com (menuhin)]]></author>
			<pubDate>Mon, 01 Oct 2018 12:05:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=12111#p12111</guid>
		</item>
		<item>
			<title><![CDATA[Re: ifup wait at boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=9277#p9277</link>
			<description><![CDATA[<p>thanks very much!</p>]]></description>
			<author><![CDATA[dummy@example.com (figdev)]]></author>
			<pubDate>Sat, 19 May 2018 22:52:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=9277#p9277</guid>
		</item>
		<item>
			<title><![CDATA[Re: ifup wait at boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=9276#p9276</link>
			<description><![CDATA[<p>The file is etc/network/interfaces.</p><p>The contents before the modification:</p><div class="codebox"><pre><code># This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp</code></pre></div><p>The file contents after the modification (the fix):</p><div class="codebox"><pre><code># This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (dxrobertson)]]></author>
			<pubDate>Sat, 19 May 2018 21:46:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=9276#p9276</guid>
		</item>
	</channel>
</rss>
