DHCP no longer working for em(4)

David Wolfskill david at catwhisker.org
Tue Apr 27 11:33:59 UTC 2021

On Tue, Apr 27, 2021 at 12:19:32PM +0100, Graham Perrin wrote:
> 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.

I am not seeing the issue.

In addition to my older laptop, I have been tracking head. stable/13,
and stable/12 on a newer laptop (a Dell Precision 7520); as its wireless
NIC is not currently supported in FreeBSD, I have been using its wired

em0 at pci0:0:31:6:        class=0x020000 rev=0x31 hdr=0x00 vendor=0x8086 device=0x15e3 subvendor=0x1028 subdevice=0x07b0
    vendor     = 'Intel Corporation'
    device     = 'Ethernet Connection (5) I219-LM'
    class      = network
    subclass   = ethernet

g1-48(14.0-C)[2] ifconfig em0
em0: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 8c:ec:4b:e9:91:81
        inet netmask 0xffff0000 broadcast
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active

As I type, it is running:

g1-48(14.0-C)[3] uname -aUK
FreeBSD g1-48.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #222 main-n246319-cd17774d30c6: Mon Apr 26 03:54:11 PDT 2021     root at g1-48.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY  amd64 1400010 1400010

and in the middle of a source update to main-n246349-daa5350d0e0c.

> /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"

g1-48(14.0-C)[7] egrep 'ifconfig|wlan' /etc/rc.conf | grep -v '^#'
ifconfig_wlan0="WPA DHCP -ht"
netif_nic_seq="wlan0 em0"       # Try these NICs in this sequence,

> .... 

David H. Wolfskill                              david at catwhisker.org
The same folks who champion the "rights" of corporations to influence
elections by money (as an exercise of free speech) are now also decrying
corporations' speaking out against voter suppression laws...?  Right.

See https://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20210427/0e7e0bd0/attachment.sig>

More information about the freebsd-current mailing list