Question

Locked

DHCP Problem

By class12it ·
Hi,

I have installed Linux Fedora Core ver 4. File ?dhcpd.conf? does'nt exists in the ?/etc? directory so I copied from ?/etc/log.d/conf/services? directory to the ?/etc? directory by simply dragging it using the command ?cp
/etc/log.d/conf/services/dhcpd.conf /etc? doesn't responds as there occurs an error that your destination is missing.
I used rpm -qa dhcp* and it replied as
dhcpv6_client-0.10-13
This has dhcpd.conf, v 1.5 2005/02/24.
chkconfig dhcpd on results
error reading info on service dhcpd: No such file or directory.
So the problem lies in the fact how to edit it and make it operable.

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Wrong directory?

by Absolutely In reply to DHCP Problem

I'm not sure about all the differences from FC, but in Debian the directory containing dhcpd.conf is /etc/dhcp3. It looks like yours would be /etc/dhcp6, but I'm not certain.

Collapse -

Ew... FC

by deity_chooch In reply to DHCP Problem

First, I'd suggest getting away from Fedora Core distributions. I've had several issues with them; in fact, I think FC3 or FC4 needs a kernel upgrade immediately after an install (at least with the hardware I used). You might also check into that.

If it is installed, have you checked for a startup script in the /etc/init.d/ directory? Or you could `locate` it or check the man page to find the configuration file.

Collapse -

you can use this as a starting point...

by EvilHomerGD In reply to Ew... FC

from console:
vi /etc/dhcpd.conf
add the following minimal configuration (you can change the IPs as needed)

option domain-name-servers 192.168.3.1;
option routers 192.168.3.1;
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
#
# testlan
subnet 192.168.3.0 netmask 255.255.255.0 {
range 192.168.3.60 192.168.3.254;
}

write and quit from vi and you should have a working dhcpd.conf file.

Collapse -

further problem dhcp........

by class12it In reply to you can use this as a sta ...

I' v alreay edited my dhcpd.conf with editing the comments.

What I did,
/etc/dhcpd.conf(it does'nt show any message)

service start dhcpd
start: unrecognized service

I' v a dhcp folder inside,
/usr/share/doc
and it has two components further
/usr/share/doc/dhclient-3.0.2
/usr/share/doc/dhcpv6_client.0.10

Its still causing many problems which is delaying my project.

Collapse -

further dhcp problem

by class12it In reply to you can use this as a sta ...

I' v alreay edited my dhcpd.conf with editing the comments.

What I did,
/etc/dhcpd.conf(it does'nt show any message)

service start dhcpd
start: unrecognized service

I' v a dhcp folder inside,
/usr/share/doc
and it has two components further
/usr/share/doc/dhclient-3.0.2
/usr/share/doc/dhcpv6_client.0.10

Its still causing many problems which is delaying my project.

Collapse -

further dhcp problem

by class12it In reply to you can use this as a sta ...

I' v alreay edited my dhcpd.conf with editing the comments.

What I did,
/etc/dhcpd.conf(it does'nt show any message)

service start dhcpd
start: unrecognized service

I' v a dhcp folder inside,
/usr/share/doc
and it has two components further
/usr/share/doc/dhclient-3.0.2
/usr/share/doc/dhcpv6_client.0.10

Its still causing many problems which is delaying my project regarding DHCP configuration in fc4.

Back to Linux Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums