View previous topic :: View next topic |
Author |
Message |
demon42 n00b


Joined: 27 Jan 2005 Posts: 19
|
Posted: Fri Feb 04, 2005 5:31 pm Post subject: DHCP will not start! |
|
|
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 |
|
 |
psychomunky Guru


Joined: 02 Nov 2004 Posts: 337 Location: Canada
|
Posted: Fri Feb 04, 2005 5:59 pm Post subject: |
|
|
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 |
|
 |
demon42 n00b


Joined: 27 Jan 2005 Posts: 19
|
Posted: Fri Feb 04, 2005 6:12 pm Post subject: |
|
|
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 |
|
 |
Codo Apprentice


Joined: 17 May 2004 Posts: 271
|
Posted: Fri Feb 04, 2005 6:31 pm Post subject: |
|
|
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 |
|
 |
demon42 n00b


Joined: 27 Jan 2005 Posts: 19
|
Posted: Fri Feb 04, 2005 6:42 pm Post subject: |
|
|
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 |
|
 |
demon42 n00b


Joined: 27 Jan 2005 Posts: 19
|
Posted: Mon Feb 07, 2005 9:29 am Post subject: |
|
|
*bump*
Please Help? |
|
Back to top |
|
 |
Codo Apprentice


Joined: 17 May 2004 Posts: 271
|
Posted: Mon Feb 07, 2005 11:55 am Post subject: |
|
|
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 |
|
 |
|