Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DHCP will not start!
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
demon42
n00b
n00b


Joined: 27 Jan 2005
Posts: 19

PostPosted: Fri Feb 04, 2005 5:31 pm    Post subject: DHCP will not start! Reply with quote

Please Help!!!

My machine has three ethernet cards, I am trying to set them up as such:
eth0: DHCP server (static IP), seperate vlan
eth1: WAN connection (static IP, on router I do not control)
eth2: not sure/doesn't matter

I have gone over and recompiled my kernel several times, but with the command "dchpd" I always get the error:
Code:
socket: Protocol not available - make sure CONFIG_PACKET (Packet Socket) and CONFIG_FILTER (Socket Filtering) are enabled in your kernel configuration!

I am positive they are both enabled. Please help?
I have taken a screenshot of with the following files displayed:

/etc/conf.d/net
/etc/dhcp/dhcpd.conf
/etc/conf.d/dhcp
and the output from the command "dhcpd"

Please note, in the /etc/conf.d/net file, the commented line routes_eth1... is exactly how I have it written at the bottom of the file.

not included:
'ifconfig -a' output: all three ethernet cards appear.

Do you need me to post any other files? If so, maybe that's what I am mising!!!

Thank you
Back to top
View user's profile Send private message
psychomunky
Guru
Guru


Joined: 02 Nov 2004
Posts: 337
Location: Canada

PostPosted: Fri Feb 04, 2005 5:59 pm    Post subject: Reply with quote

Is there any info in your /var/log/messages files (/var/log/messages if you use syslog, /var/log/messages/everything/current if you use metalog)that appear when you get this error??

Also, can we see your kernel config file??
Back to top
View user's profile Send private message
demon42
n00b
n00b


Joined: 27 Jan 2005
Posts: 19

PostPosted: Fri Feb 04, 2005 6:12 pm    Post subject: Reply with quote

Here is a screenshot of the related area in my .config file.

Yes, there is info in the error log, but it is identical to the error output from trying to start dhcp with 'dhcpd'

I am more than willing to list ALL the current kernel settings if you need them... (Is there an easy way to do that?)

thank you again, any ideas?
Back to top
View user's profile Send private message
Codo
Apprentice
Apprentice


Joined: 17 May 2004
Posts: 271

PostPosted: Fri Feb 04, 2005 6:31 pm    Post subject: Reply with quote

I think your eth2 is messing up with eth1. Take it out. Why are you broadcasting on the same as the other one??? Not an expert, BTW.

Have you checked to router guide? http://www.gentoo.org/doc/en/home-router-howto.xml?
Back to top
View user's profile Send private message
demon42
n00b
n00b


Joined: 27 Jan 2005
Posts: 19

PostPosted: Fri Feb 04, 2005 6:42 pm    Post subject: Reply with quote

I've tried taking eth2, but it didn't make a difference, except that the No subnet declaration... line did not appear. Also, I think you meant that it''s messing with eth0... right? eth1 works fine.

And yes, I have looked at that guide. In fact, I went about setting up dhcp by following that guide.

thanks anyways
Back to top
View user's profile Send private message
demon42
n00b
n00b


Joined: 27 Jan 2005
Posts: 19

PostPosted: Mon Feb 07, 2005 9:29 am    Post subject: Reply with quote

*bump*
Please Help?:cry:
Back to top
View user's profile Send private message
Codo
Apprentice
Apprentice


Joined: 17 May 2004
Posts: 271

PostPosted: Mon Feb 07, 2005 11:55 am    Post subject: Reply with quote

I would say forget for a second about your third card, and follow the instructions exactly as they are. Make sure you run lilo after compiling your kernel (i'm sure you are)
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