[SOLVED] dhcpd does not start

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] dhcpd does not start

Postby denis_p » Jul 1st, '11, 06:50

Hi everyone,

I'm trying to set my computer as a gateway, but when running
/etc/init.d/dhcpd start

It fails and /var/log/syslog says :
Not configured to listen on any interfaces

though /etc/sysconfig/dhcpd contains
INTERFACES="eth0"

Any idea where the problem is ?
Thanks,

Denis
denis_p
 
Posts: 9
Joined: Jun 29th, '11, 10:10

Re: dhcpd does not start

Postby djennings » Jul 2nd, '11, 13:54

Have you configured the subnet in /etc/dhcpd.conf ?
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: dhcpd does not start [SOLVED]

Postby denis_p » Dec 29th, '11, 00:29

Thanks for your answer djennings, i'm really sorry for answering such a long time after your post.
For some unknown reason, though I had subscribed to that topic, your post notice did not arrive into my mailbox.

I recently did a full reinstall of Mageia 1 and performed new tests that made me find the reason for my problem :
my network is only composed with two computers, one client and one gateway linked with a simple ethernet cable. So, when the client computer is not powered on, the ethernet network appears to the gateway as if it was down, that's the reason why dhcpd refuses to start on it.
As soon as the client computer is on, /etc/init.d/dhcpd start succeeds.

I wanted to mark that topic as solved in my first message, but maybe because it's too old, that does not seem possible. So it will stay as it is.
denis_p
 
Posts: 9
Joined: Jun 29th, '11, 10:10


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest