Linux Newbie help
 help / color / mirror / Atom feed
From: James Miller <jamtat@mailsnare.net>
To: linux-newbie@vger.kernel.org
Subject: dhcp server operation problems
Date: Sat, 24 Jan 2004 00:44:32 -0600 (CST)	[thread overview]
Message-ID: <Pine.LNX.4.58.0401240012380.3894@localhost> (raw)

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

             reply	other threads:[~2004-01-24  6:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-24  6:44 James Miller [this message]
2004-01-24  7:19 ` dhcp server operation problems Ray Olszewski
2004-01-24 18:35   ` dhcp server operation problems - solved James Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0401240012380.3894@localhost \
    --to=jamtat@mailsnare.net \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox