serenity: DHCPClient: Doesn't work for class C networks

I had my first successful bare metal Serenity boot in some time today and one of the main things I wanted to test was to see if I could get networking to work. No such luck unfortunately.

Yes, the machine I was testing on had a Realtek 8139 NIC in it and I could see in the boot log that it had detected it OK but DHCPClient hadn’t fetched / assigned it a valid address according to ifconfig so networking didn’t work. The NIC was attached to a class C network but serenity assigned it a class A address.

Also, if you run DHCPClient from the terminal as root you get the error in the attached screenshot.

dhcp

I presume that means it is only intended to be run at startup?

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Comments: 23 (23 by maintainers)

Most upvoted comments

Actually, I suspect this will be fixed by #6669. 🥳

Time is perhaps the only thing we have a lot of 😃