Problem with Hostap Can Connect to Wlan but can't exchange data

Jar jar at pcuf.fi
Wed Jan 4 09:50:01 EST 2006


internetscout at arcor.de wrote:

> I want to build up an Accesspoint with Cabletron Roamabout PCMCIA Card. This access Point should not have an Encryption or Authentification I want to use an Open System. I use the Orinoco Driver(0.15rc4) and Hostap Driver in Kernel 2.6.15rc7. I use an Gentoo Linux.  
> I also Tried the Host Ap Driver 0.4.7 and the Orinoco Driver 0.15rc3. Now I use hostapd in 0.5 before I used 0.4.7.

Hostap_cs driver doesn't support Cabletron Roamabout PCMCIA card, it is 
supported by orinoco_cs. But orinoco_cs can't act as accesspoint.

> pccard: PCMCIA card inserted into slot 0
> cs: memory probe 0xd0200000-0xd05fffff: excluding 0xd0200000-0xd023ffff
> pcmcia: registering new device pcmcia0.0
> 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 = 0x0046, io.base=0x0000, len=64
> hostap_cs: Registered netdevice wifi0
> hostap_cs: index 0x01: Vcc 5.0, irq 3, io 0x4100-0x413f
> prism2_hw_init: initialized in 40 ms
> wifi0: NIC: id=0x01 v4.0.1
> wifi0: PRI: id=0x15 v4.0.1
> wifi0: STA: id=0x1f v6.4.1

Here you load hostap_cs driver for orinoco card, but it can't work.

> orinoco 0.15rc4 (David Gibson <hermes at gibson.dropbear.id.au>, Pavel Roskin <proski at gnu.org>, et al)
> orinoco_cs 0.15rc4 (David Gibson <hermes at gibson.dropbear.id.au>, Pavel Roskin <proski at gnu.org>, et al)
> pcmcia: registering new device pcmcia0.1

Here you load orinoco_cs for same hardware which works if hostap_cs is 
not loaded but not as accesspoint.

> Dmesg Then I  Start hostapd
> wifi0: enabling hostapd mode
> wifi0: registered netdevice wlan0ap
> wlan0: CMD=0x0121 => res=0x7f, resp0=0x0004
> wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc82, len=2)
> wlan0: failed to restore fragmentation threshold (-2) after Port0 enable
> wifi0: LinkStatus=1 (Connected)

You have to find a prism based wlan card if you want to do AP with the 
hostap driver.

-- 
Best Regards, Jar



More information about the HostAP mailing list