Craig,

Your problems are probably caused by a bad connection (like Ray said) 
or your provider asking for a hostname before giving you a lease. I 
have the following in /etc/network/interfaces:

auto eth0
iface eth0 inet dhcp
        hostname <your hostname>

The default config for dhcpcd is to ask and listen on interface eth0, 
you can check it in dhcpcd config, option 1 "config file":

# Config file for dhcpcd.

case ${INTERFACE} in
eth0)

Also check your Shorewall configuration for the following line (dhcp) 
in optin 3 "Ifaces" config.

#ZONE    INTERFACE      BROADCAST       OPTIONS
net        eth0         detect          dhcp,routefilter,norfc1918
loc        eth1         detect

As a last check you can do a "shorewall hits" to see if any rule is 
blocking dhcp requests on eth0.

Because all the above options except "hostname" are default, the most 
likely cause is that your provider expect you to configure the 
hostname he gives you on the interface config.

Regards,
Eric Spakman

> Thank you, Lynn.
> 
> "Configure dhcpcd to use an interface like "eth0"." How do I do that?
> (I'm sorry for what is probably a really simple question)
> 
> Thank you, Ray. 
> 
> Let me see if I can answer some of your questions. 1.)"Are these
> messages really complete? That is, does Bering's syslog really not
> timestamp messages? Are they sequential, or is there stuff in between?
> And are there no prior messages from dhcpcd or dhcpcd.exe?" Answer: I
> have ommitted the timestamps, but yes, these are the last two messages
> of /var/log/syslog. 2.)"Is the dhcp option specified for eth0 in
> /etc/network/interfaces (this is the as-shipped setting)?" Answer: Yes
> 3.)"Is the eth0 interface present on the system? ("ip link show")"
> Answer: Yes 4.)"Last but not least ... how do you know that DHCP leases
> are available on the external interface? Could there be a probem
> external to the LEAF system (bad cable, bad DSL/cable modem,
> MAC-address-authentication issue with the ISP, etc.)?" Answer: I have
> connected directly to my cable modem, and to a hub attached to my
> existing Bering box (which works perfectly, but uses pump and
> dhcpd)...neither way was I able to get an address.
> 
> I'm looking on the web for instructions on how to configure dhcpcd to
> use an interface as Lynn suggested, but haven't been able to find
> anything.
> 
> Best Regards,
> Craig
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Lynn Avants
> Sent: Wednesday, December 24, 2003 11:05 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [leaf-user] How to debug boot up?
> 
> 
> On Wednesday 24 December 2003 10:15 am, Craig Caughlin wrote:
> 
> > Merry Christmas!
> 
> Likewise. :)
> 
> > dhcpcd is loading on boot, but dhcpcd is not running according to ps 
> > ax and /var/log/syslog indicates a couple of error messages:
> >
> > dhcpcd[15761] : timed out waiting for a valid DHCP server
> > dhcpcd.exe: wrong interface name ""
> >
> > Suggestions?
> 
> Configure dhcpcd to use an interface like "eth0".
> Right now it isn't using any interface ( ie... "").
> -- 
> ~Lynn Avants
> Linux Embedded Appliance Firewall Developer http://leaf.sourceforge.net
> http://guitarlynn.homelinux.org:81
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for
> IBM's Free Linux Tutorials.  Learn everything from the bash shell to sys
> admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> ------------------------------------------------------------------------
> leaf-user mailing list: [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> ------------------------------------------------------------------------
> leaf-user mailing list: [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
> 




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to