Wireless Daemon for Linux
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz at gmail.com>
To: iwd at lists.01.org
Subject: Re: iwd 1.21 stuck on connecting state
Date: Mon, 31 Jan 2022 13:31:35 -0600	[thread overview]
Message-ID: <c4ef8b50-db01-6f63-baca-823edcf751bf@gmail.com> (raw)
In-Reply-To: 5d57b20ed52e4d70d64ae3cba74adbd760b5891e.camel@gmail.com

[-- Attachment #1: Type: text/plain, Size: 837 bytes --]

Hi James,

> - DHCP offers 192.168.1.33
> - IWD responds with a request for .33
> - 2 seconds go by and DHCP offers 192.168.1.35
> - IWD ignores offer as its already waiting for a reply from its
> original request
> - IWD continues to retransmit requests for .35 but the server ignores
> them.
> 
> It seems the server wants .35 as this is what works later when (I
> assume) you restarted IWD.
> 
> A quick fix could be that we automatically restart DHCP after some
> timeout (same effect as you restarting IWD). The proper fix would be to
> handle this multiple offer case.

The second .35 offer seems to come from the same DHCP server as the first one. 
So we may be able to handle this case by assuming the current offer supersedes 
the last one we have from this server and restart the request.

Regards,
-Denis

             reply	other threads:[~2022-01-31 19:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-31 19:31 Denis Kenzior [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-02-03 21:41 iwd 1.21 stuck on connecting state James Prestwood
2022-02-03 20:10 54d22547-afc0-4701-b1fc-5a2a2e411646
2022-02-03 17:28 James Prestwood
2022-02-03 16:05 54d22547-afc0-4701-b1fc-5a2a2e411646
2022-01-31 22:15 James Prestwood
2022-01-31 20:09 54d22547-afc0-4701-b1fc-5a2a2e411646
2022-01-31 17:28 James Prestwood
2022-01-29 20:03 54d22547-afc0-4701-b1fc-5a2a2e411646
2022-01-27 19:00 James Prestwood
2022-01-27 17:51 54d22547-afc0-4701-b1fc-5a2a2e411646
2022-01-18 17:39 James Prestwood
2022-01-18 11:43 54d22547-afc0-4701-b1fc-5a2a2e411646
2022-01-14 20:51 James Prestwood
2022-01-14 20:08 54d22547-afc0-4701-b1fc-5a2a2e411646
2022-01-13 17:22 James Prestwood
2022-01-13 11:27 54d22547-afc0-4701-b1fc-5a2a2e411646

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c4ef8b50-db01-6f63-baca-823edcf751bf@gmail.com \
    --to=iwd@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox