I expect the list will be slow the next few days. I'd normally leave this one to the Bering-uClibc team, but it may be some time before any of them sees this and gets back to you. So in the meantime ...

At 08:15 AM 12/24/2003 -0800, Craig Caughlin wrote:
Hi everyone,

Merry Christmas!

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?

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?


Anyway ... let's believe the final error message (dhcpcd does not know it is supposed to be configuring eth0) and look for a reason.

1. Is the dhcp option specified for eth0 in /etc/network/interfaces (this is the as-shipped setting)?

2. Is the eth0 interface present on the system? ("ip link show")

3. In reading through the various config scripts, I confess it is unclear to me how the dhcpcd shell variable $INTERFACE is supposed to get any value other than its default ... but the default is supposed to be eth0 (set by /sbin/dhcpcd), so that should not affect this case. Perhaps someone else who is reading the list today can fill in that blank?

4. Just to cover all the bases ... the log report is from a run of dhcpcd done through the boot/init sequence, right? So we can be confident that what is running is the script /sbin/dhcpcd (which looks like it tries to set $INTERFACE), NOT just the secondary /etc/dhcpc/dhcpcd.exe script run directly by /sbin/dhcpcd-bin?

5. 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.)?

The second message you found is generated by the /etc/dhcpc/dhcpcd.exe script whenever it receives a value of $INTERFACE that does not start with "eth". Since it appears to be getting a null value for this variable, that is the reason for this message.

Thank you,
Craig





------------------------------------------------------- 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