($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: "Rafael Ávila de Espíndola" <rafael@espindo.la>
To: iwd@lists.linux.dev
Subject: Making udhcpc get a new lease when iwd connects to a network
Date: Sun, 21 Jan 2024 21:53:29 -0100	[thread overview]
Message-ID: <87h6j670ye.fsf@espindo.la> (raw)

Hi,

I know that iwd has a builtin dhcp client, but I am using it in alpine
linux and would like to use the same dhcp client with both wired and
wireless interfaces. The default client in alpine is udhcpc.

As far as I can tell, the impedance mismatch between udhcpc and iwd is
that udhcpc expect commands via unix signals and iwd send property
changes via dbus.

I wrote a bit of glue code and posted it to
https://codeberg.org/espindola/iwd2udhcpc. It works, at least on my
laptop, but I am wondering if anyone knows of a simpler way.

Thanks,
Rafael

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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-21 22:53 Rafael Ávila de Espíndola [this message]
2024-01-22 12:21 ` Making udhcpc get a new lease when iwd connects to a network James Prestwood
2024-01-22 15:01   ` Denis Kenzior
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=87h6j670ye.fsf@espindo.la \
    --to=rafael@espindo.la \
    --cc=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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).