From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Miller Subject: dhcp server operation problems Date: Sat, 24 Jan 2004 00:44:32 -0600 (CST) Sender: linux-newbie-owner@vger.kernel.org Message-ID: Mime-Version: 1.0 Return-path: List-Id: Content-Type: TEXT/PLAIN; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-newbie@vger.kernel.org This is really a distro-specific issue I'm having, but the place I'd nomrally turn for help (Freesco forums) is currently down and has been for at least a couple of weeks now. Not having any idea when the forums might be functioning again, I thought I'd post a query here in hopes that some general information I could get here might help resolve the problem. The problem is with a Freesco router I've set up on an old machine (P180 24MB RAM) and with error messages I get when trying to enable the dhcp server that is built in to Freesco (hitherto I've used static addressing with this router, and it has worked just fine). Anyway, when I enable the dhcp server, then enter an address pool range in the appropriate setup dialogue for the relevant interface, I get the following message during boot/setup: starting dhcp /etc/dhcpd.conf line 4 expecting parameter or declaration umask ^ configuration file errors encountered -- exiting And, of course, the dhcp server doesn't run and doesn't make dhcp offers (that's my understanding of why my computers that are configured to request IP by dhcp fail to set up the interface when connected to this router/firewall). Here is my /etc/dhcpd.conf file, in case that might offer some clues: option domain-name "mynet"; default-lease-time 604800; max-lease-time 6004800; umask 22 /etc/dhcpd.leases subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.10 192.168.1.20; option subnet-mask 255.255.255.0; option broadcast-address 192.168.1.255; option routers 192.168.1.1; option domain-name-servers 192.168.1.1,134.48.25.32; } The file was copied and pasted here, so there really are 2 spaces between "umask" and 22 and 22 and /etc. I thought perhaps the problem may lie with an extraneous space being added and an inability to therefore process what follows (22 - whatever that does). I can't really edit this file to find out though, since it gets dynamically written each time the computer boots or restarts. So, does anyone see here any obvious source for the problem I'm encountering in getting the dhcp server to run and offer leases? Thanks for any input on this. James - To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs