All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: "James Prestwood" <prestwoj@gmail.com>,
	"Rafael Ávila de Espíndola" <rafael@espindo.la>,
	iwd@lists.linux.dev
Subject: Re: Making udhcpc get a new lease when iwd connects to a network
Date: Mon, 22 Jan 2024 09:01:46 -0600	[thread overview]
Message-ID: <3aaec29e-7b05-4a2f-b92b-40fbdffa860e@gmail.com> (raw)
In-Reply-To: <e1a35af8-0c7c-450b-9d96-fa8987e4c0d4@gmail.com>

Hi James, Rafael,

> 
> I think the intended way is for the DHCP daemon to listen for the interface to 
> set carrier up (from RTNL). This is how systemd-networkd does it, and AFAIK 

Refer to https://docs.kernel.org/networking/operstates.html for an explanation 
of how this is supposed to work.  The kernel will signal NO_CARRIER any time the 
wlan interface is not associated and IF_UP once the interface is fully connected.

Regards,
-Denis


  reply	other threads:[~2024-01-22 15:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-21 22:53 Making udhcpc get a new lease when iwd connects to a network Rafael Ávila de Espíndola
2024-01-22 12:21 ` James Prestwood
2024-01-22 15:01   ` Denis Kenzior [this message]
2024-01-22 20:59     ` Rafael Ávila de Espíndola

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=3aaec29e-7b05-4a2f-b92b-40fbdffa860e@gmail.com \
    --to=denkenz@gmail.com \
    --cc=iwd@lists.linux.dev \
    --cc=prestwoj@gmail.com \
    --cc=rafael@espindo.la \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.