The officially official Devuan Forum!

You are not logged in.

#1 2023-12-21 19:42:48

Registered: 2022-07-14
Posts: 187  

isc-dhcp-client: timeout without running dhcp server

A quick boot-up was impossible - the default time-out is 60 seconds until isc-dhcp-client skips waiting for an IP address. I would not mind if this happens in the background, but it is blocking the boot process.

The fix / config file is:

cat /etc/dhcp/dhclient.conf | grep timeout
#timeout 60;
timeout 10;

I know, it's not rocket science, but it took me ages to finally do it.


#2 2023-12-22 16:52:57

Registered: 2023-12-14
Posts: 310  

Re: isc-dhcp-client: timeout without running dhcp server

Or just unintall isc-dhcp-client if you aren't gonna actually use it.


#3 2023-12-22 20:54:51

From: Brisbane, Australia
Registered: 2019-07-18
Posts: 613  

Re: isc-dhcp-client: timeout without running dhcp server

I would check to see when it is better loaded and started.

with open-rc ...
rc-update gives a list of services and when it is launched.
I don't know about the other service starters like sysvinit...

maybe if you change it from sysinit to default it may start later, allowing the boot process to continue.
My only concern is that it may have dependants that start after it.

I don't think it matters, you'll just be a little late to the web on boot.

I start the web connection after The GUI starts and My phone is tethered to the pc.

so, I run them all late.

It might impact network-shared folders...

pic from 1993, new guitar day.


Board footer