On 2026-09-26 19:07 -04, Ed Heil <[email protected]> wrote:
> # dhcpleased -d -vv
> state_transition[iwm0] Down -> Rebooting, timo: 1
> DHCPREQUEST on iwm0

sending a DHCPREQUEST message out, we are requesting a renew of the old
lease the mac gave us (192.168.2.2).

> parse_dhcp, from: 4c:37:4a:4a:35:e7, to: ff:ff:ff:ff:ff:ff

we receive an answer from the dhcp server.

> parse_dhcp: 10.0.0.1:67 -> 255.255.255.255:68
> dhcp_hdr op: Boot Reply (2)
> dhcp_hdr htype: Ethernet (1)
> dhcp_hdr hlen: 6
> dhcp_hdr hops: 0
> dhcp_hdr xid: 0x5296342d
> dhcp_hdr secs: 0
> dhcp_hdr flags: 0x80
> dhcp_hdr ciaddr: 0.0.0.0
> dhcp_hdr yiaddr: 0.0.0.0
> dhcp_hdr siaddr: 0.0.0.0
> dhcp_hdr giaddr: 0.0.0.0
> dhcp_hdr chaddr: 14:ab:c6:59:a2:c2 (000000000000000000) (I may have 
> miscounted the 0's)
> DHO_DHCP_MESSAGE_TYPE: DHCPNAK
> DHO_DHCP_SERVER_IDENTIFIER: 10.0.0.1
> DHO_56, len: 13
> DHO_END
> DHCPNAK on iwm0 from 4c:d7:4a:4a:35:37/10.0.0.1 to
> ff:ff:ff:ff:ff:ff/255.255.255.255

The dhcp server tells us the IP is not acceptable because...

> deleting 192.168.2.2 from iwm0 (lease from 0.0.0.0)
>   ^^^ that was the address from the macbook hotspot

... of it coming from the mac. so we deconfigure it.


> state_transition[iwm0] Rebooting -> Init, timo: 1
> deconfigure_interface iwm0
> DHCPDISCOVER on iwm0

Now we are sending a DHCPDISCOVER message, asking the dhcp server to
give us *any* lease.

> iface_timeout[1]: Init
> state_transition[iwm0] Init -> Init, timo: 2

and we are being ignored.

> DHCPDISCOVER on iwm0
> iface_timeout[1]: Init
> state_transition[iwm0] Init -> Init, timo: 4
> DHCPDISCOVER on iwm0
> iface_timeout[1]: Init
> state_transition[iwm0] Init -> Init, timo: 8
> DHCPDISCOVER on iwm0
> iface_timeout[1]: Init
> state_transition[iwm0] Init -> Init, timo: 16
> DHCPDISCOVER on iwm0
> iface_timeout[1]: Init
> state_transition[iwm0] Init -> Init, timo: 32
> DHCPDISCOVER on iwm0
> iface_timeout[1]: Init
> state_transition[iwm0] Init -> Init, timo: 64
> DHCPDISCOVER on iwm0
> iface_timeout[1]: Init
> state_transition[iwm0] Init -> Init, timo: 64
> DHCPDISCOVER on iwm0
> iface_timeout[1]: Init
> state_transition[iwm0] Init -> Init, timo: 64
>
> and so forth -- same situation as in the beginning, no ip
> address received from home wifi.
>
> Stuart Henderson wrote:
>> Or maybe has run out of leasable addresses.
>
> I'm pretty sure there are addresses available - I belive it has successfully
> handed out addresses very recently.
>
>> Are logs available on the router?
>
> Sadly no, it's controlled by an app, with very limited diagnostics available 
> :(
>
>> 
>> 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, and install dhcpcd via pkg_add, and then
> enable it?  Would things have to be configured differently in 
> /etc/hostname.iwm0
> to make that work?
>

-- 
In my defence, I have been left unsupervised.

Reply via email to