Forgot to post my dhcpd.conf file. 10.1.1.0 is another internal net housing a DHCP server, firewall and gateway to the internet. In production, this will be replaced by a DSL modem which is given a dynamic IP address. Right now, it looks like this: dhcp client ----- 192.168.1.0 ----- (eth1 - dhcp server) RH6.2 (eth0 - dhcp client) ----- 10.1.1.0 ---- (private if, dhcp server) Gateway (public if to internet) ---> Gateway will be replaced by a DSL modem, and 10.1.1.0 will become an ISP assigned address. Here's the file: #server-identifier DSLRouter; option routers 192.168.1.1; subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.100 192.168.1.199; option domain-name-servers 10.1.1.1; option domain-name "MyDomain.com"; } subnet 10.1.1.0 netmask 255.255.255.0 {} subnet 127.0.0.0 netmask 255.0.0.0 {} subnet 0.0.0.0 netmask 255.255.255.0 {} **[I added this to try to squelch the error, but no joy] And below is my /etc/conf.linuxconf file. I've found that if I comment out the 'module.list 1 dhcpd' line and reboot, all comes up OK and dhcpd stays resident. However, the line gets automagically readded to the file, so the next reboot results in the failure again. Best guess is that I have a corrupt config file somewhere, but again, I'm at a loss re: where to look for it. [base] LINUXCONF.distribution redhat notice.10-welcome.help 952435426 module.list 1 redhatppp module.list 1 modemconf module.list 1 treemenu module.list 1 inittab module.list 1 motd module.list 1 dnsconf module.list 1 inetdconf module.list 1 samba module.list 1 mailconf module.list 1 wuftpd module.list 1 dhcpd [noarch] linuxconf.lastlang en_US [netclient] DNSCONF.dnsneeded 1 FWIW, here's the end of /var/log/messages after booting with 'module.list 1 dhcpd' commented out: Sep 14 09:02:02 DSLRouter dhcpd: Internet Software Consortium DHCP Server 2.0 Sep 14 09:02:02 DSLRouter dhcpd: Internet Software Consortium DHCP Server 2.0 Sep 14 09:02:02 DSLRouter dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The Inte rnet Software Consortium. Sep 14 09:02:02 DSLRouter dhcpd: All rights reserved. Sep 14 09:02:02 DSLRouter dhcpd: Sep 14 09:02:02 DSLRouter dhcpd: Sep 14 09:02:02 DSLRouter dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The Inte rnet Software Consortium. Sep 14 09:02:02 DSLRouter dhcpd: All rights reserved. Sep 14 09:02:02 DSLRouter dhcpd: Please contribute if you find this software use ful. Sep 14 09:02:02 DSLRouter dhcpd: For info, please visit http://www.isc.org/dhcp- contrib.html Sep 14 09:02:02 DSLRouter dhcpd: Sep 14 09:02:02 DSLRouter dhcpd: Sep 14 09:02:02 DSLRouter dhcpd: Please contribute if you find this software use ful. Sep 14 09:02:02 DSLRouter dhcpd: For info, please visit http://www.isc.org/dhcp- contrib.html Sep 14 09:02:02 DSLRouter dhcpd: Sep 14 09:02:03 DSLRouter dhcpd: Listening on LPF/eth1/00:10:4b:dd:53:61/192.168 .1.0 Sep 14 09:02:03 DSLRouter dhcpd: Listening on LPF/eth1/00:10:4b:dd:53:61/192.168 .1.0 Sep 14 09:02:03 DSLRouter dhcpd: Sending on LPF/eth1/00:10:4b:dd:53:61/192.168 .1.0 Sep 14 09:02:03 DSLRouter dhcpd: Sending on Socket/fallback/fallback-net Sep 14 09:02:03 DSLRouter dhcpd: Sep 14 09:02:03 DSLRouter dhcpd: Sending on LPF/eth1/00:10:4b:dd:53:61/192.168 .1.0 Sep 14 09:02:03 DSLRouter dhcpd: Sending on Socket/fallback/fallback-net Sep 14 09:02:03 DSLRouter dhcpd: dhcpd startup succeeded Sep 14 09:02:04 DSLRouter keytable: Loading keymap: Sep 14 09:02:04 DSLRouter keytable: Loading /usr/lib/kbd/keymaps/i386/qwerty/us. kmap.gz Sep 14 09:02:04 DSLRouter keytable: Loading system font: Sep 14 09:02:05 DSLRouter rc: Starting keytable succeeded Sep 14 09:02:07 DSLRouter sendmail: sendmail startup succeeded Sep 14 09:02:07 DSLRouter gpm: gpm startup succeeded Sep 14 09:02:07 DSLRouter linuxconf: Linuxconf final setup Sep 14 09:02:11 DSLRouter rc: Starting linuxconf succeeded bd -----Original Message----- From: Brad Doster [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 13, 2000 10:39 PM To: '[EMAIL PROTECTED]' Subject: dhcpd starts, then quits re: net 0.0.0.0 I'm at my wit's end (yes, that's a singular wit -- all I have left :). I have 2 RH boxes, a 6.1 and a 6.2, both running kernel 2.2.16-3. Both are configured identically as far as dhcpd is concerned (as far as I can tell), yet the 6.1 box works and the 6.2 doesn't. The 6.2 box starts dhcpd successfully, then later (still pre-login) kills it due to no definition for eth1 0.0.0.0 (huh??????). I can't find where this net is being defined, assuming that's the cause. Of course the 6.2 box is the "real" one, and the 6.1 box was for testing purposes only, and they can't be swapped. After startup, if I login and then run '/etc/rc.d/init.d/dhcpd start', all is OK. Of course, this is not adequate, as I won't be at the client's 24/7 waiting for power outages. Relevant config files follow, as well as /var/log/messages for both machines. Looking for where to look next -- see **[...] for my comments. TIA... ifcfg-eth0 (6.2): DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes NAME=PUBLIC ifcfg-eth1 (6.2): DEVICE=eth1 BOOTPROTO=static IPADDR=192.168.1.1 NETMASK=255.255.255.0 ONBOOT=yes NAME=PRIVATE ifcfg-eth0 (6.1): DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes NAME=PUBLIC ifcfg-eth1 (6.1): DEVICE=eth1 ONBOOT=yes NAME=PRIVATE BOOTPROTO=static IPADDR=192.168.0.1 NETMASK=255.255.255.0 /etc/rc.d/init.d/dhcpd (identical on both boxes): #!/bin/sh # # dhcpd This shell script takes care of starting and stopping # dhcpd. # # chkconfig: - 65 35 # description: dhcpd provide access to Dynamic Host Control Protocol. # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. . /etc/sysconfig/network # Check that networking is up. [ ${NETWORKING} = "no" ] && exit 0 [ -f /usr/sbin/dhcpd ] || exit 0 [ -f /etc/dhcpd.conf ] || exit 0 RETVAL=0 # See how we were called. case "$1" in start) # Start daemons. echo -n "Starting dhcpd: " /sbin/route add -host 255.255.255.255 dev eth1 2> /dev/null **[I added this to 6.2 -- no diff] daemon /usr/sbin/dhcpd eth1 **[eth1 only since eth0 is a dhcp client] RETVAL=$? echo [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dhcpd ;; stop) # Stop daemons. echo -n "Shutting down dhcpd: " killproc dhcpd RETVAL=$? echo [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/dhcpd ;; restart|reload) $0 stop $0 start RETVAL=$? ;; status) status dhcpd RETVAL=$? ;; *) echo "Usage: dhcpd {start|stop|restart|status}" exit 1 esac exit $RETVAL **[end of /etc/rc.d/init.d/dhcpd] /var/log/messages (from 6.1, working model): Sep 13 21:20:32 RHRouter dhcpd: Internet Software Consortium DHCP Server 2.0 Sep 13 21:20:32 RHRouter dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The Inter net Software Consortium. Sep 13 21:20:32 RHRouter dhcpd: All rights reserved. Sep 13 21:20:32 RHRouter dhcpd: Sep 13 21:20:32 RHRouter dhcpd: Please contribute if you find this software usef ul. Sep 13 21:20:32 RHRouter dhcpd: For info, please visit http://www.isc.org/dhcp-c ontrib.html Sep 13 21:20:32 RHRouter dhcpd: Sep 13 21:20:32 RHRouter dhcpd: Internet Software Consortium DHCP Server 2.0 Sep 13 21:20:32 RHRouter dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The Inter net Software Consortium. Sep 13 21:20:32 RHRouter dhcpd: All rights reserved. Sep 13 21:20:32 RHRouter dhcpd: Sep 13 21:20:32 RHRouter dhcpd: Please contribute if you find this software usef ul. Sep 13 21:20:32 RHRouter dhcpd: For info, please visit http://www.isc.org/dhcp-c ontrib.html Sep 13 21:20:32 RHRouter dhcpd: Sep 13 21:20:32 RHRouter dhcpd: Listening on LPF/eth1/00:a0:c9:9e:4d:38/192.168. 0.0 Sep 13 21:20:32 RHRouter dhcpd: Listening on LPF/eth1/00:a0:c9:9e:4d:38/192.168. 0.0 Sep 13 21:20:32 RHRouter dhcpd: Sending on LPF/eth1/00:a0:c9:9e:4d:38/192.168. 0.0 Sep 13 21:20:32 RHRouter dhcpd: Sending on Socket/fallback/fallback-net Sep 13 21:20:32 RHRouter dhcpd: Sending on LPF/eth1/00:a0:c9:9e:4d:38/192.168. 0.0 Sep 13 21:20:32 RHRouter dhcpd: Sending on Socket/fallback/fallback-net Sep 13 21:20:33 RHRouter dhcpd: dhcpd startup succeeded **[All OK here] Sep 13 21:20:33 RHRouter keytable: Loading keymap: Sep 13 21:20:33 RHRouter keytable: Loading /usr/lib/kbd/keymaps/i386/qwerty/us.k map.gz Sep 13 21:20:33 RHRouter keytable: Loading system font: Sep 13 21:20:33 RHRouter rc: Starting keytable succeeded Sep 13 21:20:35 RHRouter sendmail: sendmail startup succeeded Sep 13 21:20:35 RHRouter gpm: gpm startup succeeded Sep 13 21:20:36 RHRouter xfs: xfs startup succeeded Sep 13 21:20:36 RHRouter xfs: Warning: The directory "/usr/X11R6/lib/X11/fonts/m isc" does not exist. Sep 13 21:20:36 RHRouter xfs: Entry deleted from font path. Sep 13 21:20:36 RHRouter xfs: Warning: The directory "/usr/X11R6/lib/X11/fonts/1 00dpi" does not exist. Sep 13 21:20:36 RHRouter xfs: Entry deleted from font path. Sep 13 21:20:36 RHRouter xfs: Warning: The directory "/usr/X11R6/lib/X11/fonts/m isc" does not exist. Sep 13 21:20:36 RHRouter xfs: Entry deleted from font path. Sep 13 21:20:36 RHRouter xfs: Warning: The directory "/usr/X11R6/lib/X11/fonts/T ype1" does not exist. Sep 13 21:20:36 RHRouter xfs: Entry deleted from font path. Sep 13 21:20:36 RHRouter xfs: Warning: The directory "/usr/X11R6/lib/X11/fonts/S peedo" does not exist. Sep 13 21:20:36 RHRouter xfs: Entry deleted from font path. Sep 13 21:20:36 RHRouter linuxconf: Linuxconf final setup Sep 13 21:20:39 RHRouter dhcpd: Internet Software Consortium DHCP Server 2.0 Sep 13 21:20:39 RHRouter dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The Inter net Software Consortium. Sep 13 21:20:39 RHRouter dhcpd: All rights reserved. Sep 13 21:20:39 RHRouter dhcpd: Sep 13 21:20:39 RHRouter dhcpd: Please contribute if you find this software usef ul. Sep 13 21:20:39 RHRouter dhcpd: For info, please visit http://www.isc.org/dhcp-c ontrib.html Sep 13 21:20:39 RHRouter dhcpd: Sep 13 21:20:39 RHRouter dhcpd: Listening on LPF/eth1/00:a0:c9:9e:4d:38/192.168. 0.0 Sep 13 21:20:39 RHRouter dhcpd: Sending on LPF/eth1/00:a0:c9:9e:4d:38/192.168. 0.0 Sep 13 21:20:39 RHRouter dhcpd: Sending on Socket/fallback/fallback-net Sep 13 21:20:39 RHRouter linuxconf: Killing /usr/sbin/dhcpd with signal 15 r eturn 0 **[I don't know why linuxconf kills and restarts it, but all seems OK...] Sep 13 21:20:39 RHRouter linuxconf: Executing: /usr/sbin/dhcpd eth1 2>&1 Sep 13 21:20:39 RHRouter linuxconf: > Internet Software Consortium DHCP Server 2.0 Sep 13 21:20:39 RHRouter linuxconf: > Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. Sep 13 21:20:39 RHRouter linuxconf: > All rights reserved. Sep 13 21:20:39 RHRouter linuxconf: > Sep 13 21:20:39 RHRouter linuxconf: > Please contribute if you find this software useful. Sep 13 21:20:39 RHRouter linuxconf: > For info, please visit http://www. isc.org/dhcp-contrib.html Sep 13 21:20:39 RHRouter linuxconf: > Sep 13 21:20:39 RHRouter linuxconf: > Listening on LPF/eth1/00:a0:c9:9e: 4d:38/192.168.0.0 Sep 13 21:20:39 RHRouter linuxconf: > Sending on LPF/eth1/00:a0:c9:9e: 4d:38/192.168.0.0 Sep 13 21:20:39 RHRouter linuxconf: > Sending on Socket/fallback/fallb ack-net **[No problems reported here, and it's still running after login] Sep 13 21:20:39 RHRouter rc: Starting linuxconf succeeded **[end of /var/log/messages from 6.1 (working) box] /var/log/messages (from 6.2, broken model): Sep 13 21:34:42 DSLRouter dhcpd: Internet Software Consortium DHCP Server 2.0 Sep 13 21:34:42 DSLRouter dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The Inte rnet Software Consortium. Sep 13 21:34:42 DSLRouter dhcpd: Internet Software Consortium DHCP Server 2.0 Sep 13 21:34:42 DSLRouter dhcpd: All rights reserved. Sep 13 21:34:42 DSLRouter dhcpd: Sep 13 21:34:42 DSLRouter dhcpd: Please contribute if you find this software use ful. Sep 13 21:34:42 DSLRouter dhcpd: For info, please visit http://www.isc.org/dhcp- contrib.html Sep 13 21:34:42 DSLRouter dhcpd: Sep 13 21:34:42 DSLRouter dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The Inte rnet Software Consortium. Sep 13 21:34:42 DSLRouter dhcpd: All rights reserved. Sep 13 21:34:42 DSLRouter dhcpd: Sep 13 21:34:42 DSLRouter dhcpd: Please contribute if you find this software use ful. Sep 13 21:34:42 DSLRouter dhcpd: For info, please visit http://www.isc.org/dhcp- contrib.html Sep 13 21:34:42 DSLRouter dhcpd: Sep 13 21:34:43 DSLRouter dhcpd: Listening on LPF/eth1/00:10:4b:dd:53:61/192.168 .1.0 Sep 13 21:34:43 DSLRouter dhcpd: Listening on LPF/eth1/00:10:4b:dd:53:61/192.168 .1.0 Sep 13 21:34:43 DSLRouter dhcpd: Sending on LPF/eth1/00:10:4b:dd:53:61/192.168 .1.0 Sep 13 21:34:43 DSLRouter dhcpd: Sending on Socket/fallback/fallback-net Sep 13 21:34:43 DSLRouter dhcpd: Sep 13 21:34:43 DSLRouter dhcpd: Sending on LPF/eth1/00:10:4b:dd:53:61/192.168 .1.0 Sep 13 21:34:43 DSLRouter dhcpd: Sending on Socket/fallback/fallback-net Sep 13 21:34:43 DSLRouter dhcpd: dhcpd startup succeeded **[All OK here] Sep 13 21:34:44 DSLRouter keytable: Loading keymap: Sep 13 21:34:44 DSLRouter keytable: Loading /usr/lib/kbd/keymaps/i386/qwerty/us. kmap.gz Sep 13 21:34:44 DSLRouter keytable: Loading system font: Sep 13 21:34:45 DSLRouter rc: Starting keytable succeeded Sep 13 21:34:47 DSLRouter sendmail: sendmail startup succeeded Sep 13 21:34:47 DSLRouter gpm: gpm startup succeeded Sep 13 21:34:48 DSLRouter linuxconf: Linuxconf final setup Sep 13 21:34:52 DSLRouter dhcpd: Internet Software Consortium DHCP Server 2.0 Sep 13 21:34:52 DSLRouter dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The Inte rnet Software Consortium. Sep 13 21:34:52 DSLRouter dhcpd: All rights reserved. Sep 13 21:34:52 DSLRouter dhcpd: Sep 13 21:34:52 DSLRouter dhcpd: Please contribute if you find this software use ful. Sep 13 21:34:52 DSLRouter dhcpd: For info, please visit http://www.isc.org/dhcp- contrib.html Sep 13 21:34:52 DSLRouter dhcpd: Sep 13 21:34:52 DSLRouter dhcpd: Listening on LPF/eth1/00:10:4b:dd:53:61/192.168 .1.0 Sep 13 21:34:52 DSLRouter dhcpd: Sending on LPF/eth1/00:10:4b:dd:53:61/192.168 .1.0 Sep 13 21:34:52 DSLRouter dhcpd: No subnet declaration for eth1 (0.0.0.0). **[Where is 0.0.0.0 coming from????] Sep 13 21:34:52 DSLRouter dhcpd: Please write a subnet declaration for the netwo rk segment to Sep 13 21:34:52 DSLRouter dhcpd: which interface eth1 is attached. Sep 13 21:34:52 DSLRouter dhcpd: exiting. **[The first breaking point] Sep 13 21:34:52 DSLRouter linuxconf: Killing /usr/sbin/dhcpd with signal 15 return 0 Sep 13 21:34:52 DSLRouter linuxconf: Executing: /usr/sbin/dhcpd eth1 eth1 2> &1 **[Why two 'eth1's on this line? -- this may be the cause?] Sep 13 21:34:52 DSLRouter linuxconf: > Internet Software Consortium DHCP Server 2.0 Sep 13 21:34:52 DSLRouter linuxconf: > Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. Sep 13 21:34:52 DSLRouter linuxconf: > All rights reserved. Sep 13 21:34:52 DSLRouter linuxconf: > Sep 13 21:34:52 DSLRouter linuxconf: > Please contribute if you find thi s software useful. Sep 13 21:34:52 DSLRouter linuxconf: > For info, please visit http://www .isc.org/dhcp-contrib.html Sep 13 21:34:52 DSLRouter linuxconf: > Sep 13 21:34:52 DSLRouter linuxconf: > Listening on LPF/eth1/00:10:4b:dd :53:61/192.168.1.0 Sep 13 21:34:52 DSLRouter linuxconf: > Sending on LPF/eth1/00:10:4b:dd :53:61/192.168.1.0 Sep 13 21:34:52 DSLRouter linuxconf: > No subnet declaration for eth1 (0 .0.0.0). **[Here we go again] Sep 13 21:34:52 DSLRouter linuxconf: > Please write a subnet declaration for the network segment to Sep 13 21:34:52 DSLRouter linuxconf: > which interface eth1 is attached. Sep 13 21:34:52 DSLRouter linuxconf: > exiting. **[c'ya! If I later login and start dhcpd, all is OK (???)] Sep 13 21:34:52 DSLRouter linuxconf: * return 1 Sep 13 21:34:54 DSLRouter rc: Starting linuxconf succeeded bd _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list