LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-01-2006, 12:41 PM   #1
xumvaulter
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
Hostap Issue...Slack 10.2


I am haveing issues with HostAp working correctly with a wireless card.

I am running Slackware 10.2 (2.4.31) with a Dlink DWL-650 RevP card.

Now I have done a great bit of searching prior to this post, but still seem to be stuck. I know that the card does not have internal firmware, but that it needs to be loaded by the driver.

So far I have installed the driver, but cannot seem to get the firmware to load based on the info in Andrew Barr's Howto.

Here are some specifics:

Pertinant #Dmesg output:

Code:
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Intel ISA PCIC probe: not found.
Databook TCIC-2 PCMCIA probe: not found.
PCI: Found IRQ 11 for device 00:0b.0
PCI: Found IRQ 11 for device 00:0b.1
Yenta ISA IRQ mask 0x0498, PCI irq 11
Socket status: 30000011
Yenta ISA IRQ mask 0x0498, PCI irq 11
Socket status: 30000007
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0820-0x08ff: clean.
cs: IO port probe 0x0800-0x080f: clean.
cs: IO port probe 0x03e0-0x04ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x0100-0x03af: excluding 0x220-0x22f 0x330-0x337 0x378-0x37f 0x388-0x38f
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.4.7 - 2005-11-20 (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 0x0280-0x02ff
wifi0: __hfa384x_cmd_no_wait(6) - timeout - reg=0xb044
hostap_cs: first command failed - assuming card does not have primary firmware
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
wifi0: cannot get RID fdc6 (len=12) - no PRI f/w
wifi0: cannot get RID fdc1 (len=2) - no PRI f/w
wifi0: cannot get RID fdc6 (len=12) - no PRI f/w
wifi0: cannot get RID fc06 (len=2) - no PRI f/w
wifi0: cannot get RID fd42 (len=6) - no PRI f/w
wifi0: cannot get RID fc0e (len=34) - no PRI f/w
wifi0: cannot get RID fc84 (len=2) - no PRI f/w
wifi0: cannot get RID fc83 (len=2) - no PRI f/w
wifi0: cannot get RID fc82 (len=2) - no PRI f/w
wifi0: cannot get RID fc09 (len=2) - no PRI f/w
wifi0: cannot get RID fd48 (len=2) - no PRI f/w
wlan0: cannot get RID fdc6 (len=12) - no PRI f/w
wlan0: cannot get RID fdc1 (len=2) - no PRI f/w
wlan0: cannot get RID fdc6 (len=12) - no PRI f/w
wlan0: cannot get RID fc06 (len=2) - no PRI f/w
wlan0: cannot get RID fd42 (len=6) - no PRI f/w
wlan0: cannot get RID fc0e (len=34) - no PRI f/w
wlan0: cannot get RID fc84 (len=2) - no PRI f/w
wlan0: cannot get RID fc83 (len=2) - no PRI f/w
wlan0: cannot get RID fc82 (len=2) - no PRI f/w
wlan0: cannot get RID fc09 (len=2) - no PRI f/w
wlan0: cannot get RID fd48 (len=2) - no PRI f/w
wlan0: could not set interface UP - no PRI f/w
wifi0: could not set interface UP - no PRI f/w
wifi0: cannot set RID fc0e (len=34) - no PRI f/w
wlan0: cannot set RID fc0e (len=34) - no PRI f/w
wifi0: Host AP mode does not support 'Any' essid
wlan0: Host AP mode does not support 'Any' essid
#cardctl ident output:

Code:
Socket 0:
  product info: "D-Link", "DWL-650 Wireless PC Card RevP", "ISL37101P-10", "A3"
  manfid: 0x000b, 0x7110
  function: 6 (network)
Socket 1:
  no product info available
#iwconfig wlan0 output:

Code:
wlan0     IEEE 802.11-DS  ESSID:"test"  
     Mode:Master  
     Encryption key:off
     Link Quality:0  Signal level:0  Noise level:0
 Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
 Tx excessive retries:0  Invalid misc:0   Missed beacon:0
#iwpriv wlan0 output:

Code:
wlan0     Available private ioctl :
  monitor          (8BE4) : set   1 int   & get   0      
  readmif          (8BE3) : set   1 byte  & get   1 byte 
  writemif         (8BE2) : set   2 byte  & get   0      
  reset            (8BE6) : set   1 int   & get   0      
  inquire          (8BE8) : set   1 int   & get   0      
  set_rid_word     (8BEE) : set   2 int   & get   0      
  maccmd           (8BF0) : set   1 int   & get   0      
  wds_add          (8BEA) : set   1 addr  & get   0      
  wds_del          (8BEC) : set   1 addr  & get   0      
  addmac           (8BF2) : set   1 addr  & get   0      
  delmac           (8BF4) : set   1 addr  & get   0      
  kickmac          (8BF6) : set   1 addr  & get   0      
  prism2_param     (8BE0) : set   2 int   & get   0      
  getprism2_param  (8BE1) : set   1 int   & get   1 int  
  txratectrl       (0002) : set   1 int   & get   0      
  gettxratectrl    (0002) : set   0       & get   1 int  
  beacon_int       (0003) : set   1 int   & get   0      
  getbeacon_int    (0003) : set   0       & get   1 int  
  pseudo_ibss      (0004) : set   1 int   & get   0      
  getpseudo_ibss   (0004) : set   0       & get   1 int  
  alc              (0005) : set   1 int   & get   0      
  getalc           (0005) : set   0       & get   1 int  
  dump             (0007) : set   1 int   & get   0      
  getdump          (0007) : set   0       & get   1 int  
  other_ap_policy  (0008) : set   1 int   & get   0      
  getother_ap_pol  (0008) : set   0       & get   1 int  
  max_inactivity   (0009) : set   1 int   & get   0      
  getmax_inactivi  (0009) : set   0       & get   1 int  
  bridge_packets   (000A) : set   1 int   & get   0      
  getbridge_packe  (000A) : set   0       & get   1 int  
  dtim_period      (000B) : set   1 int   & get   0      
  getdtim_period   (000B) : set   0       & get   1 int  
  nullfunc_ack     (000C) : set   1 int   & get   0      
  getnullfunc_ack  (000C) : set   0       & get   1 int  
  max_wds          (000D) : set   1 int   & get   0      
  getmax_wds       (000D) : set   0       & get   1 int  
  autom_ap_wds     (000E) : set   1 int   & get   0      
  getautom_ap_wds  (000E) : set   0       & get   1 int  
  ap_auth_algs     (000F) : set   1 int   & get   0      
  getap_auth_algs  (000F) : set   0       & get   1 int  
  allow_fcserr     (0010) : set   1 int   & get   0      
  getallow_fcserr  (0010) : set   0       & get   1 int  
  host_encrypt     (0011) : set   1 int   & get   0      
  gethost_encrypt  (0011) : set   0       & get   1 int  
  host_decrypt     (0012) : set   1 int   & get   0      
  gethost_decrypt  (0012) : set   0       & get   1 int  
  busmaster_rx     (0013) : set   1 int   & get   0      
  getbusmaster_rx  (0013) : set   0       & get   1 int  
  busmaster_tx     (0014) : set   1 int   & get   0      
  getbusmaster_tx  (0014) : set   0       & get   1 int  
  host_roaming     (0015) : set   1 int   & get   0      
  gethost_roaming  (0015) : set   0       & get   1 int  
  bcrx_sta_key     (0016) : set   1 int   & get   0      
  getbcrx_sta_key  (0016) : set   0       & get   1 int  
  ieee_802_1x      (0017) : set   1 int   & get   0      
  getieee_802_1x   (0017) : set   0       & get   1 int  
  antsel_tx        (0018) : set   1 int   & get   0      
  getantsel_tx     (0018) : set   0       & get   1 int  
  antsel_rx        (0019) : set   1 int   & get   0      
  getantsel_rx     (0019) : set   0       & get   1 int  
  monitor_type     (001A) : set   1 int   & get   0      
  getmonitor_type  (001A) : set   0       & get   1 int  
  wds_type         (001B) : set   1 int   & get   0      
  getwds_type      (001B) : set   0       & get   1 int  
  hostscan         (001C) : set   1 int   & get   0      
  gethostscan      (001C) : set   0       & get   1 int  
  ap_scan          (001D) : set   1 int   & get   0      
  getap_scan       (001D) : set   0       & get   1 int  
  enh_sec          (001E) : set   1 int   & get   0      
  getenh_sec       (001E) : set   0       & get   1 int  
  basic_rates      (0020) : set   1 int   & get   0      
  getbasic_rates   (0020) : set   0       & get   1 int  
  oper_rates       (0021) : set   1 int   & get   0      
  getoper_rates    (0021) : set   0       & get   1 int  
  hostapd          (0022) : set   1 int   & get   0      
  gethostapd       (0022) : set   0       & get   1 int  
  hostapd_sta      (0023) : set   1 int   & get   0      
  gethostapd_sta   (0023) : set   0       & get   1 int  
  wpa              (0024) : set   1 int   & get   0      
  getwpa           (0024) : set   0       & get   1 int  
  privacy_invoked  (0025) : set   1 int   & get   0      
  getprivacy_invo  (0025) : set   0       & get   1 int  
  tkip_countermea  (0026) : set   1 int   & get   0      
  gettkip_counter  (0026) : set   0       & get   1 int  
  drop_unencrypte  (0027) : set   1 int   & get   0      
  getdrop_unencry  (0027) : set   0       & get   1 int  
  scan_channels    (0028) : set   1 int   & get   0      
  getscan_channel  (0028) : set   0       & get   1 int
When I try to load the firmware, I recieve this message:

Code:
#modprobe hostap_cs
#hostap_fw_load wlan0

Downloading Primary Firmware /etc/firmware/pm010102.HEX
'/etc/firmware/pm010102.HEX' not readable.
Parsing '/etc/firmware/pm010102.HEX' failed.
However I can verify that the files are indeed there:

Code:
#cd /etc/firmware
#ls -l

total 216
  0 FilesList.txt
 16 pm010101.hex
 16 pm010102.hex
184 rf010804.hex
So that brings me to my questions:

1) Could this be caused because Orinoco drivers were priviously loaded on this box?

