DHCP no longer working for em(4)

From: Graham Perrin <grahamperrin_at_gmail.com>
Date: Tue, 27 Apr 2021 12:19:32 +0100
DHCP recently stopped working for em0.

HP EliteBook 8570p, recently probed:
<https://bsd-hardware.info/?probe=e90abb54c9>

Any ideas?

For what its worth, the problem _might_ have begun after a package 
upgrade routine on Tuesday 20th April:

<https://bsd.to/nWBw/raw>

I updated the sytem (from n246123-21afed4b1d1 to n246330-5eb9c93a20d), 
no improvement.

/etc/rc.conf

– includes the following lines:

ifconfig_em0="DHCP"
create_args_wlan0="country GB regdomain etsi"
wlans_iwn0="wlan0"
ifconfig_wlan0="NOAUTO WPA SYNCDHCP"

When I use a static address in lieu of DHCP: no problem.

wlan0 is fine (albeit slow) with DHCP,


% date ; uname -v
Tue 27 Apr 2021 12:10:08 BST
FreeBSD 14.0-CURRENT #93 main-n246330-5eb9c93a20d: Tue Apr 27 05:14:26 
BST 2021 
root_at_mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
% ls -ahlrt /var/run/dhclient/
total 1
drwxr-xr-x   2 root  wheel     3B 27 Apr 07:00 .
-rw-r--r--   1 root  wheel     5B 27 Apr 07:00 dhclient.wlan0.pid
drwxr-xr-x  22 root  wheel    44B 27 Apr 07:25 ..
% bectl list -c creation
BE                    Active Mountpoint Space Created
r357746-Waterfox      -      -          59.2G 2020-03-10 18:24
n245827-361e9501800-a -      -          10.9G 2021-04-05 18:48
n246123-21afed4b1d1-f -      -          783M  2021-04-26 03:18
n246330-5eb9c93a20d-a NR     /          112G  2021-04-27 06:14
%

----

root_at_mowa219-gjp4-8570p:~ # date ; time service netif restart em0
Tue Apr 27 12:16:53 BST 2021
dhclient not running? (check /var/run/dhclient/dhclient.em0.pid).
Stopping Network: em0.
em0: flags=8c22<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=481249b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LRO,WOL_MAGIC,VLAN_HWFILTER,NOMAP>
         ether ⋯
         media: Ethernet autoselect (100baseTX <full-duplex>)
         status: active
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Starting Network: em0.
em0: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=481249b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LRO,WOL_MAGIC,VLAN_HWFILTER,NOMAP>
         ether ⋯
         media: Ethernet autoselect
         status: no carrier
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
0.089u 0.040s 0:01.87 6.4%      139+188k 0+0io 0pf+0w
root_at_mowa219-gjp4-8570p:~ # date ; ifconfig em0
Tue Apr 27 12:17:00 BST 2021
em0: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=481249b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LRO,WOL_MAGIC,VLAN_HWFILTER,NOMAP>
         ether ⋯
         media: Ethernet autoselect (100baseTX <full-duplex>)
         status: active
         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
root_at_mowa219-gjp4-8570p:~ #
Received on Tue Apr 27 2021 - 09:19:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:28 UTC