Score:0

Long boot due to dhcpclient running on unplugged cable - Kubuntu 21.10

us flag

Boot takes over a minute because dhcpclient is running even with cable unplugged.

Before anything loads I get lots of messages like: boot dhcp

Things I tried:

  • putting on /etc/network/interfaces:
  allow-hotplug enp42s0
  • on /etc/dhcp/dhclient.conf uncommented and changed value of settings:
  timeout 5;
  
  retry 0;
  • my /etc/netplan/01-network-manager-all.yaml:
  network:
  version: 2
  renderer: NetworkManager
  ethernets:
    enp42s0:
      dhcp4: true
      dhcp6: true
      optional: true
  • tried setting static ip on /etc/netplan/01-network-manager-all.yaml:
  network:
  version: 2
  renderer: networkd
  ethernets:
    enp42s0:
      dhcp4: no
      addresses: [192.168.1.222/24]
      gateway4: 192.168.1.1
      nameservers:
        addresses: [8.8.8.8,8.8.4.4]

This not only doesn't work as also my connection to my cellphone with usb tether doesn't work anymore. Changed back renderer to NetworkManager and my usb connection is up again

chili555 avatar
cn flag
Is Network Manager running? Is the behavior the same either with or without NM?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.