Skip to contentSkip to conversation

Add DHCP to 2.4.x ipconfig support

PATCH New Eric W. Biederman 1 participant 1 message Apr 23, 2001

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add DHCP to 2.4.x ipconfig support

Here is a forward port of the 2.2.x improvements to ipconfig.c. Especially support for DHCP.

Eric

Documentation/Configure.help +15 -0
diff -uNr linux-2.4.3/Documentation/Configure.help linux-2.4.3.ipdhcp/Documentation/Configure.help
@@ -3961,6 +3961,21 @@
   want to use BOOTP, a BOOTP server must be operating on your network.
   Read Documentation/nfsroot.txt for details.
 
+DHCP support
+CONFIG_IP_PNP_DHCP
+  If you want your Linux box to mount its whole root filesystem (the
+  one containing the directory /) from some other computer over the
+  net via NFS and you want the IP address of your computer to be
+  discovered automatically at boot time using the DHCP protocol (a
+  special protocol designed for doing this job), say Y here. In case
+  the boot ROM of your network card was designed for booting Linux and
+  does DHCP itself, providing all necessary information on the kernel
+  command line, you can say N here.
+
+  If unsure, say Y. Note that if you want to use DHCP, a DHCP server
+  must be operating on your network.  Read Documentation/nfsroot.txt
+  for details.
+
 RARP support
 CONFIG_IP_PNP_RARP
   If you want your Linux box to mount its whole root file system (the
include/net/ipconfig.h +29 -12

45 lines not on this page · raw message

net/ipv4/Config.in +1 -0
diff -uNr linux-2.4.3/net/ipv4/Config.in linux-2.4.3.ipdhcp/net/ipv4/Config.in
@@ -20,6 +20,7 @@
 fi
 bool '  IP: kernel level autoconfiguration' CONFIG_IP_PNP
 if [ "$CONFIG_IP_PNP" = "y" ]; then
+   bool '    IP: DHCP support' CONFIG_IP_PNP_DHCP
    bool '    IP: BOOTP support' CONFIG_IP_PNP_BOOTP
    bool '    IP: RARP support' CONFIG_IP_PNP_RARP
 # not yet ready..
net/ipv4/ipconfig.c +527 -158

1,094 lines not on this page · raw message