Re: Prepackaged kernels in Potato not configured for DHCP
I just spent some time with working with dhcpcd and dhcp-client.
dhcp-client is way better than dhcpcd.
Why:
1> dhcpcd and dhcp (server) do not play well together (dhcp will answer
the dhcpcd request, so the computer assigned itself an ip address)
dhcp-client and dhcp work fine together
2> dhcp-client has an easier to use "hook" (execute program to do extra
config on a new lease) instead of editing /etc/init.d/dhcpcd, create
/etc/dhclient-enter-hooks and/or /etc/dhclient-exit-hooks
3> dhcp-client has a cleaner configuration (instead of editing
/etc/init.d/dhcpcd, edit /etc/dhclient.conf)
4> dhcp-client can be configured with "fixed-address" leases. So, if
you have a computer that moves between different networks, some with
DHCP and some without, dhcp-client can handle it.
I have a laptop, and I can move it to any of my three networks that
don't have DHCP, or any network that does, with no further config
change needed. I think this is really sweet.
dhcp-client has one downside: the kernel needs to be compiled with
CONFIG_PACKET and CONFIG_FILTER, which the default Debian kernel is
not.
Someone else has already filed a wishlist bug (53105) against the
kernel package asking for the kernel to be compiled with these options
on by default.
Cheers!
Eric
On Thu, 13 Jan 2000 13:48:55 -0600, David Starner wrote:
>On Thu, Jan 13, 2000 at 08:32:49PM +0100, Mikael Djurfeldt wrote:
>> I just tried to install a Potato system for a colleague.
>>
>> It reminded me of the fact that one has to recompile the kernels
>> distributed with Potato in order to use DHCP.
>
>Why? I don't use the standard kernels, but it was my impression
>that dhcp is entirely outside the kernel. To support that, I don't
>remember any option on it while configuring the kernel, and I
>know that it depends on a dhcp client being installed. (dhcpcd
>is my preferened version in Debian.) Install that and you should
>be fine.
>
>--
>David Starner - dstarner98@aasaa.ofe.org
>If you wish to strive for peace of soul then believe;
>if you wish to be a devotee of truth, then inquire.
> -- Friedrich Nietzsche
>
>
>--
>To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
>with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
Reply to: