FAQ 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. Host AP driver - Frequently Asked Questions
  2. ===========================================
  3. 1. What does "GetNextTuple: No more items" mean in hostap_cs initialization?
  4. 2. Why RX does not work?
  5. What does "NETDEV WATCHDOG: wlan0: transmit timed out" mean?
  6. (interrupt delivery problems)
  7. 3. What is wrong with Host AP mode in secondary (station) firmware v1.4.2?
  8. 4. What is causing 'Unresolved symbols' in depmod/modprobe?
  9. 5. How can I upgrade Prism2/2.5/3 firmware?
  10. 6. Why did I get two network interfaces (wlan0 and wifi0) even when I have
  11. only one wireless card?
  12. 7. Why does my D-Link DWL-650 rev. P1 or D-Link DWL-520 rev. E1 (or any other
  13. card with small flash) card fail?
  14. 8. Does Host AP driver support IEEE 802.11a and 802.11g? Does it support
  15. chipsets other than Prism 2/2.5/3?
  16. 1. What does "GetNextTuple: No more items" mean in hostap_cs initialization?
  17. This is one of the most often reported problems in getting the
  18. hostap_cs.o driver working. It is usually reported for D-Link DWL-650
  19. PC Card, e.g., on ISA-to-PCMCIA adapter. Later versions of the driver
  20. report this also with "Vcc mismatch - skipping this entry".
  21. Most common reason for getting this is a mismatch in voltage
  22. configuration. The driver tries to make sure that the voltage (Vcc)
  23. configuration in CIS and the slot match each other. It refuses to
  24. initialize the card if the card CIS does not include a CFTABLE entry
  25. with a matching Vcc value. This seems to be a problem for some cases
  26. since the CIS is invalid or the reported voltage is incorrect.
  27. As a workaround, the driver supports a module parameter ignore_cis_vcc
  28. that can be used to skip this verification. This can be enabled by
  29. setting ignore_cis_vcc=1 in /etc/pcmcia/hostap_cs.conf (commented
  30. example line in the end of file). This can also be tested by manually
  31. loading the module with 'modprobe hostap_cs ignore_cis_vcc=1' before
  32. inserting the card).
  33. 2. Why RX does not work?
  34. What does "NETDEV WATCHDOG: wlan0: transmit timed out" mean?
  35. (interrupt delivery problems)
  36. If the driver does not seem to receive any packets or sending packets
  37. results in "NETDEV WATCHDOG: wlan0: transmit timed out", the reason is
  38. probably in interrupt delivery problems. This is quite common with
  39. PCI-to-PCMCIA adapters. Newer than 2002-05-19 of the driver have a
  40. test that will report this after the initialization ("wlan: Possible
  41. interrupt delivery problem"). Another method for checking this is to
  42. observer whether interrupt counters in /proc/interrupts increase for
  43. hostap_cs/wlan0 entry.
  44. Adding suitable irq_mode=# setting in PCIC_OPTS line of
  45. pcmcia-configuration is the most common fix for this. pcmcia-cs HOWTO
  46. has more information on how to debug and fix interrupt delivery
  47. problems at
  48. http://pcmcia-cs.sourceforge.net/ftp/doc/PCMCIA-HOWTO-5.html#irqmode
  49. 3. What is wrong with Host AP mode in secondary (station) firmware v1.4.2?
  50. It looks like secondary firmware v1.4.2 sends beacon frames properly,
  51. but does not respond to probe requests. With most station cards, this
  52. prevents authentication and association and thus, in practice, no data
  53. frames can be sent. It has been reported that at least some Cisco
  54. Aironet 350 cards can associate with Host AP mode even with firmware
  55. v1.4.2 (i.e., without receiving probe response), but Prism2 and
  56. Lucent/ORiNOCO/Agere seem to require probe response and they do not
  57. thus associate with AP using v1.4.2 firmware.
  58. This is fixed in later secondary firmware versions; probably already
  59. in 1.4.3, but at least 1.4.9 has been tested to work. In other words,
  60. this problem can be fixed by upgrading card firmware.
  61. 4. What is causing 'Unresolved symbols' in depmod/modprobe?
  62. Installation of Host AP driver (e.g, 'make install_pccard') may report
  63. unresolved symbols when running depmod. These are usually caused with
  64. mismatch in kernel configuration for modversions.
  65. Example:
  66. depmod reports unresolved symbol 'eth_type_trans' (this is without
  67. modversions):
  68. depmod: eth_type_trans
  69. but kernel was really configured with CONFIG_MODVERSIONS:
  70. # grep eth_type_trans /proc/ksyms
  71. c01b66c0 eth_type_trans_Rdb9cd26f
  72. (notice the _R... postfix)
  73. This happens if the kernel configuration given to Host AP driver's
  74. Makefile (.config in KERNEL_PATH) has not CONFIG_MODVERSIONS, but the
  75. running kernel is compiled with it.
  76. If the kernel were configured without modversions, /proc/ksyms would
  77. show the symbols with _R... postfix:
  78. Mismatches in kernel configuration can be fixed by using the same
  79. configuration (i.e., Linux kernel .config) for both the kernel and the
  80. driver. If you are using a kernel from a distribution installation
  81. (i.e., you have not compiled it yourself), you will need to create a
  82. matching .config file somehow. This depends on the distribution you
  83. are using, but 'make oldconfig' in kernel source directory might work
  84. with some distributions. If you compile the kernel yourself, it will
  85. be easier, since you already have to have created the correct .config
  86. file.
  87. 5. How can I upgrade Prism2/2.5/3 firmware?
  88. Prism2/2.5/3 cards and Host AP driver support two different mechanism
  89. of upgrading the card firmware. Firmware images (primary and station)
  90. can be downloaded either into volatile memory (RAM download) or
  91. non-volatile memory (flash upgrade). Firmware images downloaded into
  92. volatile memory are lost when the card is resetted, so they are quite
  93. safe. Flash upgrade with incorrect images may cause permanent problems
  94. (i.e., render the card useless), so certain amount of caution is
  95. always recommended for this.
  96. Note! Some of the older versions of Host AP driver or prism2_srec had
  97. fatal bugs in flash upgrade. Only versions 0.1.0 or newer should be
  98. used when performing non-volatile flash upgrade!
  99. utils/prism2_srec (run 'make' in utils directory to build this) is a
  100. tool that can be instructed Host AP driver to download firmware image
  101. into the wlan card. Brief usage information is available by running
  102. this program without any command line parameters. Please note, that
  103. the downloading support is disabled in the default Host AP driver
  104. build. You will need to change this by defining
  105. PRISM2_DOWNLOAD_SUPPORT (and PRISM2_NON_VOLATILE_DOWNLOAD if you want
  106. to update flash); see driver/modules/hostap_config.h for more details.
  107. Jun Sun has written a mini-howto on flashing Intersil Prism
  108. Chipsets. This is available at http://linux.junsun.net/intersil-prism/.
  109. 6. Why did I get two network interfaces (wlan0 and wifi0) even when I have
  110. only one wireless card?
  111. Host AP driver supports multiple virtual interfaces per wireless
  112. card. wifi0 is the master radio interface and wlan0 is the first
  113. virtual interface for this radio. Other virtual interfaces are wlan0ap
  114. (for hostapd), and one interface per WDS link.
  115. In most cases, one should ignore wifi0 interface and just use wlan0
  116. interface. In other words, assign IP address to wlan0, not wifi0 and
  117. in general, just ignore the wifi0 interface.
  118. 7. Why does my D-Link DWL-650 rev. P1 or D-Link DWL-520 rev. E1 (or any other
  119. card with small flash) card fail?
  120. Some of the new Prism3-based cards use a smaller flash chip that does
  121. not include full firmware for the card. For example, D-Link DWL-650
  122. rev. P1 and D-Link DWL-520 rev. E1 are such cards. These cards require
  123. that the firmware is downloaded to the card during initialization. See
  124. utils/hostap_fw_load for example commands on doing this.
  125. 8. Does Host AP driver support IEEE 802.11a and 802.11g? Does it support
  126. chipsets other than Prism 2/2.5/3?
  127. Host AP driver supports only Intersil Prism chipsets, versions 2, 2.5,
  128. and 3. Those chipsets support IEEE 802.11b only; other chipsets are
  129. not supported. All utilities distributed with Host AP driver except
  130. wpa_supplicant work only with Host AP driver, so they are limited to
  131. the same hardware. wpa_supplicant works with other drivers, including
  132. those that support 802.11a and 802.11g.