lkml.org 
[lkml]   [2001]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: PATCH: Enable IP PNP for 2.4.4-ac8
From
Date
"H . J . Lu" <hjl@lucon.org> writes:

> On Fri, May 11, 2001 at 04:28:05PM -0700, David S. Miller wrote:
> >
> > H . J . Lu writes:
> > > 2.4.4-ac8 disables IP auto config by default even if CONFIG_IP_PNP is
> > > defined. Here is a patch.
> >
> > It doesn't make any sense to enable this unless parameters are
> > given to the kernel via the kernel command line or from firmware
> > settings.
>
> >From Configure.help:
>
> IP: kernel level autoconfiguration
> CONFIG_IP_PNP
> This enables automatic configuration of IP addresses of devices and
> of the routing table during kernel boot, based on either information
> supplied on the kernel command line or by BOOTP or RARP protocols.
> You need to say Y only for diskless machines requiring network
> access to boot (in which case you want to say Y to "Root file system
> on NFS" as well), because all other machines configure the network
> in their startup scripts.
>
> It works fine for 2.4.4. However, in 2.4.4-ac8, even if I select
> CONFIG_IP_PNP, I have to pass ip=xxxx to kernel, in addition to
> nfsroot=x.x.x.x:/foo/bar. With 2.4.4, I can just pass
> nfsroot=x.x.x.x:/foo/bar to kernel.

O.k. Configure.help needs to be updated. "ip=on" or "ip=bootp" or
"ip=dhcp" work fine. I wonder if I forgot to forward port the docs?

This same situation exists for 2.2.18 & 2.2.19 as well.

The only way to get long term stability out of this is to write
a user space client, you can put in a ramdisk. One of these days...

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.078 / U:10.764 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site