On Sat, Sep 26, 2026 at 07:07:02PM -0400, Ed Heil wrote:
> Crystal Kolipe wrote:
> > You might get more useful information by running dhcpleased in verbose mode:
> > 
> > # rcctl stop dhcpleased
> > # dhcpleased -d -vv
> 
> To give this I try, I changed my /etc/hostname.iwm0 to put my home
> network's wifi name and password back in, and I fired it up and
> retried the dhcpleasectl command.
> 
> I'm having a difficult time copying and pasting the output from
> dhcpleased -- tmux isn't quite doing what I want it to do, and I can't
> seem to get it through "tee" either.  Skill issue with output
> redirection probably.  I'll copy it manually here instead.

You probably want something like:

# dhcpleased -dvv 2>&1 | tee /tmp/logfile

... as dhcpleased is writing to stderr and tee only captures stdout.

> 
> # dhcpleased -d -vv
> state_transition[iwm0] Down -> Rebooting, timo: 1
> DHCPREQUEST on iwm0
> parse_dhcp, from: 4c:37:4a:4a:35:e7, to: ff:ff:ff:ff:ff:ff
> parse_dhcp: 10.0.0.1:67 -> 255.255.255.255:68

As Florian also points out, this is a reply being received from the router.

So although the other tests initially suggested that you might have had an
issue with 2.5 Ghz vs 5 Ghz operation, (I.E. no Tx on 5 Ghz *, which would
point to the iwm driver code), now we see that at least the DHCPNAK packet was
received from the router by your iwm device, so it's not a simple, 'rx isn't
working on 5 Ghz' issue.

(*) although there must have been at least some Tx to connect to the AP in the
    first place, so I was a bit dubious about that.

Having said that, for completeness I guess it could still plausibly be
something very specific, such as a specific packet size or content that was
triggering a bug in the driver code and preventing the request going out, but
I would put that possibility as a distant last.

Next step would be to try what Stuart suggested and test a different dhcp
client:

> Stuart Henderson wrote:

[ ... ]

> > Maybe try a different dhcp client (e.g. dhcpcd)?
> 
> I'm not sure what would go into this, I assume I would need to uninstall
> dhcpleased or at least disable it,

You disable it, either with something like:

# rcctl set dhcpleased status off

or by just editing /etc/rc.conf.local and adding:

dhcpleased_flags=NO

(which is basically what the rcctl command above would do anyway).

Also, are you running the most recent firmware on the router?

Reply via email to