Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I have a problem getting PCMCIA to automatically start up my network card when it's plugged in. The situation: I have a SMC2835W PCMCIA network card, set up using ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2005
    Posts
    33

    PCMCIA problem


    Hi,

    I have a problem getting PCMCIA to automatically start up my network card when it's plugged in.

    The situation:
    I have a SMC2835W PCMCIA network card, set up using prism54 driver (prism54.org). I have wireless tools, pcmcia-cs, and other packages installed. After a few hours of figuring out, most things work fine. After plugging in I see from dmesg that the modules are loaded, ifconfig sees a new device "eth1", iwconfig recognizes it as a wireless card, and the networking works fine with ifconfig (and ifup/ifdown after setting /etc/network/interfaces).

    However, I've been trying to set it so that whenever I plug in the card, the network card will start automatically. From the PCMCIA Howto page I see that it's "supposed" to run the /etc/pcmcia/network script after assigning it the device eth1, and that /etc/pcmcia/network.opts is suppose to be scripts that I can change to start the network card (in Debian's case, the default script runs ifup). However, the /etc/pcmcia/network script doesn't seem to run!?!?!


    Anyone know what's going on?

    Thanks in advance for any advice,
    Frank

  2. #2
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    what distro?
    you may need hotplugging the pkg.
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  3. #3
    Just Joined!
    Join Date
    Jul 2005
    Posts
    33
    Hi loft,

    I'm using Debian (sid). I do have hotplug installed, and it's basically the program that's responsible for uploading the firmware to the card everytime the card is inserted. Come to think of it, I can probably find documentation that lets hotplug run scripts to "ifup" the device.

    I'm still puzzle at why the PCMCIA scripts "/etc/pcmcia/network" is not run... Have I configured my pcmcia-cs package incorrectly?

    Thanks,
    Frank

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jul 2005
    Posts
    33
    Nevermind, problem resolved.

    I searched some more and turns out pcmcia-cs package is deprecated in Debian... Hotplugging completely replaces it in cases of 32-bit Cardbus cards. The only reason I needed it was because pcmcia-cs loaded the yenta_socket module for me and it is yenta_socket that detected my card and triggered hotplug to upload the firmware.

    I removed pcmcia-cs completely and just put yenta_socket in /etc/modules. Everything works now. Thanks.

    Frank

  6. #5
    Just Joined!
    Join Date
    Jul 2005
    Posts
    1

    wireless adapter

    hi all,
    i have dell laptop running on FC4. I'm new to Linux and i was hoping someone will help me out with the configuration of my netgear wireless adapter card. i downloaded the configuration scripts from Atheros(Netger's chipset manufacturers) and have installed its drivers. but i cant ping the wireless Router though the pcmcia (ath0) is active n it canscan the router.

    any advice to make my wireless card working!

    thanks in advance.

    regards
    vaheetha

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •