Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PCMCIA/Cardbus and hotplug only
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
robpatriot
n00b
n00b


Joined: 25 May 2003
Posts: 19
Location: cambridge England

PostPosted: Thu Apr 22, 2004 10:00 am    Post subject: PCMCIA/Cardbus and hotplug only Reply with quote

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


Joined: 15 Apr 2003
Posts: 319

PostPosted: Thu Apr 22, 2004 11:31 am    Post subject: Re: PCMCIA/Cardbus and hotplug only Reply with quote

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


Joined: 25 May 2003
Posts: 19
Location: cambridge England

PostPosted: Fri Apr 30, 2004 10:09 am    Post subject: Reply with quote

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


Joined: 13 Nov 2003
Posts: 776

PostPosted: Fri Apr 30, 2004 11:33 am    Post subject: Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Apr 30, 2004 11:37 am    Post subject: Reply with quote

I'll give this whirl after my lappy finishes an upgrade - which won't be today! (needs ~20 packages and 2 are gcc and glibc!)
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
robpatriot
n00b
n00b


Joined: 25 May 2003
Posts: 19
Location: cambridge England

PostPosted: Fri Apr 30, 2004 11:40 am    Post subject: Reply with quote

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 :wink:
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Sat May 01, 2004 3:13 pm    Post subject: Reply with quote

I cannot get hotplug to start my pcmcia card whatever I do.

I need pcmcia-cs apparently.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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