Hotplugged WAN DHCP doesn't stay up
-
If pfSense is running (and the WAN cable is disconnected or the cable was not plugged in at startup), and the WAN cable is connected, the WAN interface doesn't stay up.
Logs seem to continually repeat with this:
Feb 1 16:47:27 php: : The command '/sbin/dhclient -c /var/etc/dhclient_wan.conf em0 > /tmp/em0_output > /tmp/em0_error_output' returned exit code '15', the output was '' Feb 1 16:47:27 dhclient[16696]: connection closed Feb 1 16:47:27 dhclient[16696]: connection closed Feb 1 16:47:27 dhclient[14817]: DHCPREQUEST on em0 to 255.255.255.255 port 67 Feb 1 16:47:27 php: : HOTPLUG: Configuring interface wan Feb 1 16:47:27 dhclient[14817]: DHCPREQUEST on em0 to 255.255.255.255 port 67 Feb 1 16:47:27 php: : DEVD Ethernet attached event for wan Feb 1 16:47:27 dhclient: PREINIT Feb 1 16:47:27 kernel: em0: link state changed to UP Feb 1 16:47:27 check_reload_status: Linkup starting em0 Feb 1 16:47:25 php: : DEVD Ethernet detached event for wan Feb 1 16:47:25 kernel: em0: link state changed to DOWN Feb 1 16:47:25 check_reload_status: Linkup starting em0 Feb 1 16:47:24 dhclient[10946]: exiting. Feb 1 16:47:24 dhclient[10946]: exiting.
After plugging the cable in and rebooting pfSense the interface works properly, until the cable is unplugged. This is on last night's full build BETA5-i386-20110131-1941, wasn't having this issue on the BETA5-i386-20110121-1519 build and earlier.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.