Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcpd startup parameter
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
john_i
n00b
n00b


Joined: 08 Dec 2003
Posts: 11

PostPosted: Mon Dec 08, 2003 12:36 am    Post subject: dhcpd startup parameter Reply with quote

/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
View user's profile Send private message
ckdake
l33t
l33t


Joined: 10 Apr 2003
Posts: 889
Location: Atlanta, GA

PostPosted: Mon Dec 08, 2003 5:50 am    Post subject: Reply with quote

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
View user's profile Send private message
john_i
n00b
n00b


Joined: 08 Dec 2003
Posts: 11

PostPosted: Tue Dec 09, 2003 12:30 am    Post subject: net.eth0 start Reply with quote

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
View user's profile Send private message
ckdake
l33t
l33t


Joined: 10 Apr 2003
Posts: 889
Location: Atlanta, GA

PostPosted: Tue Dec 09, 2003 1:02 am    Post subject: Reply with quote

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
View user's profile Send private message
john_i
n00b
n00b


Joined: 08 Dec 2003
Posts: 11

PostPosted: Tue Dec 09, 2003 1:18 am    Post subject: dhcpd server Reply with quote

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
View user's profile Send private message
ckdake
l33t
l33t


Joined: 10 Apr 2003
Posts: 889
Location: Atlanta, GA

PostPosted: Tue Dec 09, 2003 1:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum