Project

General

Profile

Actions

Bug #13671

closed

DHCP client can fail permanently if an interface is down at boot

Added by Steve Wheeler about 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Interfaces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.05
Release Notes:
Default
Affected Version:
2.6.0
Affected Architecture:
All

Description

If when the WAN is brought up at boot launching dhclient the interface is down it will fail and stop:

pfSense php-cgi: rc.bootup: The command '/sbin/dhclient -c /var/etc/dhclient_wan.conf igb0 > /tmp/igb0_output 2> /tmp/igb0_error_output' returned exit code '1', the output was ''

The output there being:

igb0: no link .............. giving up

If the WAN then comes up before bootup has completed it does not trigger dhclient to re-run leaving the WAN permanently down after boot.

This can happen typically if the WAN is connected to a modem and there is a power outage causing both devices to boot at the same time.

See:
https://forum.netgate.com/topic/171450/dhclient-exiting-on-wan
https://forum.netgate.com/topic/175937/bug-gateways-power-loss


Related issues

Related to Bug #9484: With proper timing on boot dhclient won't be started for WAN without manual interventionClosed04/25/2019

Actions
Actions

Also available in: Atom PDF