public inbox for iwd@lists.linux.dev
 help / color / mirror / Atom feed
* Making udhcpc get a new lease when iwd connects to a network
@ 2024-01-21 22:53 Rafael Ávila de Espíndola
  2024-01-22 12:21 ` James Prestwood
  0 siblings, 1 reply; 4+ messages in thread
From: Rafael Ávila de Espíndola @ 2024-01-21 22:53 UTC (permalink / raw)
  To: iwd

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-22 20:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2024-01-22 20:59     ` Rafael Ávila de Espíndola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox