About shell script Error
Jiri Fojtasek
jiri.fojtasek
Thu Jun 12 12:35:10 PDT 2003
imp wrote:
>Dear all..
>
>I have some stranger situation.... my test situation is
>
>turn on hostap box then association notebook to it. then, reboot hostap box..
>Then STA loss link of hostap SSID, and try again and again while hostap booting...
>After hostap boot, I run flowing shell script, then almost all case the shell script give me following error
>
>my script is
>
>#!/bin/sh
>iwconfig wlan0 mode Master
>iwconfig wlan0 essid "BMT"
>iwconfig wlan0 nick "Anygate Access Point"
>iwconfig wlan0 channel 6
>iwconfig wlan0 key off
>iwconfig wlan0 rts 2347
>iwconfig wlan0 frag 2346
>iwconfig wlan0 rate auto
>iwpriv wlan0 prism2_param 3 100
>iwpriv wlan0 prism2_param 11 3
>iwpriv wlan0 prism2_param 2 0
>iwpriv wlan0 prism2_param 10 1
>iwpriv wlan0 prism2_param 30 0
>
>and the hostap result is (while STA try to associat it)
>Configuration file: /etc/hostapd.conf
>Opening raw packet socket for ifindex 6
>Using interface wlan0ap with hwaddr 00:50:c2:15:2f:28 and ssid 'MYHOSTAP'
>wlan0: RADIUS Authentication server 192.168.0.85:1812
>
>wlan0: RADIUS Accounting server 192.168.0.85:1813
>
>ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
>Could not setup host-based encryption in kernel driver.
>IEEE 802.1X initialization failed.
>Set Wireless..
>Error for wireless request "Set ESSID" (8B1A) :
> SET failed on device wlan0 ; Invalid argument.
>Error for wireless request "Set Nickname" (8B1C) :
> SET failed on device wlan0 ; Invalid argument.
>Error for wireless request "Set Frequency" (8B04) :
> SET failed on device wlan0 ; Invalid argument.
>Error for wireless request "Set Encode" (8B2A) :
> SET failed on device wlan0 ; Invalid argument.
>Error for wireless request "Set RTS Threshold" (8B22) :
> SET failed on device wlan0 ; Invalid argument.
>Error for wireless request "Set Fragmentation Threshold" (8B24) :
> SET failed on device wlan0 ; Invalid argument.
>wlan0: TXRateControl/cnfSupportedRates setting to 0xf failed
>Interface doesn't accept private ioctl...
>prism2_param (8BE0): Invalid argument
>Interface doesn't accept private ioctl...
>prism2_param (8BE0): Invalid argument
>wlan0: cnfEnhSecurity requires STA f/w 1.6.3 or newer
>Interface doesn't accept private ioctl...
>prism2_param (8BE0): Operation not supported
>Sysinit done
>
>
>
>_______________________________________________
>HostAP mailing list
>HostAP at shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap
>
>
>
Hello
Try change in hostap_hw.c this define:
#define HFA384X_BAP_BUSY_TIMEOUT 5000
to
#define HFA384X_BAP_BUSY_TIMEOUT 10000
This have solved my problem and also some other error messages from
dmesg ...
Jiri
More information about the Hostap
mailing list