Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need some ideas with kernel PCMCIA network drivers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dopey
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 235

PostPosted: Wed Mar 26, 2003 7:13 pm    Post subject: Need some ideas with kernel PCMCIA network drivers Reply with quote

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
View user's profile Send private message
dweigert
Guru
Guru


Joined: 04 Oct 2002
Posts: 369
Location: Somerset, NJ USA

PostPosted: Wed Mar 26, 2003 8:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
dopey
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 235

PostPosted: Thu Mar 27, 2003 5:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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