hostap setup problem
Alex Wu
awu
Tue Apr 29 12:12:45 PDT 2003
Hi,
Thanks for your help. Following your suggestions, I did not
see error message as reported last time.
ioctl(SIOCGIFINDEX): No such device
ioctl[SIOCGIFFLAGS]: No such device
It now complained a problem while setting ssid at startup.
/ # hostapd /etc/hostapd.conf
Opening raw packet socket for ifindex 11
Using interface wlan0ap with hwaddr 00:02:6f:03:dc:4f and ssid 'test'
ioctl[SIOCSIWESSID]: Invalid argument
len=5
Could not set SSID for kernel driver
I searched the mailing list archive, and found an article
http://hostap.epitest.fi/hostap/2002-06/0761.html
seems to be related, I tried the patch to the device driver,
but it stills complained the same problem.
My board CPU is Intel IXP425, HostAP card is Prism2.
Thanks in advance,
-Alex
Jeff Omick wrote:
>
> You need to re-compile with the EXTRA_CFLAG option
> in the README.prism2 file.
>
> Host AP configuration for IEEE 802.1X
> -------------------------------------
>
> Host AP driver includes and Authenticator implementation in the user
> space daemon. When using this Authenticator, the driver needs to be
> compiled for user space management functionality, i.e., with
> PRISM2_HOSTAPD defined. This is not the default option, so an
> additional configuration is needed. This can be added by editing
> driver/modules/hostap_config.h, or more easily by using EXTRA_CFLAGS
> definition:
>
> make pccard EXTRA_CFLAGS="-DPRISM2_HOSTAPD"
>
> After this, the kernel driver should be installed and the kernel
> modules loaded to initialize the wireless LAN card. In addition, the
> user space daemon needs to be build:
>
> cd hostapd
> make
>
> Hope this helps
> Jeff
>
>
>
> Alex Wu wrote:
>
>> Hi,
>>
>> I've compiled and installed the most recent hostap driver
>> for the Prism card on Intel XP425. It seems to start up fine.
>> I do not have iwconfig/iwpriv for the target platform.
>>
>> I have two problems:
>> 1)hostap_diag -b wlan0 complains:
>> ioctl[PRISM2_IOCTL_READMIF]: Invalid argument
>>
>> The information returned from hostap_diag is:
>>
>> # hostap_diag wlan0
>> Host AP driver diagnostics information for 'wlan0'
>>
>> NICID: id=0x8013 v1.0.0 (PRISM II (2.5) Mini-PCI (SST parallel flash))
>> PRIID: id=0x0015 v1.1.0
>> STAID: id=0x001f v1.4.9 (station firmware)
>>
>> 2)I cannot start hostapd, it complains:
>> ioctl(SIOCGIFINDEX): No such device
>> ioctl[SIOCGIFFLAGS]: No such device
>> then exits.
>>
>> What are the solutions?
>>
>> Thanks in advance,
>> -Alex
>>
>>
>>
>>
>> _______________________________________________
>> HostAP mailing list
>> HostAP at shmoo.com
>> http://lists.shmoo.com/mailman/listinfo/hostap
>>
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>
More information about the Hostap
mailing list