[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Switching to lwip



Hello,

Thanks for answering :)

Joan Lledó, le mer. 23 avril 2025 22:07:42 +0200, a ecrit:
> > Another example is people asking for at last switching to lwip. I have
> been waiting for years for people to contribute tested patches to do
> this.
> 
> What patches do we need for this?

I don't know. I believe the first step is the todo list items
https://darnassus.sceen.net/~hurd-web/contributing/

“
- Make sure that lwip supports configuration by DHCP.
- Extensively test (e.g. running testsuites of glibc, perl, curl, rust-mio) and fix the lwip-based TCP/IP stack, to be sure we don't get regressions by switching to it.
”

(again, for the second point, it's *regressions* I'm talking about. It's
fine to see some tests fail if they were already failing with pfinet,
it's possibly just outside of the pfinet/lwip area. What we don't want
is regressing).

and then it's about figuring out how to do the transition. There's the
set up for new installs in debian/local/setup-translators. We'll want to
migrate existing installs in debian/hurd.postinst. There's also the
debian-installer code in netcfg and netcfg-static that will need fixing.
Possibly others, apparently mmdebstrap and crosshurd too.

> I'm currently working on trying to make
> dhclient work. It doesn't work because of the problems I mentioned in this
> post: https://darnassus.sceen.net/~jlledom/en/07-ifupdown.html. Maybe with
> some tweaks in the translator we can make the DHCPDISCOVER reach the wire
> without the need to patch the stack.
> 
> I know I should be working on support dhcpcd, but that one doesn't even
> compile at this moment

Are you using isc-dhcp? You have the latest snapshot on 

http://snapshot.debian.org/package/isc-dhcp/4.4.3-P1-1.1%2Bhurd.2/

which is what I used to build on hurd-amd64.

Samuel


Reply to: