Next-in-Thread Next Message

Question DHCP with PCMCIA 

Forum: PCMCIA Network Adapter Issues
Date: 1999, Dec 06
From: Christopher Keller ckeller

I'm having a problem getting a DHCP client to automatically come up on boot up. It comes up fine after boot-up, which is why I think it's merely a configuration problem, rather than an incompatibility.

First the specifics:

Dell Inspiron 3200
Caldera 2.3 w/ kernel 2.2.10
PCMCIA 3.0.14
3COM 3CCFEM556B (ethernet + modem)

When I hook up to a network which is running a DHCP server the following happens (some is assumption, some is fact, please correct where appropriate):

Out of /etc/rc.d/rc2.d/S01network, it tries to start the DHCPcd client using the files in /etc/sysconfig/network-scripts. Specifically ifup-dhcp. THis fails, I'm assuming because the PCMCIA drivers haven't loaded yet. I haven't been able to find any error messages in the logs, but I've confirmed that the dhcpcd daemon is trying to run. I'm guessing it doesn't log because it doesn't get far enough along due to the drivers not being loaded (although I have confirmed that eth0 is up). Anyway...along comes S07pcmcia. Once again, dhcp setup is tried (this time using cardmgr). I get the following messages in /var/log/messages:
cardmgr[572]: + Trying to obtain network configuration via DHCP.
kernel: eth0: found link beat
kernel: eth0: autonegotiation complete: 100baseT-HD selected
kernel: eth0: remote fault detected
dhcpcd[587]: timed out waiting for a valid DHCP server response
cardmgr[572]: + No response from DHCP server
cardmgr[572]: + eth0: initialization failed

and so on....

At any rate, once the login screen comes up, I can log in as root and do a manual "network start eth0" and dhcp comes up perfectly. No problems whatsoever. Or I can accomplish the same thing by the scripts in /etc/sysconfig/network-scripts/ifup-dhcp.

So, it makes sense that the first attempt out of S01network fails, as there are no PCMCIA drivers yet loaded. But the second attempt (above) out of S07pcmcia should work. I can't believe I'm the only one trying to run DHCP on a laptop, so if someone could point me the right way, I'd much appreciate it.

The easy solution might be to write a S99dhcp file and kludge the thing together. However, if there is a problem with my knowledge or the PCMCIA packages, I'd rather solve that.



Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. None Not sure if this is Caldera specific by David Hinds, 1999, Dec 06
(_ None Hate to say it, but even Red Hat is having trouble with DHCP and PCMCIA by Nathan Hartwell, 2000, Jan 17
(_ None Don't be so sure! by David Hinds, 2000, Jan 17
(_ None quite wasn't a PCMCIA issue, but a DHCP issue by Nathan Hartwell, 2000, Jan 19

Add Message to: "DHCP with PCMCIA"

Members Subscribe Admin Mode Show Frames Help for HyperNews at 1.10