Making my Fedora core 5 box a DHCP server

I wish to setup my Fedora core 5 box as a dhcp server. I have 2 nic's one pointing to the web and my home router no problems. The other to my home lan. When I run service dhcpd start/restart/status I get the same error.  dhcpd: unreconized service. So I assume it is not loaded. How do I load this product.

Thanks
steve
steve_millsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

frashiiCommented:
yum install dhcp

then edit /etc/dhcpd.conf to your liking :)
frashiiCommented:
once you are done editing the /etc/dhcpd.conf file, stop and start (or restart) the service to get it to reload its config
service dhcp start

http://www.tuxdocs.net/wiki/index.php?title=DHCP_Configuration_Examples

Has some good examples, the one you might need is changing what interface dhcpd listens on if you don't want the 'outside' to do dhcp :)
/etc/sysconfigx has the specifics
steve_millsAuthor Commented:
The yum install dhcp seemed to work, but if I check the status of the service it is stopped. So then I start it and  ( service dhcpd start ) and it failed. It will not start. If I remove the dhcpd.config file form the /etc then it allows it to start but with no reconition. This is also the case for stop/status etc. I have tried to yum install again and it come up with nothing to do. Should I uninstall dhcp and then reinstall it, and if so how.

Thanks
Steve
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

steve_millsAuthor Commented:
I just did a remove and a intall but still no good.

Thanks
Steve
frashiiCommented:
What does /var/log/dhcpd.log have in it ? ie. what errors are occuring behind the scenes ?
Sorry I was a little slow... was a busy day :)
steve_millsAuthor Commented:
Hi did a find / -name *dhcp* but no dhcpd.log.
The dhcpd.conf is the sample one.
ddns-update-style interim;
ignore client-updates;

subnet 192.168.0.0 netmask 255.255.255.0 {

# --- default gateway
      option routers                  192.168.0.1;
      option subnet-mask            255.255.255.0;

      option nis-domain            "domain.org";
      option domain-name            "domain.org";
      option domain-name-servers      192.168.1.1;

      option time-offset            -18000;      # Eastern Standard Time
#      option ntp-servers            192.168.1.1;
#      option netbios-name-servers      192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
#      option netbios-node-type 2;

      range dynamic-bootp 192.168.0.128 192.168.0.254;
      default-lease-time 21600;
      max-lease-time 43200;

      # we want the nameserver to appear at a fixed address
      host ns {
            next-server marvin.redhat.com;
            hardware ethernet 12:34:56:78:AB:CD;
            fixed-address 207.175.42.254;
      }
}

any other sugesstions
Thanks
Steve
steve_millsAuthor Commented:
Just did a fresh install of fedora.
yum installed dhcp ( no problems )
service stop/start/restart dhcpd ( failed )
cp dhcpd.conf.sample to /etc/dhcpd.conf ( just in case this was the problem )
service stop/start/restart dhcpd ( failed )
??????????????

Thanks
Steve
steve_millsAuthor Commented:
I have worked this out for myself the config in the dhcpd.conf was wrong. I used dhcpd configtest and this showed me the error.

How do I retreive my pionts.

Thanks
Steve
Computer101Commented:
PAQed with points refunded (125)

Computer101
EE Admin

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.