Unix Technical Forum

Autodetect insert/remove pccard on Slack 10?

This is a discussion on Autodetect insert/remove pccard on Slack 10? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I'm playing with Slackware 10 on a laptop. I changed /etc/rc.d/rc.wireless.opts (I *think* that was the name I used, ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 03:25 PM
javaguy_in_wheaton
 
Posts: n/a
Default Autodetect insert/remove pccard on Slack 10?

I'm playing with Slackware 10 on a laptop. I changed
/etc/rc.d/rc.wireless.opts (I *think* that was the name I used, there
is only one file like it) to set up my ESSID, WEP key, etc. When I
put the card into the laptop and boot it I get proper wireless
connection with my AP.

Now, says I, take the card out, reboot the computer and then, at the
magic moment, insert the pccard wireless card and see if it
automatically connects. I haven't seen it happen. I insert the card,
the little green status light comes on solid, but, even after several
minutes, no connection.

Other distros (Mandrake, Fedora, possibly Mepis (Debian) -- haven't
got WEP and DHCP solved on Mepis -- handle the removal and insertion.

Is there something missing with Slackware 10, or haven't I had this
cooked right?

TIA,
Jerome.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 03:28 PM
PDock
 
Posts: n/a
Default Re: Autodetect insert/remove pccard on Slack 10?

javaguy_in_wheaton wrote:

> I'm playing with Slackware 10 on a laptop. I changed
> /etc/rc.d/rc.wireless.opts (I *think* that was the name I used, there
> is only one file like it) to set up my ESSID, WEP key, etc. When I
> put the card into the laptop and boot it I get proper wireless
> connection with my AP.
>
> Now, says I, take the card out, reboot the computer and then, at the
> magic moment, insert the pccard wireless card and see if it
> automatically connects. I haven't seen it happen. I insert the card,
> the little green status light comes on solid, but, even after several
> minutes, no connection.
>
> Other distros (Mandrake, Fedora, possibly Mepis (Debian) -- haven't
> got WEP and DHCP solved on Mepis -- handle the removal and insertion.
>
> Is there something missing with Slackware 10, or haven't I had this
> cooked right?
>
> TIA,
> Jerome.

Slackware's fine; your problem is that in network.opts you did not tell
rc.pcmcia what to do after the card is inserted. Look for the start_fn line
and create a script to be run there for what is needed to complete your
connection (perhaps ppp in rc.local?). The tough nut is to figure the
sequencing of what scripts to utilize when; such that things are not run
twice when the laptop is booted with the card inserted.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:12 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com