2) Could this be a problem with Slackware?

I found one link(can't post it yet) to a patch for the hostap driver at this but I don't know how to make the patch...

You can find the patch by googling the hostap_fw_load output.

3) Do you think the patch would point out the problem?

Thanks
 
Old 02-02-2006, 12:14 AM   #2
BrianW
Member
 
Registered: Jul 2003
Location: Montana
Posts: 297

Rep: Reputation: Disabled
Wow, it looks like HostAP has changed since I last used it.
It seems like the permissions are set incorrectly on your firmware. Try chmod +r /etc/firmware/pm010102.HEX and see what happens.
 
Old 02-02-2006, 12:38 AM   #3
xumvaulter
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Oops...should have mentioned that.

I also tried setting the permissions but still got nothing.

Any other ideas?
 
Old 02-02-2006, 01:26 AM   #4
BrianW
Member
 
Registered: Jul 2003
Location: Montana
Posts: 297

Rep: Reputation: Disabled
Edit hostap_fw_load, find where its loading the firmware file and make sure its pm010102.hex not pm010102.HEX
The firmware loading is case sensitive.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack 10.1 -- Mouse issue / X11 issue Pozican Linux - General 4 04-19-2005 03:44 AM
slack 10.1 - video issue djjosephk Linux - Hardware 5 02-24-2005 03:32 PM
Slack 9.1 Networking issue Diminished7th Linux - Networking 2 07-06-2004 12:56 AM
Slack 9.1 / ADSL issue Cyclops Slackware 4 10-25-2003 08:10 AM
cpu issue w/ slack 9.0 RIgimp75 Slackware 8 06-16-2003 09:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 11:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration