SuSE sees my PCMCIA card but won't use it....

Hello Everyone,

I am brand new to OpenSuSE, and any other Linux operationg system for that matter… so please pardon my ignorance.

I recently installed OpenSuSE 11.1 with the Gnome desktop on my old Compaq Presario 900 and must say that I like the look and feel of the OS. The only problem is that I cannot get my wireless card to find a network.

The PCMCIA card is a D-Link DWL-650 revP and the system recognizes the card under hardware information. I have done a lot of searching and found that the chipset is Prism 2 and supposedly uses hostap drivers.

I did find a thread in the forums that has a very, very similar problem to mine, but the thread ends in “you need to get this firmware.”

Hardware address not detected for PCMCIA wireless card - openSUSE Forums

Unfortunately, due to lack of knowledge I didn’t how to continue with a firmware change (if that was even my problem as well…)

Thanks for any help with this… I have been trying for days now…

Here are the results of a few of commands that I got from the previously posted thread that I ran on my machine:


lspci

00:00.0 Host bridge: ATi Technologies Inc AGP Bridge [IGP 320M] (rev 13)
00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 320M] (rev 01)
00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:07.0 ISA bridge: ALi Corporation M1533/M1535/M1543 PCI to ISA Bridge [Aladdin IV/V/V+]
00:08.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
00:0a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
00:0b.0 Ethernet Controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev20)
00:0c.0 Communication controller: Conexant Systems, Inc. HSF 56K HSFi Modem (rev 01)
00:0f.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:10.0 IDE Interface: ALi Corporation M5229 IDE (rev C4)
00:11.0 Bridge: Ali Corporation M7101 Power management Controller [PMU]
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility U1

lspcmcia ident

Socket 0 Bridge: [yenta_Cardbus] (bus ID: 0000:00:0a.0)
Socket 0 Device 0: [hostap_cs] (bus ID: 0.0)

dmesg | grep host

Linux version 2.6.27.7-9pae (geek@buildhost) (gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) ) #1 SMP 2008-12-04 18:10:04 +0100
hostap_cs: setting Vcc=33 (constant)
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: , irq 3, io 0x0280-0x02ff
hostap_cs: assuming no Primary image in flash - card initialization not completed

I also ran the command “dmesg | less” as instructed from the post that I linked previously, and with a similar outcome. When it gets down to wlan0 I get a lot of

wlan0: cannot get RID fdc6 (len-12) - no PRI f/w

I also see the “hostap_cs: assuming no Primary image in flash - card initialization not completed” again in this command. The command also has keywords like “prism2” and “hostap.” Please feel free to ask me to run this command again if necessary because I really didn’t have much of a clue of what I was looking at.

So please if anyone can help it would be greatly appreciated. Thanks a lot in advance!

Nobody???

Hi
Have you got the hostap-tools installed? These are for configuring the
device and can be installed via YaST software management.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 12:21, 3 users, load average: 0.03, 0.08, 0.10
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

On 11/16/2009 09:06 AM, GeneralDisarray wrote:
>
> Nobody???

You posted in the wrong forum. Wireless questions get answered a lot quicker in
the Wireless Forum!

Two minutes with Google led to this answer:

Go to http://www.red-bean.com/~proski/firmware. Download the primary.tar.bz2 and
the 1.8.2.tar.bz2 files, then extract the pm010102.hex from the primary.tar.bz2
and the rf010802.hex from the 1.8.2.tar.bz2 archive. As root, copy those 2 hex
files to /lib/firmware.

Sorry for being in the wrong forum…
Thanks for answering anyway.

I have installed both the hostap-utils and hostapd. I have also copied both .hex files to lib/firmware. What next?

Hi
Have you tried a reboot and then see if you get the same error, or have
you done that and don’t see the error?

You should then be able to configure via the Network Manager icon in
the task bar.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 1 day 0:18, 3 users, load average: 0.16, 0.22, 0.25
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

Thanks for the quick reply Malcomlewis!

I did reboot and, unfortunately, everything looks very similar to how it was before. When I click on the network icon it still just has wireless networks empty. I have tried adding the wireless network myself with the ID and Passphrase without success. It never really did show an error message… It just doesn’t find a network.

Is there anything particular I have to do with hostap-utils and hostapd?

It still shows my card under hardware information and says that the drivers are active…

I also ran the dmesg | less command again and it still continues to point out “no PRI f/w.” Does this mean that the .hex files did not work. I know that I put them in the lib/firmware directory because I double checked.

Hi
Did you check dmesg for errors, also have a look in the wireless
subform at the two stickies at the beginning and post back the required
information.

I’m guessing you need to start hostapd if it isn’t running. Check via
YaST -> system -> runlevel editor and see if it’s in the list and
running.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 1 day 0:52, 3 users, load average: 0.01, 0.06, 0.08
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

You could be right because I don’t even see hostapd listed… I installed it with the software manager and it showed up under the list “installed.” How do I get it to show up in the list to enable it?

Thanks for your quick responses… I’ll go check out the wireless forum stickies right now…

Hi
Did you try the ifconfig wlan0 up command? The other one is iwlist
wlan0 scan.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 1 day 1:08, 3 users, load average: 0.06, 0.05, 0.04
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

When I try to use the command “dmesg | grep firmware” as intructed in the first sticky nothing shows up at all. Just goes back to a the command line…

The “ifconfig wlan0 up” command leaves me with this message:
SIOCSIFFLAGS: Cannot assign requested address

And the “iwlist wlan0 scan”:
wlan0 Interface doesn’t support scanning : Network is down

When lwfinger wanted me to get those .hex files, were those the only files I needed for the firmware?

Thanks again for the help…

It seems that the hostap_cs driver needs different handling than other devices.
You need to install the hostap-utils package. I did a little searching, but I
could not find any simple set of instructions on how to use these programs.

I see…

I have already installed the hostap-utils package previously, but like you said, I don’t know how to use it.

Thank you for taking your time to look anyways… Any hints on how to begin with it?

What do I need to hostap-utils for? Do I need them to fix the firmware?

Hi
Here is a list of the files, the ones in /usr/sbin are executable.

Content of RPM :
/usr/sbin/hostap_crypt_conf
/usr/sbin/hostap_diag
/usr/sbin/hostap_io_debug
/usr/sbin/hostap_rid
/usr/sbin/prism2_param
/usr/sbin/prism2_srec
/usr/sbin/split_combined_hex
/usr/share/doc/packages/hostap-utils
/usr/share/doc/packages/hostap-utils/ChangeLog
/usr/share/doc/packages/hostap-utils/README

Suggest you try the hostap_diag one for example;


sudo /usr/sbin/hostap_diag

And have a look at the man pages eg man hostap_diag


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 1 day 2:00, 3 users, load average: 0.30, 0.34, 0.20
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

sudo /usr/sbin/hostap_diag

Usage: hostap_diag -abhpru] <device>
Options:
-h show this usage info
-a show all info
-b show baseband processor control registers
-p show production data area (PDA
-r show known RIDs
-u show unkown RIDs

man hostap_diag

No manual entry for hostap_diag

I’m not so sure what to put in the <Device> field…

Hi
I’m guessing it would be;


sudo /usr/sbin/hostap_diag -a wlan0
or /usr/sbin/hostap_diag wlan0


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 1 day 2:51, 4 users, load average: 0.10, 0.20, 0.22
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

#sudo usr/sbin/hostap_diag -a wlan0:

Host AP driver diagnostics information for ‘wlan0’

ioct1[PRISM2_IOCTL_HOSTAPD]: Inappropriate ioctl for device
Could not communicate with the kernel

So do I still have incorrect primary firmware? Do I need to figure out how to use the hostap-utils to fix the firmware? What did I place those .hex files in the lib/firmware folder for? Did that accomplish what was intended?

I am just kind of at a loss where to start right now…

Hi
Me too… how about starting a new post in the wireless subforum about
the firmware issue and add a link back to this thread.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 2 days 16:14, 4 users, load average: 0.40, 0.34, 0.26
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18