* ipconfig problems
@ 2002-06-21 17:25 Robert Schwebel
0 siblings, 0 replies; only message in thread
From: Robert Schwebel @ 2002-06-21 17:25 UTC (permalink / raw)
To: linux-kernel
Hi,
[I asked this recently on the linux-net list, but nobody answered. Perhaps
I have more luck here.]
is somebody on this list maintaining the ipconfig (bootp/dhcp) stuff? In
Documentation/nfsroot.txt should be a hint that for the "autoconf"
parameter of "ip=" there is also the possibility to use "dhcp". The
documentation differs from the sourcecode in net/ipv4/ipconfig.c here.
Reading the docs I thought that if you want to use DHCP you also have to
set "ip=bootp", but this goes terribly wrong. I have the impression that
there can be inconsistencies between the compile time- and runtime
configuration. For example, if you only enable dhcp in the kernel
configuration and put "ip=bootp" on the command line the
ip_auto_config_setup function seems to try to interpret the string as an IP
address, which results in ic_myaddr being set to something else than
INADDR_NONE. Afterwards in ic_bootp_recv this is recognized and the
received (correct) DHCPOFFER is silently droped, which is a pain in the ass
to debug ... :-)
Cheers,
Robert
--
+--------------------------------------------------------+
| Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de |
| Pengutronix - Linux Solutions for Science and Industry |
| Braunschweiger Str. 79, 31134 Hildesheim, Germany |
| Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4 |
+--------------------------------------------------------+
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-06-21 17:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-21 17:25 ipconfig problems Robert Schwebel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox