View previous topic :: View next topic |
Author |
Message |
robpatriot n00b
Joined: 25 May 2003 Posts: 19 Location: cambridge England
|
Posted: Thu Apr 22, 2004 10:00 am Post subject: PCMCIA/Cardbus and hotplug only |
|
|
This topic is more of a discussion about network startup scripts than a help request although it's still a work in progress.
I am running my gentoo box with with the latest hotplug, baselayout, and a 2.6.5 kernel. I am also using ubers amazing wireless scripts found here: https://forums.gentoo.org/viewtopic.php?t=122435. However I am intentionally not using the pcmcia package because I am hoping it is not necessary....
With my setup I have an internal ethernet card (eth0) and a pcmcia wireless card (eth1). I'm loading pcmcia_core, yenta_socket, and ds (in modules.autoload) and then starting hotplug. It all seems to work beautifully for card insertion and removal. However during startup something odd happens before hotplug has been started. At some point, for a reason I can't figure out, the machine stops net.eth0 and net.eth1. Whilst stopping eth0, eth1 starts up (I am guessing because the eth0 script has a "use" dependancy on hotplug which spots my pcmcia card) but then it gets to the eth1 script and stops it again. I was wondering why this happens and if anyone has any ideas...
Cheers in advance...
Rob. |
|
Back to top |
|
|
brodo Guru
Joined: 15 Apr 2003 Posts: 319
|
Posted: Thu Apr 22, 2004 11:31 am Post subject: Re: PCMCIA/Cardbus and hotplug only |
|
|
Is it a 16-bit PCMCIA card, or a 32-bit CardBus network card? e.g. what does cardctl status say? If it's 16-bit you need "cardmgr" which is started by /etc/init.d/pcmcia running -- I'm working on removing cardmgr, but you'll probably have to wait for 2.7. for that... If it's 32-bit, /etc/init.d/pcmcia shouldn't be needed |
|
Back to top |
|
|
robpatriot n00b
Joined: 25 May 2003 Posts: 19 Location: cambridge England
|
Posted: Fri Apr 30, 2004 10:09 am Post subject: |
|
|
Its a 32 bit card. The whole system does in fact work fine (I am not running pcmcia-cs or have any of those packages emerged). I am just trying to work out if I can get the card to come up when the machine is turned on with the card already inserted. Do you have this working for you?
Thanks,
R. |
|
Back to top |
|
|
nukem996 l33t
Joined: 13 Nov 2003 Posts: 776
|
Posted: Fri Apr 30, 2004 11:33 am Post subject: |
|
|
Hey I tried your script but I still cannt use any of the iw* tools or connect to wireless networks. I have it setup so my ethernet card is on eth0 and my WiFi card is eth1. Any adeas?
Thanks
nuke |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
robpatriot n00b
Joined: 25 May 2003 Posts: 19 Location: cambridge England
|
Posted: Fri Apr 30, 2004 11:40 am Post subject: |
|
|
As before uber, you're a star. Any input you have would be greatfully accepted.
Good luck on getting glibc and gcc to upgrade without problems |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
|