Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Having problems after following Gentoo Router Guide
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
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Thu Jul 28, 2005 4:07 pm    Post subject: Having problems after following Gentoo Router Guide Reply with quote

I am having the problem after following http://www.gentoo.org/doc/en/home-router-howto.xml
to the last word.
during boot I have this:
Code:
* Starting dhcpd ...                   [ !! ]

But it should be like this
Code:
* Starting dhcpd ...                   [ ok ]

"ok" instead of "!!".
Does anybody has any ideas?
_________________
Does God made man up, or was it the other way around? - Friedrich Nietzsche.
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Thu Jul 28, 2005 5:05 pm    Post subject: Reply with quote

Do you have anything in your logs? I assume this the router's DHCP failing, rather than dhcpcd. I'd be checking the dhcp.conf file for any typos in case it is barfing on that. Try starting the thing by hand and seeing if you get output to show the error. Add the debug option (maybe -d) when running it for more verbose output/logging.
Back to top
View user's profile Send private message
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Thu Jul 28, 2005 6:00 pm    Post subject: Reply with quote

magic919 wrote:
Do you have anything in your logs?

How do I check this?
Quote:
I assume this the router's DHCP failing, rather than dhcpcd. I'd be checking the dhcp.conf file for any typos in case it is barfing on that.

I dont know what is "dhcpcd". I checked th dhcp.conf for typos, none found.
Quote:
Try starting the thing by hand and seeing if you get output to show the error

Tryed it, no error message:
Code:
my_comp bin # dhcpd
Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 leases to leases file.

Not configured to listen on any interfaces!

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.
my_comp bin #

_________________
Does God made man up, or was it the other way around? - Friedrich Nietzsche.
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Thu Jul 28, 2005 6:36 pm    Post subject: Reply with quote

Quote:
Not configured to listen on any interfaces!


That's the bit I'd take a look at.

Tony
Back to top
View user's profile Send private message
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Thu Jul 28, 2005 6:50 pm    Post subject: Reply with quote

magic919 wrote:
Quote:
Not configured to listen on any interfaces!


That's the bit I'd take a look at.

Tony

I have no idea how to fix it.
And besides, I dont think it matters.
I am trying to "broadcast" and not "listen".
_________________
Does God made man up, or was it the other way around? - Friedrich Nietzsche.
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Thu Jul 28, 2005 8:32 pm    Post subject: Reply with quote

Maybe you need it to listen. I understood you were setting up the machine, per the howto. It acts as a DHCP server. To do this it must listen out for broadcasts asking for any DHCP servers. If you don't want it to serve up addresses to machines on the LAN then you don't need a DHCP server. DHCPCD is a client and that broadcasts.
Back to top
View user's profile Send private message
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Thu Jul 28, 2005 8:41 pm    Post subject: Reply with quote

magic919 wrote:
Maybe you need it to listen. I understood you were setting up the machine, per the howto. It acts as a DHCP server. To do this it must listen out for broadcasts asking for any DHCP servers. If you don't want it to serve up addresses to machines on the LAN then you don't need a DHCP server. DHCPCD is a client and that broadcasts.

Ok, I think you are right, I do need it to listen.
But I followed the guide to the last word, so it should be configured to listen.
But it's say's that it's not... :-(
And what is DHCPCD? I only know what is DHCPD (from the guide).
_________________
Does God made man up, or was it the other way around? - Friedrich Nietzsche.
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Thu Jul 28, 2005 8:46 pm    Post subject: Reply with quote

If the router needs to pick up an address - say from your broadband - then DHCPCD (the Client Daemon) will pick one up.

This is the bit for DHCP to listen, I'd say:

Quote:
# nano /etc/conf.d/dhcp
(Set IFACE="eth0")


T
Back to top
View user's profile Send private message
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Fri Jul 29, 2005 5:08 am    Post subject: Reply with quote

magic919 wrote:
If the router needs to pick up an address - say from your broadband - then DHCPCD (the Client Daemon) will pick one up.

This is the bit for DHCP to listen, I'd say:

Quote:
# nano /etc/conf.d/dhcp
(Set IFACE="eth0")


T

I have this line in my /etc/conf.d/dhcp, just like they guide said.
_________________
Does God made man up, or was it the other way around? - Friedrich Nietzsche.
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Fri Jul 29, 2005 8:20 am    Post subject: Reply with quote

I'm gonna go out on a limb and say lose the brackets. Seems odd form for a config file.

Tony
Back to top
View user's profile Send private message
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Fri Jul 29, 2005 10:12 am    Post subject: Reply with quote

magic919 wrote:
I'm gonna go out on a limb and say lose the brackets. Seems odd form for a config file.

Tony

Yes offcourse it's without the brackets.
_________________
Does God made man up, or was it the other way around? - Friedrich Nietzsche.
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