Discussion Locked

DHCP client service in Linux

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Did you know you don't need a DHCP client?

you can use the kernel autoconfiguration to setup your network working, just add ip=dhcp.

Are there any particular kernel modules needed for that?

Nope, you can use the netboot hint to see all the options required http://documents.jg555.com/netboot

Jim Gifford is the person I have to credit for this tidbit of information.
someone was discussing the lack of dhcp client software in the linux from scratch sources.
in a discussion on the lack of an http client tool to download packages with to add more software on an lfs system.
[ ftp is supported for this purpose, but you have to stop and think to realise it ;) ]

edited for typos

5 replies

by jaqui

reading the lfs-help email list, I find interesting little features in linux like this. :)

by stress junkie

Still, if it works in your environment for your DHCP requirements, then it must be robust enough to use. The only potential problem is if someone else comes in to diagnose a DHCP problem and doesn't see a DHCP script they will misdiagnose the cause of the problem.

Too bad, though. :D

by jaqui

I'm all static ips, so I don't use it myself.
If someone with a small network needs to use it for a low end system that isn't resource rich then it's a handy tool option, if you are doung thin client networking then it's a useful tool.

after all, you can't use tftp to transfer the boot files if you don't have an ip address :D

The funny thing is that LFS is designed as a tool to let you learn more about the os, yet it's never mentioned in any linux courses.

This discussion is closed to new replies.