Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-20-2005, 05:40 PM
|
#1
|
LQ Newbie
Registered: Aug 2005
Posts: 4
Rep:
|
Dwl-650 + hostap problems..
Hey guys, long time linuxquestions browser/searcher, first time poster. =)
I'm having problems getting a dwl-650 to work with hostap drivers. I have compiled all the info i can think of below. I've tried flashing the card. Anyone have any ideas of what I could try next? Thanks!
slackware 10.0
hostap 0.3.9
cardctl ident:
Socket 1:
product info: "D-Link", "DWL-650 Wireless PC Card RevP", "ISL37101P-10", "A3"
manfid: 0x000b, 0x7110
function: 6 (network)
------------------
dmesg output after card insert =
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.3.9 - 2005-06-10 (Jouni Malinen <jkmaline@cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
hostap_cs: setting Vcc=50 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0047, io.base=0x0000, len=128
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: Vcc 5.0, irq 3, io 0x0200-0x027f
hostap_cs: assuming no Primary image in flash - card initialization not completed
wifi0: test Genesis mode with HCR 0x1f
prism2_pccard_cor_sreset: original COR 41
prism2_pccard_genesis_sreset: original COR 41
Readback test failed, HCR 0x1f write 00 e1 a1 ff read 00 ce a1 ce
wifi0: test Genesis mode with HCR 0x0f
prism2_pccard_cor_sreset: original COR 41
prism2_pccard_genesis_sreset: original COR 41
Readback test succeeded, HCR 0x0f
prism2_pccard_genesis_sreset: original COR 41
wifi0: registered netdevice wlan0
-------------------------------
flash attempt =
./prism2_srec -v wlan0 sf010704.hex
S3 CRC-16 generation record: start=0x007E1800 len=65414 prog=1
Start address 0x00000000
srec summary for sf010704.hex
Component: 0x001f 1.7.4 (station firmware)
Supported platforms:
0x800a 1.0.0, 0x800b 1.0.0, 0x800c 1.0.0, 0x800d 1.0.0, 0x8012 1.0.0
0x8013 1.0.0, 0x8014 1.0.0, 0x8016 1.0.0, 0x8017 1.0.0, 0x8018 1.0.0
0x801a 1.0.0, 0x801b 1.0.0, 0x801c 1.0.0, 0x8021 1.0.0, 0x8022 1.0.0
0x8023 1.0.0
Interface compatibility information:
role=Supplier variant=4 range=1-12 iface=Station Firmware-Driver (4)
role=Actor variant=1 range=1-1 iface=Modem-Firmware (1)
role=Actor variant=2 range=1-1 iface=Controller-Firmware (2)
role=Actor variant=1 range=4-4 iface=Primary Firmware-Driver (3)
Separate S3 data areas:
S3 area count: 3
addr=0x007E1800..0x007EE2DB (len=51932)
addr=0x007F0800..0x007F1785 (len=3974)
addr=0x007FE000..0x007FECC5 (len=3270)
Total data length: 59176
Start address 0x00000000
ioctl[PRISM2_IOCTL_HOSTAPD]: Inappropriate ioctl for device
Missing wlan component info
Could not read wlan RIDs
--------------------------
after attempted flash dmesg reports=
wifi0: cannot get RID fd0b (len=1008) - no PRI f/w
----------------------------------
ifconfig -a output =
wifi0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:3 Base address:0x200
wlan0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:3 Base address:0x200
-------------------------------------
hostap_diag output =
./hostap_diag wlan0
Host AP driver diagnostics information for 'wlan0'
ioctl[PRISM2_IOCTL_HOSTAPD]: Inappropriate ioctl for device
Could not communicate with the kernel driver.
--------------------------------------
lsmod output =
lsmod reports...
Module Size Used by Not tainted
hostap_cs 47312 0 (unused)
hostap 91880 0 [hostap_cs]
snd-pcm-oss 37736 1
snd-mixer-oss 12504 0 [snd-pcm-oss]
uhci 24444 0 (unused)
usbcore 59308 1 [uhci]
snd-es1938 11240 1
gameport 1420 0 [snd-es1938]
snd-pcm 56072 0 [snd-pcm-oss snd-es1938]
snd-page-alloc 6328 0 [snd-pcm]
snd-opl3-lib 5892 0 [snd-es1938]
snd-hwdep 4804 0 [snd-opl3-lib]
snd-timer 13604 0 [snd-pcm snd-opl3-lib]
snd-mpu401-uart 3200 0 [snd-es1938]
snd-rawmidi 12740 0 [snd-mpu401-uart]
snd-seq-device 3888 0 [snd-opl3-lib snd-rawmidi]
snd 30852 0 [snd-pcm-oss snd-mixer-oss snd-es1938 snd-pcm snd-opl3-lib snd-hwdep snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3396 6 [snd]
ds 6548 4 [hostap_cs]
yenta_socket 10336 2
pcmcia_core 39972 0 [hostap_cs ds yenta_socket]
ide-scsi 9328 0
agpgart 43940 0 (unused)=
|
|
|
08-23-2005, 11:37 AM
|
#2
|
LQ Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163
Rep:
|
Quote:
hostap_cs: assuming no Primary image in flash - card initialization not completed
|
Ok, obliviously your problem is about the card not having a primary firmware on it, you need to upload one... Don't try to flash it unless you are really sure which one is fitting your card.
There is several firmware available, and none of them fit on all card, you will have to try each combinaison (primary and secondary) one by one until you get the correct ones.
Here is where you could download firmwares :
http://www.red-bean.com/~proski/firmware/
Take a look at the "primary" package, I doubt you will be able to load a secondary firmware if you can't load the primary first (and it is VERY VERY dangerous to try to flash a primary firmware alone, as you may know).
Usually to upload in ram a primary firmware, the comand look like :
# Download primary firmware into RAM using Genesis mode
./prism2_srec -g wlan0 ak010100.hex
And the secondary :
# download station firmware into RAM
./prism2_srec -r wlan0 rf010409.hex
I hope this help 
|
|
|
09-14-2005, 05:02 PM
|
#3
|
LQ Newbie
Registered: Aug 2005
Posts: 4
Original Poster
Rep:
|
Thank you for the reply. I wasn't understanding that the firmware had to be loaded everytime i wanted to use the card.. Shortly after I posted I discovered the correct firmware combo.
pri = pm010102.hex ... sta = rf010704.hex
edited hostap_fw_load to reflect the fw and prism2_srec paths...
./hostap_fw_load wlan0
works!
for everyones reference... this card is a DWL-650 rev. p
thanks for taking the time to post Half_Elf
|
|
|
All times are GMT -5. The time now is 06:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|