Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

"A start job is running for Raise network interfaces" SOLVED

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
jaimet
Posts: 12
Joined: 2019-07-19 08:38

Re: "A start job is running for Raise network interfaces" SO

#16 Post by jaimet »

It turns out that my "boot delay" / "slow boot" / "boot pause" problem was just another instance of the "Boottime Entropy Starvation" issue. (I'm guessing that wpa-supplicant couldn't connect as it was blocking on requesting random data from the kernel, which in turn was blocking on the entropy generator).

I installed the havege daemon ("sudo apt install haveged") and the problem has disappeared! :D :D :D

More info:
https://www.debian.org/releases/stable/ ... starvation
https://daniel-lange.com/archives/152-hello-buster.html

ab1jx
Posts: 111
Joined: 2016-01-23 21:28
Location: Heath, MA, USA
Has thanked: 2 times
Contact:

Re: "A start job is running for Raise network interfaces" SO

#17 Post by ab1jx »

In Raspbian this is an option in raspi-config, which is just a Bash script calling Whiptail.

Code: Select all

do_boot_wait() {
  DEFAULT=--defaultno
  if [ $(get_boot_wait) -eq 0 ]; then
    DEFAULT=
  fi
  if [ "$INTERACTIVE" = True ]; then
    whiptail --yesno "Would you like boot to wait until a network connection is established?" $DEFAULT 20 60 2
    RET=$?
  else
    RET=$1
  fi
  if [ $RET -eq 0 ]; then
    mkdir -p /etc/systemd/system/dhcpcd.service.d/
    cat > /etc/systemd/system/dhcpcd.service.d/wait.conf << EOF
[Service]
ExecStart=
ExecStart=/usr/lib/dhcpcd5/dhcpcd -q -w
EOF
    STATUS=enabled
  elif [ $RET -eq 1 ]; then
    rm -f /etc/systemd/system/dhcpcd.service.d/wait.conf
    STATUS=disabled
  else
    return $RET
  fi
  if [ "$INTERACTIVE" = True ]; then
    whiptail --msgbox "Waiting for network on boot is $STATUS" 20 60 1
  fi
}

Post Reply