From: Sam Holden (sholden_at_cs.usyd.edu.au)
Date: 2002-09-05 15:40:24 UTC
Jouni Malinen writes:
>On Wed, Sep 04, 2002 at 05:56:29PM -0700, Calvin Fang wrote:
>> I could use "iwconfig wlan0" to view the data. but when I run
>> iwconfig wlan0 essid XXXX
>> iwconfig wlan0 channel X
>> I always got "SIOCSIWXXXX: Operation not permitted".
>You did this as root, right? Get ioctls do not require root privileges
>(except WEP key reading), but set ioctls do. Assuming you get this even
>with root account, please check 'dmesg' output after unsuccessful
>iwconfig operation. Driver should write some debug info about the failed
>operation that might help in finding out the reason for this.
I have what appears to be the same problem, and it occurs when running iwconfig as root.
# iwconfig wlan0 essid XXXX
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlan0 ; Operation not permitted.
No extra output is produced by dmesg after executing that command.
-- Sam Simple rule: include files should never include include files. --Rob Pike