Re: DHCP no longer working for em(4)

From: David Wolfskill <david_at_catwhisker.org>
Date: Tue, 27 Apr 2021 04:33:47 -0700
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
NIC:

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
        options=481249b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LRO,WOL_MAGIC,VLAN_HWFILTER,NOMAP>
        ether 8c:ec:4b:e9:91:81
        inet 172.17.1.48 netmask 0xffff0000 broadcast 172.17.255.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
g1-48(14.0-C)[3] 

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_em0="DHCP"
wlans_iwn0=wlan0
ifconfig_wlan0="WPA DHCP -ht"
netif_nic_seq="wlan0 em0"       # Try these NICs in this sequence,
g1-48(14.0-C)[8] 

> .... 

Peace,
david
-- 
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.

Received on Tue Apr 27 2021 - 09:33:59 UTC

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