View previous topic :: View next topic |
Author |
Message |
john_i n00b
Joined: 08 Dec 2003 Posts: 11
|
Posted: Mon Dec 08, 2003 12:36 am Post subject: dhcpd startup parameter |
|
|
/etc/init.d/dhcp start fails to start the dhcpd daemon. Error is dhcpd: Not configured to listen on any interfaces!
Workaround: starting at the command line (/usr/sbin/dhcpd eth1) brings it up properly.
Setting the parameter in /etc/conf.d/net (dhcpd_eth1="eth1") has no effect.
Kernel is 2.6.0-test11-gentoo-r1. |
|
Back to top |
|
|
ckdake l33t
Joined: 10 Apr 2003 Posts: 889 Location: Atlanta, GA
|
Posted: Mon Dec 08, 2003 5:50 am Post subject: |
|
|
try doing /etc/init.d/net.eth0 instead and maker sure that in /etc/conf.d/net you have eth0 set to dhcp. _________________ http://ckdake.com/ |
|
Back to top |
|
|
john_i n00b
Joined: 08 Dec 2003 Posts: 11
|
Posted: Tue Dec 09, 2003 12:30 am Post subject: net.eth0 start |
|
|
Thanks, but sorry, maybe I didn't understand your reply... net.eth0 was already started (at boot). And the dhcp parameter for eth0 is indeed set in /etc/conf.d/net. (iface_eth0="dhcp"). |
|
Back to top |
|
|
ckdake l33t
Joined: 10 Apr 2003 Posts: 889 Location: Atlanta, GA
|
Posted: Tue Dec 09, 2003 1:02 am Post subject: |
|
|
are you trying to run a dhcp server? that is the only reason you would need to start up dhcpd. _________________ http://ckdake.com/ |
|
Back to top |
|
|
john_i n00b
Joined: 08 Dec 2003 Posts: 11
|
Posted: Tue Dec 09, 2003 1:18 am Post subject: dhcpd server |
|
|
Yes, indeed, I am running the dhcpd server. providing address for my internal lan on eth1. External is eth0, and that is a dhcp client, getting an address from my ISP. |
|
Back to top |
|
|
ckdake l33t
Joined: 10 Apr 2003 Posts: 889 Location: Atlanta, GA
|
Posted: Tue Dec 09, 2003 1:29 am Post subject: |
|
|
ohh. ok. I thought you were just trying to get a dhcp address. sorry for the confusion. It says that you have no interface set up, So, edit /etc/conf.d/dhcp if that exists. I don't have dhcpd installed on my machine so I can't say for sure, but the settings in /etc/conf.d/net are just for setting up the ethernet interfaces, not running a dhcp server. _________________ http://ckdake.com/ |
|
Back to top |
|
|
|