[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: quasi-SOLVED: Re: no network after jessie -> stretch



On Fri, 23 Jun 2017, D. R. Evans wrote:
> Can anyone provide suggestions as to how to remove this delay?

Yes.  The fastest way would be to ask your network administrator for a
static IP and DNS information, so that you can do static configuration.
This is faster than DHCP even when everything is working right.

Configure it directly on /etc/network/interfaces the right way, that
removes the wait on network manager:

auto eth0
iface eth0 inet static
        address <your IP>
        netmask <your netmask>
        gateway <your gateway>

"man interfaces"  will give you the details.

DNS depends:  we support several ways to autoconfigure it, and that ends
up getting in the way.  You'd need to ensure resolvconf and other such
packages are NOT present, and configure /etc/resolv.conf directly.

The above solution should result in the fastest boot, but it is
certainly not the *easiest*.

The easiest long-term would be to find out what the heck is wrong in
your system, because it is not supposed to waste 30s waiting for
anything in the first place.


PS: "auto eth0" in /etc/network/interface means "wait for this thing to
be online before you proceed", and plays well with networked
filesystems, etc.  There is an alternative: "allow-hotplug eth0", which
will react for the eth0 device showing up, and try to bring networking
when that happens.  THAT is known to sometimes cause issues when you
have any networked filesystems that get touched during boot.

-- 
  Henrique Holschuh


Reply to: