About shell script Error

imp imp at airlinktek.com
Thu Jun 12 03:10:37 EDT 2003


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 

+ACMAIQ-/bin/sh
iwconfig wlan0 mode Master
iwconfig wlan0 essid +ACI-BMT+ACI-
iwconfig wlan0 nick +ACI-Anygate Access Point+ACI-
iwconfig wlan0 channel 6
iwconfig wlan0 key off
iwconfig wlan0 rts 2347
iwconfig wlan0 frag 2346
iwconfig wlan0 rate auto
iwpriv wlan0 prism2+AF8-param 3 100
iwpriv wlan0 prism2+AF8-param 11 3
iwpriv wlan0 prism2+AF8-param 2 0
iwpriv wlan0 prism2+AF8-param 10 1
iwpriv wlan0 prism2+AF8-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+AFs-PRISM2+AF8-IOCTL+AF8-PRISM2+AF8-PARAM+AF0-: Invalid argument
Could not setup host-based encryption in kernel driver.
IEEE 802.1X initialization failed.
Set Wireless..
Error for wireless request +ACI-Set ESSID+ACI- (8B1A) :
    SET failed on device wlan0 +ADs- Invalid argument.
Error for wireless request +ACI-Set Nickname+ACI- (8B1C) :
    SET failed on device wlan0 +ADs- Invalid argument.
Error for wireless request +ACI-Set Frequency+ACI- (8B04) :
    SET failed on device wlan0 +ADs- Invalid argument.
Error for wireless request +ACI-Set Encode+ACI- (8B2A) :
    SET failed on device wlan0 +ADs- Invalid argument.
Error for wireless request +ACI-Set RTS Threshold+ACI- (8B22) :
    SET failed on device wlan0 +ADs- Invalid argument.
Error for wireless request +ACI-Set Fragmentation Threshold+ACI- (8B24) :
    SET failed on device wlan0 +ADs- Invalid argument.
wlan0: TXRateControl/cnfSupportedRates setting to 0xf failed
Interface doesn't accept private ioctl...
prism2+AF8-param (8BE0): Invalid argument
Interface doesn't accept private ioctl...
prism2+AF8-param (8BE0): Invalid argument
wlan0: cnfEnhSecurity requires STA f/w 1.6.3 or newer
Interface doesn't accept private ioctl...
prism2+AF8-param (8BE0): Operation not supported
Sysinit done





More information about the HostAP mailing list