Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rescan pcmcia bus and add wireless card as eth 1 1

Status
Not open for further replies.

theEclipse

Programmer
Dec 27, 1999
1,190
US
so,

I have no problem getting my wireless card connected to a base station and browsing the web. However, this only works when I have the card inserted in my pcmcia slot when the computer is booting.

I have tried restarting pcmcia and hotplug services and my card doesnt get registered as eth1 like it normally does.

As far as I can tell, there is something that I could do to get this done, but I sure cant figure it out.....

I am running Ubuntu Linux (Breezy Badger) and using a Netgear wireless card (natively supported by breezy).

Robert Carpenter
Remember....eternity is much longer than this ~80 years we will spend roaming this earth.
ô¿ô
 
Try this:

Edit /etc/sysconfig/network/ifcfg-eth1 (may have additional configuration information after this)
Check the "startmode" line. If it doesn't exist, add it.

STARTMODE=auto

or

STARTMODE=hotplug

or

STARTMODE=ifplugd

One of those should work out for you. If you set ifplugd, you should set an ifplugd priority as well.

IFPLUGD_PRIORITY='20'


pansophic
 
Nope, none of those seem to work.

I dont have to run a program to rescan the pcmcia bus ?



Robert Carpenter
Remember....eternity is much longer than this ~80 years we will spend roaming this earth.
ô¿ô
 
You can try running /sbin/cardctl with the reset or insert options.

Are you telling me that when you run /sbin/cardctl with the ident option that it doesn't identify the card if it isn't installed before the pcmcia daemon is inserted into the kernel?


pansophic
 
Ooh...sorry I forgot to get back to you on this. I did more and more research online and as it turns out the pcmcia software is working, but on my laptop ( Gateway 400vx ) the insert and remove events dont fire the same on this model as on all other laptops in the world. Gateway is annoying.

Robert Carpenter
Remember....eternity is much longer than this ~80 years we will spend roaming this earth.
ô¿ô
 
I'm at least glad to hear that you were able to find the problem. Even if it didn't get solved.

Did you find a way to run the scripts that normally fire for those events? At least then you could manually force the scripts to run.


pansophic
 
No. What it amounts to is that the events dont fire, and the cardbus can not be restarted....ever (short of restarting the computer). Its annoying. When a card is removed the bus shuts down and nobody has figured out how to make linux restart it. I wish I were a skilled reverse engineer.

Robert Carpenter
Remember....eternity is much longer than this ~80 years we will spend roaming this earth.
ô¿ô
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top