PCMCIA wifi recognised at bootup

Yay, I fixed it

As I posted earlier, my D-Link DWL-G630 PCMCIA wifi card worked after I hotplugged it, but the modules did not load at bootup. I identified the basic problem with the kernel not generating a uevent after detecting the hardware.

The way I have solved it is by executing 'udevtrigger --attr-match=modalias' a bit later in the bootup. That is, 'udevtrigger' (without any parameters) is executed in rc.modules, then 'udevtrigger --attr-match=modalias' is executed in rc.modules2. This catches the wayward interface and is a generic solution that should also work for other hardware.

I'm using this PCMCIA wifi card right now. It uses the rt61pci module, and my laptop's inbuilt wifi uses the ath5k module. I have not blacklisted the latter so both are loaded and there is no problem. The PCMCIA card is wlan1 and the inbuilt wifi is wlan0.

Plans for the immediate future:

Urban soul's network wizard patch
I will patch the wizard and upload it to ibiblio, should be within the next 24 hours. Then anyone who want to hack on the wizard will have the same code to work on.

PCMCIA recognition in initrd
This has fallen by the wayside in recent puppies. It was implemented way back sometime, but done half-heartedly. We need to have PCMCIA memory devices recognised in the initial ramdisk.

Posted on 21 Jun 2008, 9:47


Comments:

Posted on 21 Jun 2008, 17:56 by tempestuous
encryption success
Barry, good news. Forum member ohyes got WPA2 encryption working under Puppy4.1alpha2 using the upgraded wifi drivers -
http://www.murga-linux.com/puppy/viewtopic.php?p=208512#208512
I have asked him to re-check that the standard wifi drivers fail. Subject to this confirmation, it appears that upgraded wifi drivers from http://linuxwireless.org/download/compat-wireless-2.6/ are a critical improvement for Puppy 4.1.


Posted on 16 May 2011, 16:50 by China Mike
some help
Hi Mr. K!
I also have a removable WiFi card that I would like to try out on my laptop with Lucid Puppy (or my Puppy 4 installation--both on HD). My laptop also has WiFi "in the lid" like yours, and it also uses wlan0.
I am new to Linux and trying to do some basic things I find here at the Puppy forums. Can you tell me a bit more HOW I would do what you suggested above to be able to use BOTH my WiFi antennae? I get that I need to add some code to something "a bit later in the bootup" but...! How???
Also, didn't know you lost Puppy! My grandfather had a chihuahua when I was growig up, same color too! His name was Tap and he only had one eye, because he lost the other in a dog fight! He looked kind of like Popeye the Sailor!

china "dot" mike "at" hotmail "dot" com
Thank you for your time


Posted on 4 Jul 2011, 20:58 by Enrique Haro
Command not found
Hello, I've try your procedure, but when I write the command undevtrigger, puppy doesn't recognize the command. What can i do? I'm using Puppy Linux 5.2.5. My problem is that the SO detects mi wireless card the first startup after installing on HD, and it works perfect, but when I reboot system the wireless gonne away and I can turn it on. The wireless card load the module orinoco_cs, I try to reload the module on the system, but no wireless card is detected. Can you pelase help me!! Thanks for all


Posted on 4 Jul 2011, 21:01 by Enrique Haro
Mail
My Mail is enrique_haro@hotmail.com


Posted on 4 Jul 2011, 22:21 by BarryK
2008
You are responding to a blog post made in 2008. It does not apply to recent puppies.

Your problem is probably fixed in recent Woof. Lucid Puppy 5.2.5 is using a slightly older Woof that does not have that fix. Try Wary 5.1.2, which does have the fix.