Problems with hostap on Gentoo 2005.0 workstation using PCMCIA->PCI adapter

Brent Vukmer brent.vukmer
Mon Apr 11 07:48:58 PDT 2005

Hi.  I can't seem to get hostap up and running on my Gentoo 2005.0
installation. This Gentoo installation is on a dual-processor Xeon
workstation (PowerEdge 1600SC).  I'm using a PCMCIA card in a PCI
adaptor (both from NetGate).  The PCMCIA card is the Netgate 2511CD
PLUS EXT2, which is supposed to be using the Intersil Prism 2.5

Is anybody else on the list using hostap on a similar setup?   I just
want to use hostap to provide 'monitor' mode for Kismet; I'm not
trying to provide an access point.

When I insert the PCMCIA card into the PCI adapter, I get the message
"cardmgr[8865]: bind 'hostap' to socket 0 failed: Invalid argument".
When I eject the PCMCIA card, I get the message
"cardmgr[5483]: + FATAL: Module hostap is in use.".

When I built the kernel, I enabled Network device support -> Wireless
LAN (non-hamradio).
I emerged pcmcia-cs, hostap-driver and hostap-utils, and added hostap,
hostap_plx, hostap_pci, etc. to modules.autoload.  I edited
/etc/pcmcia/config.opts to include a "device" entry for hostap and a
"card" entry bound to the cardctl info and hostap.
I created /etc/modules.d/hostap (which contains the line "alias  wlan0
hostap"), ran modules-update and did "kill -HUP `cat
/var/run/` before ejecting and inserting the card.

I'm a bit confused because the hostap README refers to a "hostap_cs"
module but I don't see that in lsmod output.  Also the hostap README
refers to an /etc/hostap_cs.conf file, which I don't see in my /etc
directory.  Finally the hostap documentation talks about a wifi0 and a
wlan0 device, which I don't see via ifconfig or iwconfig.

vux root # cardctl ident
Socket 0:
 product info: "INTERSIL", "HFA384x/IEEE", "Version
01.02", ""
 manfid: 0x0156, 0x0002
 function: 6 (network)

vux root # cardctl status
Socket 0:
 3.3V 16-bit PC Card
 function 0: [ready]

vux root # lspci
0000:00:00.0 Host bridge: ServerWorks GCNB-LE Host
Bridge (rev 32)
0000:00:00.1 Host bridge: ServerWorks GCNB-LE Host
0000:00:02.0 Ethernet controller: Intel Corporation
82540EM Gigabit Ethernet Controller (rev 02)
0000:00:06.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev
0000:00:0e.0 VGA compatible controller: ATI
Technologies Inc Rage XL (rev 27)
0000:00:0f.0 Host bridge: ServerWorks CSB5 South
Bridge (rev 93)
0000:00:0f.1 IDE interface: ServerWorks CSB5 IDE
Controller (rev 93)
0000:00:0f.2 USB Controller: ServerWorks OSB4/CSB5
OHCI USB Controller (rev 05)
0000:00:0f.3 ISA bridge: ServerWorks CSB5 LPC bridge
0000:00:10.0 Host bridge: ServerWorks CIOB-X2 PCI-X
I/O Bridge (rev 03)
0000:00:10.2 Host bridge: ServerWorks CIOB-X2 PCI-X
I/O Bridge (rev 03)

vux root # lsmod
Module                  Size  Used by
pcmcia                 22036  2
yenta_socket           21256  2
rsrc_nonstatic         10240  1 yenta_socket
hostap_crypt_tkip      12288  0
hostap_crypt_ccmp      16256  0
hostap_crypt_wep        6528  0
hostap_plx             57112  0
hostap_pci             54928  0
hostap                116872  5

vux root # cat /etc/pcmcia/config.opts | grep -B 3 -A
2 hostap
#  HostAP Driver Configuration

device "hostap"
 class "network" module "hostap"

# Override config settings for our PCMCIA card
card "Netgate 2500 CDPLUS EXT2 200w"
 version "INTERSIL", "HFA384x/IEEE"
 bind "hostap"


Any help is much appreciated. 


More information about the Hostap mailing list