View previous topic :: View next topic |
Author |
Message |
dopey Apprentice
Joined: 10 Feb 2003 Posts: 235
|
Posted: Wed Mar 26, 2003 7:13 pm Post subject: Need some ideas with kernel PCMCIA network drivers |
|
|
Hi all,
Any help would be appreciated here. I've built my kernel to use the kernel PCMCIA drivers (and thus hotplug to detect and insert the drivers and start the network subsystem).
I'm having the following problem. When initially booting up (or whenver I hotplug the eth0 card) it looks like /etc/hotplug/net.agent is being run. This should be launching /etc/init.d/net.eth0 (which launches dhcpcd). From this point everything looks okay except that dhcpcd does not get an IP address. Eventually syslog just logs a message from runscript.sh stating that it failed to bring the interface up.
I can manually stop and start /etc/init.d/net.eth0 and everything will be fine but automatically working with hotplug doesn't seem happy. It behaves
quite differently when using the pcmcia-cs drivers. With those drivers it mostly works although I've had other silly problems.
Any ideas?
Thanks |
|
Back to top |
|
|
dweigert Guru
Joined: 04 Oct 2002 Posts: 369 Location: Somerset, NJ USA
|
Posted: Wed Mar 26, 2003 8:19 pm Post subject: |
|
|
I use the Kernel drivers myself. For the /etc/init.d/net.eth0
Code: |
# For pcmcia users. note that pcmcia must be added to the same
# runlevel as the net.* script that needs it.
depend() {
use pcmcia
use hotplug <-----<<< Add this
}
|
Dan _________________ "Always remember to mount a scratch monkey..." |
|
Back to top |
|
|
dopey Apprentice
Joined: 10 Feb 2003 Posts: 235
|
Posted: Thu Mar 27, 2003 5:16 pm Post subject: |
|
|
That doesn't help at all. It still looks like it's running net.eth0 too early and the dhcpcd daemon isn't grabbing an IP address. |
|
Back to top |
|
|
|