LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DHCP does not start (https://www.linuxquestions.org/questions/linux-networking-3/dhcp-does-not-start-464271/)

anilbh 07-15-2006 07:45 AM

DHCP does not start
 
DHCP does not start by ticking the square in the services GUI . It used to in FC4 . I am now using FC5.:confused:

homey 07-15-2006 08:40 AM

Does it start with the command: service dhcpd restart ?

anilbh 07-15-2006 10:07 PM

No it does not start that way also .

homey 07-16-2006 08:03 AM

Quote:

No it does not start that way also .
Maybe you don't have it installed.
You can check with the command: rpm -qa | grep dhcp

anilbh 07-23-2006 10:11 PM

Quote:

Originally Posted by homey
Maybe you don't have it installed.
You can check with the command: rpm -qa | grep dhcp

Sorry should have checked earlier . Yes it is installed I get 3 lines . v6 I think ..
I have followed instructions in Christopher Negus' Linux Bible for FC4 . :study:

billymayday 07-23-2006 10:13 PM

What does your log say (/var/log/messages)?

gizza23 07-24-2006 11:45 AM

There are two things you need to do here.

1) make sure that there is a static IP assigned to the NIC card via /etc/sysconfig/network-scripts/ifcfg-ethx. dhcpd will refuse to run at bootup if this isn't configured correctly.
2) make sure that the dhcpd.conf file is correctly formatted. dhcpd will not run if this is incorrectly configured. make a backup of the dhcpd.conf file and replace it with a simple one that is sure to work.

Code:

mv /etc/dhcpd.conf /etc/dhcpd.conf.backup

anilbh 07-24-2006 08:52 PM

Quote:

Originally Posted by billymayday
What does your log say (/var/log/messages)?

have not been able to locate any mention of dhcp in the log .

doing
dmesg |grep dhcp
just prints the latest log .


All times are GMT -5. The time now is 03:31 PM.