[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dhcp



Sebastiaan wrote:

> High,
> >
> > Run ps xa | grep dhcp. I you can see a line for dhcpd it is running,
> > take a look at /var/log/syslog for dhcpd error messages. If there is no
> > dhcpd running try editing /etc/init.d/dhcp, set run_dhcpd=1 and restart
> > the dhcp daemon (/etc/init.d/dhcp restart). Debian sets run_dhcpd=0 to
> > disable dhcpd from starting before a /etc/dhcpd.conf is properly set.
> >
>
> I guess something went wrong during install. I did a apt-get install dhcp
> once and I remember that I got a message which tells me to edit
> /etc/init.d/dhcp. But I tried some other packages (bootp) and I got errors
> when uninstalling dhcp and it also would not reinstall. So I had to force
> some things, but now and empty /etc/init.d/dhcp is created and dhcpd.conf
> is not created at all. I tried to run /usr/sbin/dhcpd -d -f for debugging
> but that did not help.
>
> Is this an error in the dhcp package? I am using potato. Can anyone send
> me an original /etc/init.d/dhcp file?

If you have the dhcpd package installed (which is what you'll need to run your dhcp server) then the example configuration file can be found as:

/usr/doc/dhcpd/examples/dhcpd.conf.gz

You mainly need to specify the range of IP addresses you'll dole out to clients. Since this will always vary from site to site the install package can't automatically set this and start up the server.

--
Jens B. Jorgensen
jens.jorgensen@tallan.com


_______________________________________________
Why pay for something you could get for free?
NetZero provides FREE Internet Access and Email
http://www.netzero.net/download/index.html



Reply to: